Skip to main content

gohttp CVE-2025-70950

| EUVDEUVD-2025-209898 HIGH
Path Traversal (CWE-22)
2026-05-19 mitre GHSA-rg3p-p27c-2f39
7.3
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed gohttp server
  2. Delivery
    Send crafted request with '../' sequences
  3. Exploit
    Bypass web-root containment
  4. Execution
    Read arbitrary server files
  5. Impact
    Exfiltrate sensitive data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires only that a gohttp instance (at vulnerable commit 34ea51) be reachable over HTTP; the CVSS vector is AV:N/AC:L/PR:N/UI:N, so no authentication, no user interaction, and no special non-default configuration are needed beyond the server running and serving files. The concrete prerequisite is the ability to send a crafted request path containing traversal sequences to the listening HTTP port. Limiting factors that reduce real-world risk are the product's rarity (an obscure Go hobby project unlikely to be deployed in enterprises), the read-only nature of the impact (information disclosure, not code execution), and dependence on the server process having filesystem read access to the targeted files; a fronting reverse proxy that normalizes paths would block the traversal.

Impact

The signals are mostly consistent and point to a genuine but low-priority issue. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) makes exploitation trivial and unauthenticated over the network, and SSVC marks it Automatable:yes with a proof-of-concept exploitation state, which argues for easy mass-scanning. However, EPSS is only 0.05% (17th percentile), it is not in KEV, and SSVC rates technical impact as only 'partial' - matching the C:L/I:L/A:L rating rather than full system compromise. The practical ceiling is arbitrary file read (information disclosure), not code execution. The dominant limiting factor is prevalence: gohttp is an obscure hobby project with negligible enterprise footprint, so despite easy exploitability the real-world exposure is small. Note a mild inconsistency worth verifying: the official CVSS assigns low integrity and availability impact (I:L/A:L), but a read-only path traversal on a static server would normally have no integrity or availability effect - treat the I/A impact as unconfirmed unless the server also exposes writable or executable paths.

Exploit ScenarioDerived

An attacker discovers an internet-exposed gohttp instance and issues an HTTP request whose path contains directory-traversal sequences (e.g. requesting '/../../../../etc/passwd' or an encoded equivalent). Because no authentication is required and the request is easily automated, the server returns the contents of files outside the web root, disclosing configuration files, credentials, or source code. A proof-of-concept demonstrating the technique is published in a public gist.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

Directory traversal in gohttp (the itang/gohttp Go static file server, at commit 34ea51) lets remote attackers read files outside the intended web root by supplying a crafted request with path-traversal sequences. Publicly available exploit code exists (a proof-of-concept gist), but there is no public exploit identified as being used in active attacks and it is not in CISA KEV; EPSS is very low at 0.05% (17th percentile). Impact is primarily unauthorized disclosure of arbitrary server-side files.

RemediationAI

No vendor-released patch version is identified at time of analysis, as the project is tracked by commit rather than tagged releases; monitor the upstream report at github.com/itang/gohttp/issues/13 for a fix commit and rebuild from the patched source once available. As compensating controls: run gohttp behind a reverse proxy (e.g. nginx) that normalizes and rejects '../' and encoded traversal sequences before they reach the server; serve only a dedicated directory containing non-sensitive content on a low-privilege user account with a chroot/container so a traversal cannot reach sensitive files (trade-off: reduces blast radius but does not fix the parsing flaw); and restrict network exposure by binding to localhost or an internal segment and firewalling the listening port if public exposure is not required (trade-off: limits legitimate remote use). If source modification is feasible, sanitize incoming paths with filepath.Clean and enforce that the resolved path stays within the served root (or use http.FileServer with http.Dir), which addresses the root cause directly.

Affected VersionsENISA

n/a n/a

Affected Packages

go github.com/itang/gohttp no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

gohttp is a lightweight HTTP static-file server written in Go, distributed as source on GitHub (itang/gohttp). The flaw is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, 'Path Traversal'): the server maps request paths to filesystem paths without adequately canonicalizing or rejecting traversal sequences (e.g. '../' or encoded variants), so a request can escape the served directory and resolve to arbitrary files the server process can read. Because Go static servers commonly join a base directory with the raw request path, missing use of path sanitization / http.Dir-style containment or filepath.Clean checks is the typical root cause. The CPE data is a placeholder ('cpe:2.3:a:n/a:n/a') and does not identify a formal vendor/product entry, consistent with an unversioned open-source project pinned to a single commit.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.3 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 7.5 HIGH

Unauthenticated remote read of arbitrary files gives high confidentiality impact, while a read-only traversal has no integrity or availability effect, so I and A are set to None.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

2
CVE Published
May 19, 2026 - 00:00 cve.org
HIGH 7.3
CVE Published
May 19, 2026 - 00:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

An issue in gohttp commit 34ea51 allows attackers to execute a directory traversal via supplying a crafted request.

Executive ViewAI

Why It Matters

gohttp static file server contains a directory traversal vulnerability (CVE-2025-70950, CVSS 7.3) permitting unauthorized file disclosure outside the configured web root. Publicly available exploit code exists but no active attacks have been reported, with exploitation probability minimal at EPSS 0.1%. No vendor patch is currently available, requiring organizations using this Go library to implement interim controls or plan migration.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: Web Application Firewall rules to block directory traversal patterns; restrictive file system permissions limiting accessible content; network isolation or segmentation; evaluation and migration to alternative static file server libraries with active security maintenance.

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% exploitable
Prevalence
Rare
obscure single-developer Go project, negligible enterprise deployment
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy