Skip to main content
VulnerabilityPublished

CVE-2026-35471: patrickhener goshs · Path Traversal

Affects patrickhener goshsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.8 Critical : upgrade to 2.0.0-beta.3 as a priority.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.0 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.0.0-beta.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade patrickhener goshs to 2.0.0-beta.3.

Affected software

ProductAffectedFixed in
patrickhenergoshsAffected
  • <2.0.0-beta.3
Fixed in
  • 2.0.0-beta.3
Gogithub.com/patrickhener/goshspkg:golang/github.com/patrickhener/goshsOther threatsAffected
  • =2.0.0-beta.3
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in goshs version 2.0.0-beta.3, which properly enforces the path traversal check in the tdeleteFile() function. Users should upgrade to this version or later to remediate the vulnerability. No other official remediation or temporary workaround is documented. Patch status beyond the version update is not explicitly stated, so users should verify with the vendor for any additional guidance.

Description

CVE-2026-35471 is a critical path traversal vulnerability in patrickhener's goshs SimpleHTTPServer written in Go. Versions prior to 2.0.0-beta.3 are affected due to a missing return statement after a path traversal check in the tdeleteFile() function. This flaw allows an attacker to bypass directory restrictions and potentially access or modify unauthorized files. The vulnerability has a CVSS score of 9.8, indicating high impact on confidentiality, integrity, and availability. The issue is fixed starting from version 2.0.

References

Community reviews

Loading reviews…