high

CVE-2026-54650

Go · github.com/bablilayoub/openhole

Summary

openhole-server vulnerable to path traversal via URL-decoded request path

Severity
high
CVSS
8.6
EPSS
0.5% (p45)
CWE
CWE-22
Also known as
GHSA-fh2f-xfxc-q9cc
Published
2026-07-28
Updated
2026-07-28

Advisory details

Summary

openhole-server forwarded the URL-decoded request path (r.URL.Path) to tunnel clients instead of the original request-target. Percent-encoded dot-segments (%2e) and separators (%2f) were decoded to ../ and / before reaching the local service.

Go's ServeMux rejects literal ../ paths, but percent-encoded traversal sequences bypassed this and were delivered to backends as working path traversal.

Impact

An unauthenticated remote attacker could read files outside the published web root on tunneled local services that resolve paths without canonicalization.

Example:

Encoded slashes (/a%2fb) could also bypass path-based access controls.

Fix

v0.1.2 forwards r.URL.EscapedPath() on the server and preserves the request-target on the CLI client.

Users should upgrade both openhole-server and the openhole CLI to v0.1.2 or later.

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.