CVE-2025-68943 Gitea inadvertently discloses users' login times by allowing (for example) the lastlogintime explore/users sort order

Medium 5.3 Published Updated

Gitea inadvertently exposes user login times via sort orders, allowing attackers to read sensitive user activity data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-68943?

CVE-2025-68943 is a medium-severity vulnerability in Gitea Gitea, published on 26 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Gitea before 1.21.8 inadvertently discloses users' login times by allowing (for example) the lastlogintime explore/users sort order.

Weakness: CWE-497

Which versions are affected by CVE-2025-68943?

4 open source packages ship an affected version, including code.gitea.io/gitea and gitea. It affects 1 product.

PackageAffectedFixed in
code.gitea.io/gitea GoAll versions1.21.8
code.gitea.io/gitea GoAll versions1.21.8
code.gitea.io/gitea GoAll versions1.21.8
gitea BitnamiAll versions1.21.8

Products include Gitea Gitea.

How do I fix CVE-2025-68943?

Upgrade code.gitea.io/gitea to 1.21.8 or later.

Is CVE-2025-68943 being exploited?

There is no known exploitation of CVE-2025-68943 in the wild and no public exploit code.

All Gitea Gitea vulnerabilities

Sources

Also known as BIT-gitea-2025-68943, GHSA-jhx5-4vr4-f327, GO-2025-4266.

Is CVE-2025-68943 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free