CVE-2026-24791
Gitea: Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes in code.gitea.io/gitea
8.1
HIGH
CVSS 3.1
Description
Gitea: Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes in code.gitea.io/gitea
How to fix CVE-2026-24791
To remediate CVE-2026-24791, upgrade the affected package to a fixed version below.
- Go/code.gitea.io/gitea—upgrade to 1.26.2 or later
- Go/code.gitea.io/gitea—upgrade to 1.26.2 or later
Is CVE-2026-24791 being exploited?
No exploitation signal available. Neither CISA KEV nor a current EPSS score has been published for CVE-2026-24791.
Affected packages (2)
- >= 1.22.3, < 1.26.2
- >= 1.22.3, < 1.26.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |