{"id":"CVE-2026-24791","summary":"Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes","details":"Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes","aliases":["GHSA-wrr5-99h5-gq57","GO-2026-5721"],"modified":"2026-08-15T11:45:48.354392665Z","published":"2026-08-13T16:48:52.255Z","related":["openSUSE-SU-2026:21483-1"],"database_specific":{"cna_assigner":"Gitea","cwe_ids":["CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24791.json"},"references":[{"type":"ADVISORY","url":"https://blog.gitea.com/release-of-1.26.2/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24791.json"},{"type":"ADVISORY","url":"https://github.com/go-gitea/gitea/releases/tag/v1.26.2"},{"type":"ADVISORY","url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-wrr5-99h5-gq57"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24791"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/37118"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/go-gitea/gitea","events":[{"introduced":"494017e4788d6defb5610ac68b9733fef5130f46"},{"fixed":"2c749ce548b1da0a52835861a87b888e67842d29"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"1.22.3"},{"last_affected":"1.26.1"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-24791.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}