{"schema_version":"1.7.3","id":"GHSA-xfq3-qj7j-4565","published":"2025-12-26T03:30:15Z","modified":"2026-01-03T12:25:58.558942Z","aliases":["BIT-gitea-2025-68941","CVE-2025-68941","GO-2025-4268"],"summary":"Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources","details":"Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.","affected":[{"package":{"name":"code.gitea.io/gitea","ecosystem":"Go","purl":"pkg:golang/code.gitea.io/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.22.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-xfq3-qj7j-4565/GHSA-xfq3-qj7j-4565.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68941"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/32218"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.22.3"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases/tag/v1.22.3"}],"database_specific":{"cwe_ids":["CWE-863"],"github_reviewed":true,"github_reviewed_at":"2025-12-26T19:12:54Z","nvd_published_at":"2025-12-26T03:15:50Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}