CVE-2026-27779: CWE-284 in Gitea Gitea Open Source Git Server
Gitea Open Source Git Server versions before 1.25.5 improperly handle malformed or injected forwarded-proto header values when detecting public URLs. This flaw allows attackers to spoof the canonical URL generated by the server. The vulnerability relates to insufficient authorization checks (CWE-284). No official patch or remediation guidance is currently provided by the vendor.
AI Analysis
Technical Summary
CVE-2026-27779 affects Gitea versions prior to 1.25.5 by accepting malformed or injected forwarded-proto values during public URL detection. This improper validation can lead to spoofed canonical URL generation, potentially misleading users or systems relying on these URLs. The vulnerability is categorized under CWE-284, indicating an authorization bypass or insufficient access control issue. There is no CVSS score or vendor advisory detailing remediation or patch availability at this time.
Potential Impact
The vulnerability allows spoofing of canonical URLs generated by the Gitea server, which could be leveraged to misrepresent the source or destination of Git repositories or related resources. This may impact trust in URL authenticity but does not explicitly describe direct code execution or data breach consequences in the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should be cautious about trusting forwarded-proto headers and consider additional validation or filtering at network or proxy layers if feasible.
CVE-2026-27779: CWE-284 in Gitea Gitea Open Source Git Server
Description
Gitea Open Source Git Server versions before 1.25.5 improperly handle malformed or injected forwarded-proto header values when detecting public URLs. This flaw allows attackers to spoof the canonical URL generated by the server. The vulnerability relates to insufficient authorization checks (CWE-284). No official patch or remediation guidance is currently provided by the vendor.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-27779 affects Gitea versions prior to 1.25.5 by accepting malformed or injected forwarded-proto values during public URL detection. This improper validation can lead to spoofed canonical URL generation, potentially misleading users or systems relying on these URLs. The vulnerability is categorized under CWE-284, indicating an authorization bypass or insufficient access control issue. There is no CVSS score or vendor advisory detailing remediation or patch availability at this time.
Potential Impact
The vulnerability allows spoofing of canonical URLs generated by the Gitea server, which could be leveraged to misrepresent the source or destination of Git repositories or related resources. This may impact trust in URL authenticity but does not explicitly describe direct code execution or data breach consequences in the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, administrators should be cautious about trusting forwarded-proto headers and consider additional validation or filtering at network or proxy layers if feasible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Gitea
- Date Reserved
- 2026-03-03T03:25:28.660Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4820fe27e9c79719acc07d
Added to database: 07/03/2026, 20:52:14 UTC
Last enriched: 07/03/2026, 21:02:37 UTC
Last updated: 07/04/2026, 02:00:35 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.