PatchSiren cyber security CVE debrief
CVE-2026-123009 Gitea CVE debrief
A vulnerability in Gitea allows users who have forked a repository and later lost access to it to potentially read the base repository's code through the web editor. This issue arises when a file is edited in a fork via the web editor, causing Gitea to copy a branch from the base repository into the fork without properly checking the user's read access to the base repository. Users who have lost access to a repository, such as after it was made private or they were removed as a collaborator, could exploit this by copying its current branches into their fork and reading them.
- Vendor
- Gitea
- Product
- Unknown
- CVSS
- Unknown
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-15
- Original CVE updated
- 2026-11-16
- Advisory published
- 2026-11-15
- Advisory updated
- 2026-11-16
Who should care
Defenders managing Gitea instances, especially those with users who have had changes in their access permissions, should assess their exposure to this vulnerability and ensure appropriate access controls are in place.
Why it matters
Defenders should care about CVE-2026-123009 because it allows potential unauthorized read access to base repository code in Gitea instances. This vulnerability requires verification of exposure, especially for users with lost access permissions, and necessitates updates to Gitea version 28.4.0 or later. Monitoring for unusual activity related to repository forks and edits is also crucial.
- Potential unauthorized read access to base repository code
- Need to verify exposure of Gitea instances to this vulnerability
- Requirement to update Gitea to version 28.4.0 or later for fix
- Importance of monitoring for unusual activity related to repository forks and edits
Technical summary
The vulnerability in Gitea allows a user who has forked a repository and later lost access to it to potentially read the base repository's code. This occurs when editing a file in the fork via the web editor, which causes Gitea to copy a branch from the base repository into the fork without checking the user's read access. The issue arises from insufficient access controls during the branch copying process, potentially exposing sensitive code. Defenders should verify exposure, especially for users with lost access permissions, and ensure appropriate access controls are in place. Gitea instances should be updated to version 28.4.0 or later to fix the vulnerability.
Defensive priority
Defenders should prioritize verifying exposure of Gitea instances to this vulnerability, especially for users who have had changes in their access permissions, and ensure that appropriate access controls are in place.
Recommended defensive actions
- Verify Gitea instances are updated to version 28.4.0 or later
- Review and adjust user access permissions to repositories
- Monitor for unusual activity related to repository forks and edits
- Perform a thorough review of Gitea instance configurations
- Implement additional logging and monitoring for repository access
- Conduct a vulnerability scan to identify potential exposures
- Review and update incident response plans for potential breaches
Evidence notes
The CVE record and source item provide details on the vulnerability, including its description and affected versions. However, the corpus does not establish specific exploitation instances or remediation steps beyond updating to version 28.4.0 or later.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-123009 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-123009
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-123009 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-123009
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Gitea base repository code disclosure through the web editor in forks
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/123xxx/CVE-2026-123009.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-9vh6-6hgj-j5m5
Supplemental source - vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/pull/40131
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/pull/40281
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://blog.gitea.com/release-of-28.4.0/
Supplemental source - release-notes
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/releases/tag/v28.4.0
Supplemental source - release-notes
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.