Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted multipart upload
-
ExploitPath traversal in filename parsing
-
ExecutionWrite file outside webroot
-
ImpactOverwrite or plant arbitrary content
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against the default configuration of goshs that enables the upload handler. The vulnerability requires only that the server accepts multipart uploads, which is enabled by default. The attack is not limited to any specific platform or deployment mode. |
| Impact | CVSS v3.1 base score 6.5 (Medium) reflects a network-accessible, low-complexity, unauthenticated attack with low confidentiality and integrity impact. No EPSS data or KEV listing is available, suggesting exploitation is not widespread. The researcher provided a proof-of-concept and the attack is automatable, but the product's niche deployment (red teamers/developers) limits real-world risk. The older v1 branch without a patch introduces a persistent risk for users who cannot upgrade. |
| Exploit ScenarioDerived | An attacker sends a POST request to the goshs upload endpoint with a multipart file part whose filename is set to '..'. The server creates a file containing attacker-controlled content in the parent directory of the webroot with a trailing marker character (e.g., '~'), potentially overwriting configuration or planting malicious files. Proof-of-concept code exists as the researcher reproduced the issue. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 28, 2026
Path traversal in goshs file server allows unauthenticated remote attackers to write files outside the served directory by uploading a file with the name '..'. Affects versions up to 2.1.4; fixed in 2.1.5. The older v1 branch (<=1.1.4) remains vulnerable with no patch. No active exploitation has been reported.
RemediationAI
Upgrade goshs v2 to version 2.1.5 or later, which includes the fix from commit f3ef599e409151d1380866e47de8b1afb0bb54fa. For goshs v1 (<=1.1.4), no patch is available; migrate to v2 if possible. If migration is not feasible, disable the upload endpoint (e.g., remove or restrict access to the /upload route) or enforce network-level access controls to limit upload functionality to trusted users only. Note that disabling uploads may break intended use cases.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 5 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
The multipart upload handler in updown.go splits the Part.FileName() on '/' to remove directory components but does not reject '..', so filepath.Join with '..' creates a file in the parent directory outside the webroot. The root cause is a path traversal (CWE-22). The CPE cpe:2.3:a:goshs-labs:goshs:*:*:*:*:*:*:*:* indicates all versions of goshs are potentially affected, but the advisory specifically identifies v2 up to 2.1.4 and v1 up to 1.1.4 as vulnerable.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Network attack, no auth needed, low complexity; limited write impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
goshs is a feature-rich single-binary file server for red teamers and developers. Prior to 2.1.5, the httpserver/updown.go multipart upload handler split part.FileName() on / but did not reject .., allowing an unauthenticated upload with filename .. to create a file outside the served tree. This issue is fixed in version 2.1.5.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Critical authorization bypass in goshs (Go-based HTTP server) versions prior to 2.0.0-beta.4 allows unauthenticated atta
Improper enforcement of the `--no-delete` flag in goshs WebDAV server allows unauthorized file deletion or overwrite. Th
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
EUVD-2026-50082
GHSA-wg2q-39h6-66x9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB