CVE-2026-22555 Details
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.
A vulnerability in Gitea versions prior to 1.26.0 allows API users to fork repositories into organizations without the necessary authorization check. This oversight can lead to the unauthorized exposure of organization secrets. The issue arises because the API fork handler fails to verify the 'CanCreateOrgRepo' permission, which is correctly enforced in the web interface. As a result, a read-only organization member, lacking repository creation rights, can exploit this vulnerability to access sensitive CI/CD secrets through the organization's runner infrastructure.
Users can upgrade to Gitea version 1.26.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 3, 2026CISA-ADP
Assessed Jul 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/go-gitea/gitea/security/advisories/GHSA-fhx7-m96w-mv29 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://blog.gitea.com/release-of-1.26.0/ | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/pull/36950 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/releases/tag/v1.26.0 | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-fhx7-m96w-mv29 | Gitea Limited | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-284 | Improper Access Control | Gitea Limited |
Affected Products
| Product | Versions |
|---|---|
| Gitea | < 1.26.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 6, 2026 | CVE Modified | CISA-ADP |
| Jul 3, 2026 | New CVE Received | Gitea Limited |
Volerion