CVE-2026-35471
Received Received - Intake

Path Traversal in goshs SimpleHTTPServer Allows Unauthorized File Deletion

Vulnerability report for CVE-2026-35471, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-06

Last updated on: 2026-04-09

Assigner: GitHub, Inc.

Description

goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.3, tdeleteFile() missing return after path traversal check. This vulnerability is fixed in 2.0.0-beta.3.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-06
Last Modified
2026-04-09
Generated
2026-07-06
AI Q&A
2026-04-07
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
goshs goshs 2.0.0
goshs goshs to 2.0.0 (exc)
goshs goshs 2.0.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Impact Analysis

This vulnerability can have a severe impact as it allows an attacker to delete files on the server without proper authorization. Given the high CVSS score of 9.8, it indicates that the vulnerability is easy to exploit remotely without any privileges or user interaction, and it can lead to complete confidentiality, integrity, and availability compromise.

Mitigation Strategies

To mitigate this vulnerability, upgrade goshs to version 2.0.0-beta.3 or later, where the issue with tdeleteFile() missing a return after the path traversal check has been fixed.

Executive Summary

The vulnerability exists in goshs, a SimpleHTTPServer written in Go, in versions prior to 2.0.0-beta.3. Specifically, the function tdeleteFile() did not return after performing a path traversal check, which means it could allow unauthorized file deletion by bypassing the intended security check.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-35471. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart