CVE-2026-26231
Gitea: Authorization Bypass via "Allow edits from maintainers" allows unauthorized commits to any readable repo
Summary
Remediation
Upgrade to the fixed version using your package manager.
go get code.gitea.io/gitea@v1.26.2
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| code.gitea.io/gitea | go | All versions | 1.26.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-863Incorrect AuthorizationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
References
Frequently Asked Questions
- What is CVE-2026-26231?
- Gitea: Authorization Bypass via "Allow edits from maintainers" allows unauthorized commits to any readable repo This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.5/10).
- How do I check if my project is affected by CVE-2026-26231?
- CVE-2026-26231 affects code.gitea.io/gitea. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-26231 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-22874CRITICAL
Gitea: Incomplete SSRF Protection in Webhook and Migration Allow-list Default Filter
- CVE-2019-11576CRITICAL
Gitea Allows 1FA Even for 2FA-Enrolled Accounts
- CVE-2026-20896CRITICAL
Gitea Docker image: `REVERSE_PROXY_TRUSTED_PROXIES = *` default lets any source IP impersonate any user via `X-WEBAUTH-USER`
- CVE-2026-58426CRITICAL
Gitea Actions Artifacts V4 signed URL HMAC ambiguity allows cross-repository artifact read and cross-task upload-state write
- CVE-2026-56750CRITICAL
Gitea Remember-Me Token Theft Not Invalidating Attacker Session
- CVE-2026-58443CRITICAL
Gitea: Public-only repository tokens can update private PR head branches
- CVE-2026-27771HIGH
Gitea has insufficient permission checks for Composer package source links
- CVE-2026-28737HIGH
Gitea: Stored XSS via glTF `extensionsRequired` in Gitea 3D File Viewer
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies