CVE-2026-24791 Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes
HighCVSS 8.1
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
Public-only tokens bypass private-resource restrictions on /api/v1/user self routes
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| code.gitea.io/gitea(Go) | >= 1.22.3, < 1.26.2; >= 1.22.3, <= 1.26.1 | 1.26.2 | Fixed |
| Gitea Open Source Git Server | >= 1.22.3, <= 1.26.1 | after 1.26.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea Open Source Git Server | >= 1.22.3, <= 1.26.1 | No fix listed |
| code.gitea.io/gitea(Go) | >= 1.22.3, < 1.26.2 | 1.26.2 |
| code.gitea.io/gitea(Go) | >= 1.22.3, <= 1.26.1 | No fix listed |
References
- GitHub Security Advisory exploit vendor-advisory
- GitHub Pull Request #37118 patch
- Gitea v1.26.2 Release release-notes
- Gitea v1.26.2 Release Blog Post release-notes
- github.com product
- github.com
- ENISA EUVD EUVD-2026-58127 third-party-advisory