Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35393: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in patrickhener goshs

0
Critical
VulnerabilityCVE-2026-35393cvecve-2026-35393cwe-22
Published: Mon Apr 06 2026 (04/06/2026, 20:50:25 UTC)
Source: CVE Database V5
Vendor/Project: patrickhener
Product: goshs

Description

CVE-2026-35393 is a critical path traversal vulnerability in patrickhener's goshs, a SimpleHTTPServer written in Go. Versions prior to 2. 0. 0-beta. 3 do not properly sanitize the POST multipart upload directory, allowing attackers to potentially write files outside the intended directory. This vulnerability has a CVSS score of 9. 8, indicating high impact on confidentiality, integrity, and availability. The issue is fixed in version 2. 0. 0-beta.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/06/2026, 21:15:38 UTC

Technical Analysis

The vulnerability in goshs (prior to version 2.0.0-beta.3) involves improper limitation of a pathname to a restricted directory (CWE-22). Specifically, the POST multipart upload directory is not sanitized, which can allow an attacker to perform path traversal attacks by crafting malicious file paths. This can lead to unauthorized file writes outside the intended directory, potentially compromising system integrity and availability. The vulnerability is addressed in version 2.0.0-beta.3 where proper sanitization is implemented.

Potential Impact

Successful exploitation of this vulnerability can allow an unauthenticated remote attacker to write files to arbitrary locations on the server filesystem. This can lead to full system compromise, including confidentiality breaches, integrity violations, and denial of service. The CVSS score of 9.8 reflects the critical nature of this vulnerability with network attack vector, no required privileges or user interaction, and high impact on all security properties.

Mitigation Recommendations

A fix is available in goshs version 2.0.0-beta.3, which properly sanitizes the POST multipart upload directory to prevent path traversal. Users should upgrade to version 2.0.0-beta.3 or later to remediate this vulnerability. No other mitigation guidance is provided or necessary once the upgrade is applied.

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

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-02T17:03:42.074Z
Cvss Version
3.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69d41eee0a160ebd92dcdbde

Added to database: 4/6/2026, 9:00:30 PM

Last enriched: 4/6/2026, 9:15:38 PM

Last updated: 4/6/2026, 10:47:28 PM

Views: 4

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