{"id":"CVE-2026-123009","state":"PUBLISHED","title":"Gitea base repository code disclosure through the web editor in forks","description":"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.","publishedAt":"2026-11-15T21:13:59.232Z","updatedAt":"2026-11-16T21:43:10.621Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","source":"CISA-ADP"},"assigner":"Gitea","products":["Gitea Gitea"],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"1.25.0","status":"affected","lessThan":"28.4.0","versionType":"semver"}]}],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-9vh6-6hgj-j5m5","https://github.com/go-gitea/gitea/pull/40131","https://github.com/go-gitea/gitea/pull/40281","https://blog.gitea.com/release-of-28.4.0/","https://github.com/go-gitea/gitea/releases/tag/v28.4.0"],"weaknesses":["CWE-284","CWE-863"],"ingestedAt":"2026-11-16T21:46:06.068Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/123xxx/CVE-2026-123009.json","commit":"5e198cbe905d33b845c31d5bc39d8290ba1ab9cd","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-123009","state":"PUBLISHED","datePublished":"2026-11-15T21:13:59.232Z","dateUpdated":"2026-11-16T21:43:10.621Z","assignerShortName":"Gitea","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateReserved":"2026-11-15T20:29:37.634Z"},"containers":{"cna":{"title":"Gitea base repository code disclosure through the web editor in forks","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"1.25.0","status":"affected","lessThan":"28.4.0","versionType":"semver"}]}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-9vh6-6hgj-j5m5","name":"GitHub Security Advisory GHSA-9vh6-6hgj-j5m5","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/40131","name":"Fix: go-gitea/gitea pull request #40131","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/pull/40281","name":"Fix backport to release/v28: go-gitea/gitea pull request #40281","tags":["patch"]},{"url":"https://blog.gitea.com/release-of-28.4.0/","name":"Gitea 28.4.0 release announcement","tags":["release-notes"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.4.0","name":"go-gitea/gitea v28.4.0 release","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","lang":"en","type":"CWE","description":"CWE-284: Improper Access Control"},{"cweId":"CWE-863","lang":"en","type":"CWE","description":"CWE-863: Incorrect Authorization"}]}],"providerMetadata":{"shortName":"Gitea","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateUpdated":"2026-11-15T21:13:59.232Z"},"credits":[{"lang":"en","value":"https://github.com/adamyordan","type":"reporter"},{"lang":"en","value":"https://github.com/silverwind","type":"remediation developer"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":4.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-11-16T21:43:06.730742Z","id":"CVE-2026-123009","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":"2026-11-16T21:43:10.621Z"}}]}}}