CVE-2026-58416 Fork-PR Actions task can read a third private repository via the collaborative-owner branch (missing fork-PR guard)
Attackers can read private repository data via fork PR actions due to missing authorization checks 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-58416?
CVE-2026-58416 is a high-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
Fork-PR Actions task can read a third private repository via the collaborative-owner branch (missing fork-PR guard)
Which versions are affected by CVE-2026-58416?
3 open source packages ship an affected version, including gitea.dev.
| Package | Affected | Fixed in |
|---|---|---|
gitea.dev Go | All versions | 1.27.0 |
gitea.dev Go | All versions | 1.27.0 |
gitea.dev Go | All versions | 1.27.0 |
How do I fix CVE-2026-58416?
Upgrade gitea.dev 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-58416 being exploited?
There is no known exploitation of CVE-2026-58416 in the wild and no public exploit code.
Sources
Also known as GHSA-fj8v-hjwv-qm88, GO-2026-6052.