{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-123009","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","state":"PUBLISHED","assignerShortName":"Gitea","dateReserved":"2026-11-15T20:29:37.634Z","datePublished":"2026-11-15T21:13:59.232Z","dateUpdated":"2026-11-15T21:13:59.232Z"},"containers":{"cna":{"providerMetadata":{"orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","shortName":"Gitea","dateUpdated":"2026-11-15T21:13:59.232Z"},"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":[{"lang":"en","type":"CWE","cweId":"CWE-284","description":"CWE-284: Improper Access Control"},{"lang":"en","type":"CWE","cweId":"CWE-863","description":"CWE-863: Incorrect Authorization"}]}],"credits":[{"lang":"en","value":"https://github.com/adamyordan","type":"reporter"},{"lang":"en","value":"https://github.com/silverwind","type":"remediation developer"}]}}}