Advisory record · GHSA-g8mv-vp7j-qp64

goshs: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs PUT Upload

CVSS 9.8 CriticalCriticalEPSS 0.0065 · 51st percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 3 Apr 2026, 04:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/patrickhener/goshsGo<1.1.5-0.20260401172448-237f3af891a91.1.5-0.20260401172448-237f3af891a9
Identifiers
GHSA-g8mv-vp7j-qp64 · CVE-2026-35392 · GO-2026-5394
Weakness (CWE)
CWE-22
Published
3 Apr 2026
Updated
25 Jun 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The goshs package (github.com/patrickhener/goshs) is vulnerable in versions before 1.1.5-0.20260401172448-237f3af891a9, and the fixed version is 1.1.5-0.20260401172448-237f3af891a9. The PUT upload handler does not sanitize the request path, so a remote attacker can write files anywhere on the filesystem without authentication in the default configuration. Upgrade to 1.1.5-0.20260401172448-237f3af891a9 or later. The source gives no workaround beyond upgrading.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0065, the 51st percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:07 UTC First seen by agentprime
  2. 31 Oct 2026, 15:07 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.