Description
In Gitea before 1.25.2, /api/v1/user has different responses for failed authentication depending on whether a username exists.
Affected products
gitea: gitea
References4
- github.com/go-gitea/gitea/pull/36002 Issue TrackingPatch
- blog.gitea.com/release-of-1.25.2/ Release Notes
- github.com/go-gitea/gitea/issues/35984 Issue Tracking
- github.com/go-gitea/gitea/releases/tag/v1.25.2 Release Notes
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - EPSS — exploit probability
- 0% percentile: 33 · as of 11 November 2026
- CWE
- CWE-204
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.