CVE-2026-27771 — Vulnerability in code.gitea.io/gitea — CVE Details
Gitea has insufficient permission checks for Composer package source links
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.39%). Schedule for your next planned update.
Does your project use an affected code.gitea.io/gitea version?
Paste your go.sum to check it for CVE-2026-27771 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
CVE Description
Gitea versions up to and including 1.26.1 have insufficient permission checks for Composer package source links, which can expose private or internal package source information.
Summary
A critical vulnerability has been discovered in Gitea. It was already reported via (security@gitea.io) from (dev@noscope.com), and submitted an encrypted report.
Advisory Timeline
- First published July 17, 2026 (132 days ago).
- Last revised July 22, 2026 — 5 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get code.gitea.io/gitea@v1.26.2
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| code.gitea.io/gitea Go · Affected: All versions | 1.26.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-862Missing AuthorizationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.2 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-8qw8-rq86-9pc2WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-27771ADVISORY
- https://github.com/go-gitea/gitea/pull/37610WEB
- https://blog.gitea.com/release-of-1.26.2WEB
- https://github.com/go-gitea/giteaPACKAGE
- https://github.com/go-gitea/gitea/releases/tag/v1.26.2WEB
Frequently Asked Questions
- What is CVE-2026-27771?
- Gitea has insufficient permission checks for Composer package source links. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.2/10).
- How do I check if my project is affected by CVE-2026-27771?
- CVE-2026-27771 affects code.gitea.io/gitea. It has a 1.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-27771 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 72.5% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
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-2024-6886CRITICAL
Gitea Cross-site Scripting Vulnerability
- CVE-2026-26232CRITICAL
Gitea OAuth2 authorization codes can be reused after expiry
- CVE-2026-26292CRITICAL
Gitea LFS mirror operations bypass migration HTTP transport protections
- CVE-2026-56750CRITICAL
Gitea Remember-Me Token Theft Not Invalidating Attacker Session
- CVE-2026-27780CRITICAL
Gitea pre-receive hook scanner errors allow branch-protection bypass
- CVE-2026-58443CRITICAL
Gitea: Public-only repository tokens can update private PR head branches