Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/patrickhener/goshs
  4. ›
  5. CVE-2026-35392

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

April 3, 2026 (updated April 6, 2026)

  • PUT upload has no path sanitization | httpserver/updown.go:20-69

This finding affects the default configuration, no flags or authentication required.

References

  • github.com/advisories/GHSA-g8mv-vp7j-qp64
  • github.com/patrickhener/goshs
  • github.com/patrickhener/goshs/security/advisories/GHSA-g8mv-vp7j-qp64
  • nvd.nist.gov/vuln/detail/CVE-2026-35392

Code Behaviors & Features

Detect and mitigate CVE-2026-35392 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.5-0.20260401172448-237f3af891a9

Fixed versions

  • 1.1.5-0.20260401172448-237f3af891a9

Solution

Upgrade to version 1.1.5-0.20260401172448-237f3af891a9 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/patrickhener/goshs/CVE-2026-35392.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:08 +0000.