# CVE-2026-123009: Gitea base repository code disclosure through the web editor in forks

- Severity: Medium 4.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-11-15T21:13:59.232Z
- Modified: 2026-11-16T22:18:15.447Z
- Weaknesses: CWE-284, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- gitea.dev: from 1.25.0 before 28.4.0

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-9vh6-6hgj-j5m5> (vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/40131> (patch)
- <https://github.com/go-gitea/gitea/pull/40281> (patch)
- <https://blog.gitea.com/release-of-28.4.0/> (release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v28.4.0> (release-notes)

## Sources

- CVE List: [CVE-2026-123009](https://www.cve.org/CVERecord?id=CVE-2026-123009), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2026-123009](https://nvd.nist.gov/vuln/detail/CVE-2026-123009), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-123009 · Whole record: https://cve.day/CVE-2026-123009.json · Rebuilt by cve.day 2026-11-25T22:59:50.837Z
