CVE-2026-123009
4.3medium
Gitea base repository code disclosure through the web editor in forks
- Severity
- 4.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.34% (higher than 29% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gitea.dev | from 1.25.0 before 28.4.0 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-123009 changed 2026-11-16 | CVE Terms of Use |
| NVD | CVE-2026-123009 changed 2026-11-16 | Public domain |