Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend unauthenticated PUT request to upload file
-
ExploitSend POST request to /upload endpoint
-
ExecutionDelete .goshs ACL file via ?delete parameter
-
ImpactAccess previously protected content without authentication
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires goshs versions prior to 2.0.0-beta.4 with .goshs ACL/basic-auth files configured in directories. Remote unauthenticated attacker can exploit via PUT, POST /upload, ?mkdir, or ?delete routes without credentials. No victim interaction needed. |
| Impact | Critical authorization bypass affecting unauthenticated remote attackers. CVSS 9.3 reflects high impact across confidentiality, integrity, and availability with network accessibility and no complexity barriers. Attackers can upload, delete, and modify files-including removing auth policies entirely-making this a complete access control failure. Organizations running goshs < 2.0.0-beta.4 face immediate data exposure and system compromise risk. |
| Exploit ScenarioDerived | Attacker sends PUT request to upload malicious file to protected directory (no auth required). Attacker then sends DELETE request with ?delete=.goshs to remove the auth policy file. Subsequently, attacker accesses previously protected content via GET without credentials. No public exploit code identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 10, 2026
Critical authorization bypass in goshs (Go-based HTTP server) versions prior to 2.0.0-beta.4 allows unauthenticated attackers to upload, delete, and modify files in directories protected by .goshs ACL configurations. Attackers can execute state-changing operations (PUT uploads, POST /upload, directory creation via ?mkdir, file deletion via ?delete) without credentials, bypassing documented per-folder authentication mechanisms. Deleting the .goshs file itself removes authentication policies, enabling unrestricted access to previously protected content. Affects confidentiality, integrity, and availability of protected resources. No public exploit identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to goshs version 2.0.0-beta.4 or later, which implements authorization checks for all state-changing routes. Official release available at https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.4. The fix is implemented via commit f212c4f4a126556bab008f79758e21a839ef2c0f. Organizations unable to upgrade immediately should disable write operations by configuring goshs in read-only mode or restrict network access to trusted clients only. Review server logs for unauthorized file modifications, unexpected uploads, or .goshs file deletions. Complete security advisory with exploitation scenarios: https://github.com/patrickhener/goshs/security/advisories/GHSA-wvhv-qcqf-f3cx
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Root cause is incomplete authorization enforcement (CWE-862). While goshs correctly validates credentials for directory listings and file reads against .goshs ACL policies, state-changing HTTP operations bypass these checks entirely. The vulnerability permits direct manipulation of the authorization policy file itself, creating a secondary attack path to remove all access controls.
Know when Goshs gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.4, goshs enforces the documented per-folder .goshs ACL/basic-auth mechanism for directory listings and file reads, but it does not enforce the same authorization checks for state-changing routes. An unauthenticated attacker can upload files with PUT, upload files with multipart POST /upload, create directories with ?mkdir, and delete files with ?delete inside a .goshs-protected directory. By deleting the .goshs file itself, the attacker can remove the folder's auth policy and then access previously protected content without credentials. This results in a critical authorization bypass affecting confidentiality, integrity, and availability. This vulnerability is fixed in 2.0.0-beta.4.
Executive ViewAI
goshs (Go HTTP Server) versions before 2.0.0-beta.4 contain a critical authorization bypass allowing unauthenticated attackers to upload, delete, and modify files in directories protected by access control lists, completely circumventing the application's authentication mechanisms. Organizations using goshs to serve or manage sensitive files face immediate risk of unauthorized data access, modification, and loss if the application is internet-facing or accessible to untrusted networks.
Vendor-released patch: goshs 2.0.0-beta.4. Until patched, restrict network access to goshs instances using firewall rules or network segmentation to trusted IPs only; disable .goshs ACL-dependent authentication workflows if possible pending upgrade; monitor for suspicious file operations via application or OS-level audit logging.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Improper enforcement of the `--no-delete` flag in goshs WebDAV server allows unauthorized file deletion or overwrite. Th
Path traversal in goshs file server allows unauthenticated remote attackers to write files outside the served directory
Remote unauthenticated attackers can leak GitHub workflow tokens from goshs repositories via ArtiPACKED attack. The vuln
Path traversal in patrickhener goshs SFTP rename operation enables authenticated attackers to write files outside the co
goshs SimpleHTTPServer versions prior to 2.0.2 allow arbitrary file write via cross-origin PUT requests due to missing C
A path equivalence bypass in goshs lets attackers retrieve blocked files and the ACL configuration file by appending a t
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-21591
GHSA-wvhv-qcqf-f3cx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB