Skip to main content
EPSS 0.3%top 78%

CVE-2026-54481: CWE-295 in Gitea Gitea Open Source Git Server

0
High
Published: 08/13/2026 (08/13/2026, 16:44:39 UTC)
Source: GCVE Database
Vendor/Project: Gitea
Product: 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

Attack Vector
Adjacent Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Goghsa
code.gitea.io/gitea
Affected versions
<1.27.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/14/2026, 12:56:17 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses