{"id":"CVE-2026-123009","aliases":["CVE-2026-123009"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea base repository code disclosure through the web editor in forks","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-15T21:13:59.232Z","modified":"2026-11-16T22:18:15.447Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-284","CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"1.25.0","fixed":"28.4.0","status":"affected"}],"vendor":"Gitea","product":"Gitea","package":"gitea.dev","source":"cvelist"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-9vh6-6hgj-j5m5","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/40131","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/40281","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://blog.gitea.com/release-of-28.4.0/","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.4.0","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":["https://github.com/adamyordan","https://github.com/silverwind"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-16T21:43:06.730Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-123009","url":"https://www.cve.org/CVERecord?id=CVE-2026-123009","licence":"CVE Terms of Use","modified":"2026-11-16T21:43:10.621Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-123009","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123009","licence":"Public domain","modified":"2026-11-16T22:18:15.447Z"}],"updatedAt":"2026-11-25T22:59:50.837Z","epss":{"score":0.00338,"percentile":0.29165,"date":"2026-12-01T12:00:22.000Z"}}