8.6high
openhole-server vulnerable to path traversal via URL-decoded request path
- Severity
- 8.6high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-fh2f-xfxc-q9ccGO-2026-6135
Description
openhole exposes localhost to the internet in one command. In 0.1.1 and earlier, openhole-server in internal/server/public_proxy.go forwarded r.URL.Path instead of preserving the original request target with r.URL.EscapedPath(), allowing percent encoded dot segments %2e and separators %2f to reach tunneled local services as ../ and / for path traversal. This issue is fixed in version 0.1.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| bablilayoub openhole | < 0.1.2 | CVE List |
| github.com/bablilayoub/openhole (Go) | before 0.1.2 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
openhole exposes localhost to the internet in one command. In 0.1.1 and earlier, openhole-server in internal/server/public_proxy.go forwarded r.URL.Path instead of preserving the original request target with r.URL.EscapedPath(), allowing percent encoded dot segments %2e and separators %2f to reach tunneled local services as ../ and / for path traversal. This issue is fixed in version 0.1.2.
GitHub Advisory Database
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:
/%2e%2e/secret.txt→ file outside web root/%2e%2e/%2e%2e/etc/passwd→ sensitive files
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.
Go Vulnerability Database
openhole-server vulnerable to path traversal via URL-decoded request path in github.com/bablilayoub/openhole
NVD (es)
openhole expone localhost a internet en un solo comando. En la versión 0.1.1 y anteriores, openhole-server en internal/server/public_proxy.go reenviaba r.URL.Path en lugar de preservar el objetivo de la solicitud original con r.URL.EscapedPath(), permitiendo que los segmentos de punto codificados por porcentaje %2e y los separadores %2f llegaran a los servicios locales tunelizados como .. / y / para salto de ruta. Este problema está solucionado en la versión 0.1.2.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54650 changed 2026-07-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fh2f-xfxc-q9cc changed 2026-08-18 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6135 changed 2026-08-18 | CC-BY-4.0 |
| NVD | CVE-2026-54650 changed 2026-10-23 | Public domain |