All vulnerabilities

Servers and applications

CVE-2026-123009

Gitea base repository code disclosure through the web editor in forks

Severity
Medium 4.3
Published
15 Nov 2026
Last changed
16 Nov 2026
Added to UpHeron
15 Nov 2026
Fixed in
28.4.0
Exploit chance
0.3% in the next 30 daysHigher than 19% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Improper access control (CWE-284)Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
GiteaServers and applications · cna:gitea|gitea
  • From 1.25.0 before 28.4.0

About Gitea

free forge based on git written in Go

From Wikidata, CC0 1.0.
Docker Hub pulls
395,154,663Docker Hub, 15 Nov 2026
GitHub stars
59,090GitHub, 15 Nov 2026
Forks
7,394GitHub, 15 Nov 2026
Latest release
v28.3.0GitHub, 15 Nov 2026
Released
1 Nov 2026GitHub
Developer
Jiahua ChenWikidata
License
MIT LicenseWikidata
Written in
Go, JavaScriptWikidata
First released
17 Oct 2016Wikidata
First published on GitHub
1 Nov 2016GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-123009