CVE-2026-22555 Gitea organization forks can expose organization secrets without create permission
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.
| Package | Affected | Fixed in |
|---|---|---|
code.gitea.io/gitea Go | All versions | 1.26.0 |
code.gitea.io/gitea Go | All versions | 1.26.0 |
code.gitea.io/gitea Go | All versions | 1.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.