Gitea base repository code disclosure through the web editor in forks
- CVE-2026-123009
- EUVD-2026-126122
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.
Text from the CVE.org record.
Recommendation
Gitea
- If you run a version from 1.25.0 to before 28.4.0update to 28.4.0 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Gitea
Affected versions Fixed in from 1.25.0 to before 28.4.0 28.4.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.