CVE-2026-123009

Gitea base repository code disclosure through the web editor in forks

Medium published · updated

4.3
CVSS score out of 10 · NVD (134c704f-9b21-4f2e-91b3-4a467353bcc0)

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 products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
gitea gitea 1.25.0 → <28.4.028.4.0 CVE.org

References