# CVE-2026-24791: Public-only tokens bypass private-resource restrictions on \`/api/v1/user\` self routes

- Priority: **Routine**
- Reason: Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-13 · Modified: 2026-08-13
- Aliases: GHSA-wrr5-99h5-gq57, GO-2026-5721
- Record: https://cvemate.com/vulnerability/CVE-2026-24791 · JSON: https://cvemate.com/vulnerability/CVE-2026-24791/json

## Description

```text
Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes
```

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.314%, percentile 26.161%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea open source git server: ≥ 1.22.3, ≤ 1.26.1
- code.gitea.io gitea (Go): ≥ 1.22.3, \< 1.26.2

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-wrr5-99h5-gq57>
- <https://github.com/go-gitea/gitea/pull/37118>
- <https://github.com/go-gitea/gitea/releases/tag/v1.26.2>
- <https://blog.gitea.com/release-of-1.26.2/>
- <https://github.com/go-gitea/gitea>

---

Data as of 2026-12-05T18:19:23.845Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
