CVE-2026-57886: Cross-repository issue/comment attachment re-linking can expose private attachment content
Vulnerability summary
CVE-2026-57886 is a medium (CVSS 5.9) vulnerability in gitea gitea open source git server. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 17.7% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 13-08-2026PublishedVulnerability first disclosed.
- 14-08-2026Last modifiedVulnerability information updated.
Description
Cross-repository issue/comment attachment re-linking can expose private attachment content
CVSS metrics
3 scores · 3 sources · 1 version- OSV · GoEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
Decrease -0.06 pp
From 0.31% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-639Authorization Bypass Through User-Controlled KeyThe system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
- CWE-862Missing AuthorizationThe product does not perform an authorization check when an actor attempts to access a resource or perform an action.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Code.gitea.io1 product
- gitea< 1.27.0
Gitea1 product
- gitea open source git server≤ 1.26.4
Go1 product
- gitea.dev< 1.27.0
3 vendors · 3 products
References
8 links- blog.gitea.com/gitea-1.27.0-is-released/Release Notes
- github.com/go-gitea/giteaPACKAGE