CVE-2026-58443 Public-only repository tokens can update private PR head branches

Critical 9.1 Published Updated

Attackers with public-only repository tokens can modify private pull request head branches, compromising data integrity in Gitea.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-58443?

CVE-2026-58443 is a critical missing authorization vulnerability in Gitea Open Source Git Server, published on 13 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Public-only repository tokens can update private PR head branches

Weakness: CWE-863

Which versions are affected by CVE-2026-58443?

3 open source packages ship an affected version, including code.gitea.io/gitea and gitea.dev.

PackageAffectedFixed in
code.gitea.io/gitea GoAll versions1.27.0
code.gitea.io/gitea GoAll versions1.27.0
gitea.dev GoAll versions1.27.0

How do I fix CVE-2026-58443?

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-58443 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-58443 exists.

Sources

Also known as GHSA-xxjv-752h-3vp2, GO-2026-6086, MINI-hfx3-rx4f-9c7h, MINI-pqcv-mgj7-j32f.

Is CVE-2026-58443 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free