CVE-2026-123009 Details
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.
A vulnerability in Gitea's web file editor allows users to bypass repository privacy and access branches of private base repositories. This issue arises when a file is edited in a forked repository through the web editor. Gitea copies the branch from the base repository to the fork without verifying if the user has permission to read the base repository's code. As a result, a user who has forked a repository and later lost access to it can still read its current code by copying branches into their fork. This vulnerability affects Gitea versions 1.25 through 28.3.0.
Users can upgrade to Gitea version 28.4.0, which addresses this vulnerability by adding the necessary permission checks before copying branches from base repositories to forks.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 15, 2026CISA-ADP
Assessed Nov 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.gitea.com/release-of-28.4.0/ | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/pull/40131 | Gitea Limited | Source CodeVendor |
| https://github.com/go-gitea/gitea/pull/40281 | Gitea Limited | Source CodeVendor |
| https://github.com/go-gitea/gitea/releases/tag/v28.4.0 | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-9vh6-6hgj-j5m5 | Gitea Limited | AdvisoryTechnical AnalysisVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-284 | Improper Access Control | Gitea Limited |
| CWE-863 | Incorrect Authorization | Gitea Limited |
Affected Products
| Product | Versions |
|---|---|
| Gitea | >= 1.25, <= 28.3.0 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 16, 2026 | CVE Modified | CISA-ADP |
| Nov 15, 2026 | New CVE Received | Gitea Limited |
Volerion