CVE-2025-70950

Directory Traversal in gohttp Enabling Arbitrary File Access

Published May 19, 2026 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
Description
An issue in gohttp commit 34ea51 allows attackers to execute a directory traversal via supplying a crafted request.

Analysis

AI-generated

Technical impact

The vulnerability involves a directory traversal flaw that can be triggered by supplying a crafted HTTP request. The flaw allows an attacker to retrieve files outside the intended web root, potentially exposing sensitive configuration data or other secrets stored on the server. Because the attacker can read arbitrary files, there is a risk of information leakage that may facilitate further attacks such as privilege escalation or data exfiltration.

Affected Systems

The affected product is the Go HTTP server implementation (gohttp) at commit 34ea51. No version ranges or vendor products are listed, so any deployment using this exact code commit is potentially impacted.

Risk and Exploitability

The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating no confirmed exploitation in the wild to date. The attack vector is inferred to be remote over the network, as the flaw is triggered via an HTTP request. The CVSS score of 7.3 indicates a medium to high severity, highlighting the potential for significant impact if the vulnerability is exploited.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check for an updated release of gohttp that removes the vulnerable commit 34ea51 and upgrade immediately
  • If no patch is available, restrict file‑serving directories or apply path canonicalization to prevent access to parent directories
  • Implement web‑application firewall rules or equivalent input validation to block traversal patterns such as ".." or encoded sequences

Generated by OpenCVE AI on May 19, 2026 at 16:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rg3p-p27c-2f39 gohttp is vulnerable to directory traversal via a crafted request
History
Type Values Removed Values Added
First Time appeared Itang
Itang gohttp
Vendors & Products Itang
Itang gohttp
Type Values Removed Values Added
Title Directory Traversal in gohttp Enabling Arbitrary File Access
Type Values Removed Values Added
Weaknesses CWE-22
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description An issue in gohttp commit 34ea51 allows attackers to execute a directory traversal via supplying a crafted request.
References
Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 19, 2026, 2:37 PM
Reserved
Jan 9, 2026, 12:00 AM
Status
Deferred
Published
May 19, 2026, 3:16 PM
Modified
Jul 24, 2026, 12:10 PM