MEDIUM5.3
GO-2026-4274
Gitea's /api/v1/user endpoint has different responses for failed authentication depending on whether a username exists in code.gitea.io/gitea
Quick fix
GO-2026-4274 — code.gitea.io/gitea: upgrade to the fixed version with the command below.
go get code.gitea.io/gitea@v1.25.2Details
Gitea's /api/v1/user endpoint has different responses for failed authentication depending on whether a username exists in code.gitea.io/gitea
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/advisories/GHSA-pc73-rj2c-wvf9[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2025-69413[ADVISORY]
- https://blog.gitea.com/release-of-1.25.2[WEB]
- https://github.com/go-gitea/gitea/issues/35984[WEB]
- https://github.com/go-gitea/gitea/pull/36002[WEB]
- https://github.com/go-gitea/gitea/releases/tag/v1.25.2[WEB]