CVE-2025-46816 — Vulnerability in github.com/patrickhener/goshs —...
goshs route not protected, allows command execution
Summary
Advisory Timeline
- First published May 6, 2025 (524 days ago).
- Last revised May 15, 2025 — 9 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/patrickhener/goshs@v1.0.5
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.0.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-284
- CWE-77
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.4 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
References
Frequently Asked Questions
- What is CVE-2025-46816?
- goshs route not protected, allows command execution This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.4/10).
- How do I check if my project is affected by CVE-2025-46816?
- CVE-2025-46816 affects github.com/patrickhener/goshs. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-46816 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-2026-35393CRITICAL
goshs: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs POST multipart upload
- 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