CVE-2026-22555 Gitea organization forks can expose organization secrets without create permission

High 8.1 Published Updated

Attackers can fork repositories into organizations without permission, potentially exposing sensitive organization secrets.

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-22555?

CVE-2026-22555 is a high-severity missing authorization vulnerability in Gitea Open Source Git Server, published on 3 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Gitea versions before 1.26.0 allow API users to fork a repository into an organization without first passing the CanCreateOrgRepo check, which can expose organization secrets.

Weakness: CWE-284

Which versions are affected by CVE-2026-22555?

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

PackageAffectedFixed in
code.gitea.io/gitea GoAll versions1.26.0
code.gitea.io/gitea GoAll versions1.26.0
code.gitea.io/gitea GoAll versions1.26.0

How do I fix CVE-2026-22555?

Upgrade code.gitea.io/gitea to 1.26.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-22555 being exploited?

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

Sources

Also known as GHSA-fhx7-m96w-mv29, GO-2026-5365.

Is CVE-2026-22555 in your software?

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

Check your SBOMs for free