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.
Security readout for executives and security teams
Plain-English summary
goshs versions before 2.1.5 allow an unauthenticated remote user to place an uploaded file outside the intended served directory. This could expose or alter data accessible to the goshs process, but the published assessment indicates no availability impact. Version 2.1.5 fixes the flaw.
Executive priority
Prioritize remediation for internet-facing or broadly reachable instances because exploitation needs no credentials or user action. Upgrade promptly through normal emergency or accelerated patching processes. Isolated instances with tightly restricted filesystem permissions may be scheduled by measured exposure, but every version earlier than 2.1.5 should be addressed.
Technical view
The multipart upload handler in httpserver/updown.go split uploaded filenames on forward slashes without rejecting parent-directory components. This path traversal weakness, classified as CWE-22, permits out-of-tree file creation. CVSS 3.1 rates it 6.5: network-accessible, low complexity, no privileges or user interaction, with limited confidentiality and integrity impact.
Likely exposure
Exposure is likely where goshs earlier than 2.1.5 is running and its multipart upload functionality is reachable over a network. Authentication elsewhere, filesystem permissions, process isolation, and network controls may reduce practical impact, but the supplied sources do not document those deployment-specific protections.
Exploitation context
The weakness is remotely reachable and requires no privileges or user interaction according to the CVSS vector. The source bundle provides no evidence of active exploitation, and CVE-2026-66063 is not identified as a CISA KEV entry. Public exploit availability is not established by the supplied sources.
Researcher notes
The affected code is the multipart upload path handling in httpserver/updown.go. The reported flaw concerns insufficient rejection of parent-directory filename components after slash-based processing. The published fix is commit f3ef599e409151d1380866e47de8b1afb0bb54fa and release 2.1.5. The supplied evidence does not establish arbitrary overwrite scope, execution, persistence, or observed attacks.
Mitigation direction
Upgrade goshs to version 2.1.5 or later.
Restrict network access to affected goshs instances until upgraded.
Disable or isolate upload functionality where immediate upgrading is impossible.
Limit the goshs process filesystem permissions and writable directories.
Review the vendor advisory before returning affected instances to service.
Validation and detection
Inventory all goshs deployments and record their installed versions.
Confirm no running instance uses a version earlier than 2.1.5.
Identify whether multipart uploads are reachable without authentication.
Review writable locations outside served trees for unexpected files.
Verify network controls restrict access to any temporarily unpatched instance.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-22: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.