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

Mon, 16 Nov 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}


Sun, 15 Nov 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Sun, 15 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
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.
Title Gitea base repository code disclosure through the web editor in forks
Weaknesses CWE-284
CWE-863
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published: 2026-11-15T21:13:59.232Z

Updated: 2026-11-16T21:43:10.621Z

Reserved: 2026-11-15T20:29:37.634Z

Link: CVE-2026-123009

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-15T22:17:18.190

Modified: 2026-11-16T22:18:15.447

Link: CVE-2026-123009

cve-icon Redhat

No data.