Security mailing lists by PureSourceCode

CVE-2026-35471

CRITICAL 9.8CVSS 3.0

goshs: Improper Limitation of a Pathname to a Restricted Directory (Path Traversal)

goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.3, tdeleteFile() missing return after path traversal check. 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-6qcc-6q27-whp8GO-2026-5186
Sources
NVDJSONOSV GHSA-6qcc-6q27-whp8JSONOSV GO-2026-5186JSON

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.