CVE-2026-57886 Cross-repository issue/comment attachment re-linking can expose private attachment content
Attackers can access private attachment content from other repositories via cross-repository re-linking flaws in Gitea.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-57886?
CVE-2026-57886 is a medium-severity missing authorization vulnerability in Gitea Open Source Git Server, published on 13 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Cross-repository issue/comment attachment re-linking can expose private attachment content
Which versions are affected by CVE-2026-57886?
3 open source packages ship an affected version, including code.gitea.io/gitea and gitea.dev.
| Package | Affected | Fixed in |
|---|---|---|
code.gitea.io/gitea Go | All versions | 1.27.0 |
code.gitea.io/gitea Go | All versions | 1.27.0 |
gitea.dev Go | All versions | 1.27.0 |
How do I fix CVE-2026-57886?
Upgrade code.gitea.io/gitea to 1.27.0 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-57886 being exploited?
There is no known exploitation of CVE-2026-57886 in the wild and no public exploit code.
Sources
Also known as GHSA-6c6r-5xr4-cr5m, GO-2026-6035, MINI-7fmc-fx93-mcj5, MINI-qv9w-f2pf-2gwg.