{"id":"CVE-2025-68941","published":"2025-12-26T02:31:59Z","modified":"2025-12-26T19:31:33Z","title":"Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public…","vendor":"Gitea","product":"Gitea","tier":"tail","description":{"text":"Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00261,"percentile":0.18278,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://blog.gitea.com/release-of-1.22.3/","tags":[]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.22.3","tags":[]},{"url":"https://github.com/go-gitea/gitea/pull/32218","tags":[]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":3.66},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"gitea","affectedVersions":[{"vendor":"Gitea","product":"Gitea","versions":["< 1.22.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-26T19:31:26.862350Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"code.gitea.io/gitea","vulnerableRanges":["<1.22.3"],"patched":["1.22.3"],"from":["GHSA-xfq3-qj7j-4565","GO-2025-4268"],"provenance":"source"}],"summary":{"text":"Gitea versions before 1.22.3 contain an incorrect authorization flaw in how the server handles access to private resources when a request uses an API token whose scope is limited to public resources. Exploitation requires network access and a valid low-privileged account, with the attack complexity being high, and it can let an attacker read private repository data beyond what the token's scope should permit.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:03Z"},"euvd":{"id":"EUVD-2025-205408","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-gitea-cve-2025-68941","children":[{"from":"CVE-2025-68941","to":"CVE-2026-25714","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"Gitea versions up to and including 1.26.1 do not apply public-only token filtering consistently to the user organization API, leaving an incomplete fix for CVE-2025-68941.","from":"CVE.org","in":"CVE-2026-25714"}]}],"packageHistory":[{"cve":"CVE-2024-6886","published":"2024-08-06","fixed":"1.22.1","kev":false},{"cve":"CVE-2025-68942","published":"2025-12-26","fixed":"1.22.2","kev":false},{"cve":"CVE-2025-68944","published":"2025-12-26","fixed":"1.22.2","kev":false,"link":{"from":"CVE-2025-68944","to":"CVE-2025-68941","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:code.gitea.io/gitea","fromFixed":"1.22.2","toFixed":"1.22.3","daysApart":0}]}},{"cve":"CVE-2025-68941","published":"2025-12-26","fixed":"1.22.3","kev":false},{"cve":"CVE-2025-68940","published":"2025-12-26","fixed":"1.22.5","kev":false,"link":{"from":"CVE-2025-68941","to":"CVE-2025-68940","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:code.gitea.io/gitea","fromFixed":"1.22.3","toFixed":"1.22.5","daysApart":0}]}},{"cve":"CVE-2025-68939","published":"2025-12-26","fixed":"1.23.0-rc0","kev":false},{"cve":"CVE-2025-68938","published":"2025-12-26","fixed":"1.25.2","kev":false}],"package":"Go:code.gitea.io/gitea"}}