CVE-2026-123009
published medium CVSS 3.1 · 4.3Gitea base repository code disclosure through the web editor in forks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 1.25.0 to < 28.4.0 · Other versions: unaffected | Affected | Not stated | Gitea |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 1.25.0 to < 28.4.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
2- CWE-284 CWE-284: Improper Access Control
- CWE-863 CWE-863: Incorrect Authorization
References
5- Gitea 28.4.0 release announcement https://blog.gitea.com/release-of-28.4.0/
- Fix: go-gitea/gitea pull request #40131 https://github.com/go-gitea/gitea/pull/40131
- Fix backport to release/v28: go-gitea/gitea pull request #40281 https://github.com/go-gitea/gitea/pull/40281
- go-gitea/gitea v28.4.0 release https://github.com/go-gitea/gitea/releases/tag/v28.4.0
- GitHub Security Advisory GHSA-9vh6-6hgj-j5m5 https://github.com/go-gitea/gitea/security/advisories/GHSA-9vh6-6hgj-j5m5
Provider assertions
2Gitea · cna
Gitea base repository code disclosure through the web editor in forks
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5526f984d3ba107264b3f24b37a7169d2157f9ffde676d9797bdad9bd6bc9792
- Ingested
- 16 Nov 2026, 21:48:52 UTC
- Source record
- Official CVE record