CVE-2026-54481: CWE-295 in Gitea Gitea Open Source Git Server
Internal API HTTP client hardcodes InsecureSkipVerify:true with no config override (CWE-295)
AI Analysis
Technical Summary
Gitea's internal API HTTP client disables TLS certificate verification by hardcoding InsecureSkipVerify=true without any configuration override. This affects deployments where internal API calls occur over a network rather than loopback, enabling attackers on the internal network to intercept and capture the static INTERNAL_TOKEN. This token grants access to sensitive operations such as server control, SSH key authorization, and git command execution. The vulnerability has existed since 2017 and affects all versions before 1.27.0. The CVSS 3.1 score is 7.5 (high severity) reflecting the attack vector over the internal network with high impact on confidentiality, integrity, and availability. A patch is available in version 1.27.0.
Potential Impact
An attacker positioned on the internal network segment can perform man-in-the-middle attacks to capture the static high-privilege INTERNAL_TOKEN. This token allows unauthorized access to sensitive internal API operations including server control, SSH key authorization, and git command execution. The severity is high for deployments using split-host HTTPS internal API calls, while single-host loopback deployments have low or informational impact.
Mitigation Recommendations
A fix is available in Gitea version 1.27.0 that removes the hardcoded InsecureSkipVerify=true setting. Users should upgrade to version 1.27.0 or later to remediate this vulnerability. Until upgraded, deployments using split-host HTTPS internal API calls are at risk and should consider network-level protections to prevent man-in-the-middle attacks.
CVE-2026-54481: CWE-295 in Gitea Gitea Open Source Git Server
Description
Internal API HTTP client hardcodes InsecureSkipVerify:true with no config override (CWE-295)
CVSS v3.1
Score 7.5high
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
Gitea's internal API HTTP client disables TLS certificate verification by hardcoding InsecureSkipVerify=true without any configuration override. This affects deployments where internal API calls occur over a network rather than loopback, enabling attackers on the internal network to intercept and capture the static INTERNAL_TOKEN. This token grants access to sensitive operations such as server control, SSH key authorization, and git command execution. The vulnerability has existed since 2017 and affects all versions before 1.27.0. The CVSS 3.1 score is 7.5 (high severity) reflecting the attack vector over the internal network with high impact on confidentiality, integrity, and availability. A patch is available in version 1.27.0.
Potential Impact
An attacker positioned on the internal network segment can perform man-in-the-middle attacks to capture the static high-privilege INTERNAL_TOKEN. This token allows unauthorized access to sensitive internal API operations including server control, SSH key authorization, and git command execution. The severity is high for deployments using split-host HTTPS internal API calls, while single-host loopback deployments have low or informational impact.
Mitigation Recommendations
A fix is available in Gitea version 1.27.0 that removes the hardcoded InsecureSkipVerify=true setting. Users should upgrade to version 1.27.0 or later to remediate this vulnerability. Until upgraded, deployments using split-host HTTPS internal API calls are at risk and should consider network-level protections to prevent man-in-the-middle attacks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-94v3-77j7-vm48
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-54481"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a600ab79c2644c7f8fe24d1
Added to database: 07/22/2026, 00:11:35 UTC
Last enriched: 08/14/2026, 12:56:17 UTC
Last updated: 09/13/2026, 22:01:35 UTC
Views: 56
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.