Security mailing lists by PureSourceCode

CVE-2026-35393

CRITICAL 9.8CVSS 3.0

goshs: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs POST multipart upload

goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.3, the POST multipart upload directory not sanitized. This vulnerability is fixed in 2.0.0-beta.3.

Published
6 Apr 2026
Last modified
24 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22
Also known as
GHSA-jg56-wf8x-qrv5GO-2026-5468
Sources
NVDJSONOSV GHSA-jg56-wf8x-qrv5JSONOSV GO-2026-5468JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD goshs goshs
cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:*
< 2.0.0 2.0.0
NVD goshs goshs
cpe:2.3:a:goshs:goshs:2.0.0:beta1:*:*:*:go:*:*
= 2.0.0
NVD goshs goshs
cpe:2.3:a:goshs:goshs:2.0.0:beta2:*:*:*:go:*:*
= 2.0.0
OSV Go github.com/patrickhener/goshs < 1.1.5-0.20260401172448-237f3af891a9 1.1.5-0.20260401172448-237f3af891a9

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 6 Apr 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.