Vulnerability advisory
CVE-2026-24791
Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes
Also known as GHSA-wrr5-99h5-gq57GO-2026-5721
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/go-gitea/gitea ↗ | |
| 494017e4788d6defb5610ac68b9733fef5130f46 to before 2c749ce548b1da0a52835861a87b888e67842d29 | 2c749ce548b1da0a52835861a87b888e67842d29 |
Description
Public-only tokens bypass private-resource restrictions on /api/v1/user self routes
References
- Advisoryblog.gitea.com/release-of-1.26.2/ ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24791.json ↗
- Advisorygithub.com/go-gitea/gitea/releases/tag/v1.26.2 ↗
- Advisorygithub.com/go-gitea/gitea/security/advisories/GHSA-wrr5-99h5-gq57 ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-24791 ↗
- Fixgithub.com/go-gitea/gitea/pull/37118 ↗