Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed gohttp server
-
DeliverySend crafted request with '../' sequences
-
ExploitBypass web-root containment
-
ExecutionRead arbitrary server files
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
An issue in gohttp commit 34ea51 allows attackers to execute a directory traversal via supplying a crafted request.
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor 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 |
| openSUSE Leap 15.6 | Affected |
EUVD-2025-209898
GHSA-rg3p-p27c-2f39
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB