Skip to main content

goshs CVE-2026-66063

| EUVDEUVD-2026-50082 MEDIUM
Path Traversal (CWE-22)
2026-07-28 GitHub_M GHSA-wg2q-39h6-66x9
6.5
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI
6.5 MEDIUM

Network attack, no auth needed, low complexity; limited write impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
SUSE
MEDIUM
qualitative

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
Patch available
Jul 28, 2026 - 23:02 EUVD
Source Code Evidence Fetched
Jul 28, 2026 - 22:52 vuln.today
Analysis Generated
Jul 28, 2026 - 22:52 vuln.today

DescriptionCVE.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.

AnalysisAI

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.

Technical ContextAI

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.

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.

Vendor StatusVendor

SUSE

Severity: Moderate

Share

CVE-2026-66063 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy