{"id":"CVE-2025-68941","state":"PUBLISHED","title":"Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.","description":"Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.","publishedAt":"2025-12-26T02:31:59.031Z","updatedAt":"2025-12-26T19:31:33.303Z","severity":{"score":4.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","source":"mitre"},"assigner":"mitre","products":["Gitea Gitea"],"affected":[{"vendor":"Gitea","product":"Gitea","packageURL":"pkg:golang/code.gitea.io/gitea","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.22.3","versionType":"semver"}]}],"references":["https://blog.gitea.com/release-of-1.22.3/","https://github.com/go-gitea/gitea/releases/tag/v1.22.3","https://github.com/go-gitea/gitea/pull/32218"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68941.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68941","state":"PUBLISHED","datePublished":"2025-12-26T02:31:59.031Z","dateUpdated":"2025-12-26T19:31:33.303Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-12-26T02:31:58.775Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources."}],"affected":[{"vendor":"Gitea","product":"Gitea","packageURL":"pkg:golang/code.gitea.io/gitea","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.22.3","versionType":"semver"}]}],"references":[{"url":"https://blog.gitea.com/release-of-1.22.3/"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.22.3"},{"url":"https://github.com/go-gitea/gitea/pull/32218"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.9,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","description":"CWE-863 Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-12-26T18:58:12.663Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*","versionEndExcluding":"1.22.3"}]}]}],"x_generator":{"engine":"CVE-Request-form 0.0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-26T19:31:26.862350Z","id":"CVE-2025-68941","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-26T19:31:33.303Z"}}]}}}