NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
MEDIUM severity

goshs has a Path Traversal issueGHSA-wg2q-39h6-66x9

MEDIUMFix: goshs-labs/goshs@f3ef599

GHSA-wg2q-39h6-66x9 is a medium-severity (CVSS 6.5) Path Traversal vulnerability in goshs.de/goshs/v2. A fix is available for goshs.de/goshs/v2 — see the affected versions and patch details below.

Also known asCVE-2026-66063GO-2026-6137
Published
Updated
Affected
4 pkgs
Patched
2 / 4
Exploits
None indexed
Exploitation data as of Nov 12, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-wg2q-39h6-66x9.

EPSS Exploitation Probability

via FIRST.org ↗
0.3%probability of exploitation in next 30 days
Lower Risk+0.11%
Lower risk than most CVEs28th percentile — riskier than 28% of all scored CVEsHighest risk
0.00%0.28%0.56%0.84%0.2%0.2%0.3%Aug 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

4 pkgs affected
🐹goshs.de/goshs/v2🐹github.com/patrickhener/goshs/v2🐹goshs.de/goshs🐹github.com/patrickhener/goshs

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

Summary

The multipart upload filename fix splits on the path separator but never rejects dot-dot, allowing a write outside the served tree.

Finding (Medium): upload filename escapes the served tree (residual of CVE-2026-35393)

The multipart filename fix (updown.go lines 135-136) splits on the path separator but never rejects "..". Uploading with filename=".." results in os.Create against the parent of the upload folder with a trailing marker character, outside the served tree, and the subsequent failed rename leaves that file behind. Verified: a file containing ESCAPED_WRITE_PROOF was written outside the webroot, unauthenticated, with the default configuration. Not claimed: a Windows-specific variant (Go's Part.FileName() already applies filepath.Base).

Suggested fixes

  1. Reject any upload filename that is "..", is empty after sanitisation, or resolves outside the upload folder; validate the final resolved destination rather than only transforming the input.

Tooling

AI assistance was used while investigating. The finding was reproduced against a running server on loopback.

Affected Packages

4 total 2 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogoshs.de/goshs/v2all versions2.1.5-0.20260727065949-f3ef599e4091go get goshs.de/goshs/v2@v2.1.5-0.20260727065949-f3ef599e4091
🐹Gogithub.com/patrickhener/goshs/v2all versions2.1.5-0.20260727065949-f3ef599e4091go get github.com/patrickhener/goshs/v2@v2.1.5-0.20260727065949-f3ef599e4091
🐹Gogoshs.de/goshsall versionsNo fix
🐹Gogithub.com/patrickhener/goshsall versionsNo fix

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for goshs.de/goshs/v2, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update goshs.de/goshs/v2 to 2.1.5-0.20260727065949-f3ef599e4091 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-wg2q-39h6-66x9 is resolved across your whole dependency graph.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

Frequently Asked Questions

## Summary The multipart upload filename fix splits on the path separator but never rejects dot-dot, allowing a write outside the served tree. ## Finding (Medium): upload filename escapes the served tree (residual of CVE-2026-35393) The multipart filename fix (updown.go lines 135-136) splits on the path separator but never rejects "..". Uploading with filename=".." results in os.Create against the parent of the upload folder with a trailing marker character, outside the served tree, and the subsequent failed rename leaves that file behind. Verified: a file containing ESCAPED_WRITE_PROOF was
O3 Security · Impact-Aware SCA

Is GHSA-wg2q-39h6-66x9 in your dependencies?

Find it across Go, including transitive dependencies.

goshs has a Path Traversal issue (Medium 6.5)