high8.1
CVE-2026-24791
Gitea: Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes
Impact
Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | >= 1.22.3, <= 1.26.1 | 1.26.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-wrr5-99h5-gq57
- https://github.com/go-gitea/gitea/security/advisories/GHSA-wrr5-99h5-gq57
- https://blog.gitea.com/release-of-1.26.2/
- https://github.com/go-gitea/gitea/pull/37118
- https://github.com/go-gitea/gitea/releases/tag/v1.26.2