CVE-2026-35393 — Vulnerability in github.com/patrickhener/goshs —...
goshs: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs POST multipart upload
Summary
Advisory Timeline
- First published April 3, 2026 (192 days ago).
- Last revised June 25, 2026 — 84 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/patrickhener/goshs@v1.1.5-0.20260401172448-237f3af891a9
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: go (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/patrickhener/goshs | go | All versions | 1.1.5-0.20260401172448-237f3af891a9 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-35393?
- goshs: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs POST multipart upload This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2026-35393?
- CVE-2026-35393 affects github.com/patrickhener/goshs. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-35393 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-35471CRITICAL
goshs: Improper Limitation of a Pathname to a Restricted Directory (Path Traversal)
- CVE-2026-40884CRITICAL
goshs has an empty-username SFTP password authentication bypass
- CVE-2026-35392CRITICAL
goshs: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs PUT Upload
- CVE-2026-64863CRITICAL
goshs --no-delete WebDAV MOVE bypass allows file deletion/overwrite
- CVE-2025-46816CRITICAL
goshs route not protected, allows command execution
- CVE-2026-40189CRITICAL
goshs has a file-based ACL authorization bypass in goshs state-changing routes
- CVE-2026-40876HIGH
SFTP root escape via prefix-based path validation in goshs
- CVE-2026-40885HIGH
goshs's public collaborator feed leaks .goshs ACL credentials and enables unauthorized access
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies