CVE-2025-68943 Gitea inadvertently discloses users' login times by allowing (for example) the lastlogintime explore/users sort order
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.
| Package | Affected | Fixed in |
|---|---|---|
code.gitea.io/gitea Go | All versions | 1.21.8 |
code.gitea.io/gitea Go | All versions | 1.21.8 |
code.gitea.io/gitea Go | All versions | 1.21.8 |
gitea Bitnami | All versions | 1.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.
Other vulnerabilities in Gitea Gitea
Sources
Also known as BIT-gitea-2025-68943, GHSA-jhx5-4vr4-f327, GO-2025-4266.