CVE-2026-123009
Gitea base repository code disclosure through the web editor in forks
CVSS Score
4.3
EPSS Score
0.3%
EPSS Percentile
17th
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.
| CWE | CWE-284 CWE-863 |
| Vendor | gitea |
| Product | gitea |
| Published | Nov 15, 2026 |
| Last Updated | Nov 16, 2026 |
Stay Ahead of the Next One
Get instant alerts for gitea gitea
Be the first to know when new medium vulnerabilities affecting gitea gitea are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Gitea / Gitea
1.25.0 < 28.4.0
References
github.com: https://github.com/go-gitea/gitea/security/advisories/GHSA-9vh6-6hgj-j5m5 github.com: https://github.com/go-gitea/gitea/pull/40131 github.com: https://github.com/go-gitea/gitea/pull/40281 blog.gitea.com: https://blog.gitea.com/release-of-28.4.0/ github.com: https://github.com/go-gitea/gitea/releases/tag/v28.4.0
Credits
๐ https://github.com/adamyordan https://github.com/silverwind