CVE-2026-35471: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in patrickhener goshs
CVE-2026-35471 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 return after a path traversal check in the tdeleteFile() function, allowing attackers to potentially access or delete 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 Analysis
Technical Summary
The vulnerability in goshs arises from improper limitation of a pathname to a restricted directory (CWE-22). Specifically, prior to version 2.0.0-beta.3, the tdeleteFile() function fails to return immediately after detecting a path traversal attempt, which can be exploited to access or delete files outside the designated directory. This flaw allows remote attackers to perform unauthorized file operations via crafted requests. The vulnerability is resolved in goshs version 2.0.0-beta.3.
Potential Impact
Successful exploitation can lead to unauthorized reading or deletion of files outside the intended directory, compromising confidentiality, integrity, and availability of the system hosting goshs. The CVSS 3.0 score of 9.8 reflects critical severity with network attack vector, no privileges required, and no user interaction needed.
Mitigation Recommendations
Upgrade goshs to version 2.0.0-beta.3 or later where the vulnerability is fixed. Since no official patch link or advisory is provided, users should verify the version and apply the update accordingly. Patch status is not explicitly confirmed beyond the version fix note; check the vendor's repository or official channels for the latest remediation guidance.
CVE-2026-35471: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in patrickhener goshs
Description
CVE-2026-35471 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 return after a path traversal check in the tdeleteFile() function, allowing attackers to potentially access or delete 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
Technical Analysis
The vulnerability in goshs arises from improper limitation of a pathname to a restricted directory (CWE-22). Specifically, prior to version 2.0.0-beta.3, the tdeleteFile() function fails to return immediately after detecting a path traversal attempt, which can be exploited to access or delete files outside the designated directory. This flaw allows remote attackers to perform unauthorized file operations via crafted requests. The vulnerability is resolved in goshs version 2.0.0-beta.3.
Potential Impact
Successful exploitation can lead to unauthorized reading or deletion of files outside the intended directory, compromising confidentiality, integrity, and availability of the system hosting goshs. The CVSS 3.0 score of 9.8 reflects critical severity with network attack vector, no privileges required, and no user interaction needed.
Mitigation Recommendations
Upgrade goshs to version 2.0.0-beta.3 or later where the vulnerability is fixed. Since no official patch link or advisory is provided, users should verify the version and apply the update accordingly. Patch status is not explicitly confirmed beyond the version fix note; check the vendor's repository or official channels for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-02T20:49:44.453Z
- Cvss Version
- 3.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d4297c0a160ebd92e0093d
Added to database: 4/6/2026, 9:45:32 PM
Last enriched: 4/6/2026, 10:00:52 PM
Last updated: 4/7/2026, 2:26:17 AM
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.