{"id":"CVE-2026-123009","summary":"Gitea base repository code disclosure through the web editor in forks","details":"When a file is edited in a fork through the web editor, Gitea can first copy a branch from the base repository into the fork. That copy did not check whether the user may read the base repository's code. A user who had forked a repository and later lost access to it, for example after it was made private or they were removed as a collaborator, could keep copying its current branches into their fork and read them. The copy now requires read access to the code of the base repository.","aliases":["GHSA-9vh6-6hgj-j5m5"],"modified":"2026-11-17T20:45:53.889111583Z","published":"2026-11-15T21:13:59.232Z","database_specific":{"cna_assigner":"Gitea","cwe_ids":["CWE-284","CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123009.json"},"references":[{"type":"ADVISORY","url":"https://blog.gitea.com/release-of-28.4.0/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123009.json"},{"type":"ADVISORY","url":"https://github.com/go-gitea/gitea/releases/tag/v28.4.0"},{"type":"ADVISORY","url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-9vh6-6hgj-j5m5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123009"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/40131"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/40281"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/go-gitea/gitea","events":[{"introduced":"cf644d565d09d1592526919f7eabbb683f5d83ae"},{"fixed":"0b5dfdeeeaadf6350314246c5936b53cce38170c"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"1.25.0"},{"fixed":"28.4.0"}]},{"original_tag":"v28.4.0","range":[{"fixed":"0b5dfdeeeaadf6350314246c5936b53cce38170c"}],"source":"REFERENCES_TAG"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123009.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}