SecurityContext

CVE-2026-35392: goshs - Path Traversal

  • Cve: CVE-2026-35392
  • Name: goshs - Path Traversal
  • Description: goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.3, PUT upload in httpserver/updown.go has no path sanitization. This vulnerability is fixed in 2.0.0-beta.3.
  • Impact: Attackers can upload files to arbitrary paths, potentially leading to remote code execution or system compromise.
  • Remediation: Upgrade to version 2.0.0-beta.3 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00664
  • Epss percentile: 0.52702
  • Assignee: [email protected]
  • Published at: 2026-04-06T21:16:21Z
  • Age in days: 232
  • Modified at: 2026-07-24T21:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-35392
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://github.com/patrickhener/goshs/security/advisories/GHSA-g8mv-vp7j-qp64nvd2026-04-06

References

UrlSourceTags
https://github.com/patrickhener/goshs/security/advisories/GHSA-g8mv-vp7j-qp64nvdExploit, Mitigation, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
goshs:goshs< 2.0.0, = 2.0.0 beta1, = 2.0.0 beta2nonvd/v1/products/goshs/goshs

Projects

RepositoryLink kindsIndexedUrl
patrickhener/goshspackage, security_advisoryyes/v1/repositories/patrickhener/goshs
goshs-labs/goshsfixyes/v1/repositories/goshs-labs/goshs

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-04-06
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts