{"id":"CVE-2026-54650","aliases":["CVE-2026-54650","GHSA-fh2f-xfxc-q9cc","GO-2026-6135"],"related":[],"kind":"vulnerability","state":"published","title":"openhole-server vulnerable to path traversal via URL-decoded request path","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nopenhole-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.\n\nGo's ServeMux rejects literal `../` paths, but percent-encoded traversal sequences bypassed this and were delivered to backends as working path traversal.\n\n## Impact\n\nAn unauthenticated remote attacker could read files outside the published web root on tunneled local services that resolve paths without canonicalization.\n\nExample:\n- `/%2e%2e/secret.txt` → file outside web root\n- `/%2e%2e/%2e%2e/etc/passwd` → sensitive files\n\nEncoded slashes (`/a%2fb`) could also bypass path-based access controls.\n\n## Fix\n\nv0.1.2 forwards `r.URL.EscapedPath()` on the server and preserves the request-target on the CLI client.\n\nUsers should upgrade both openhole-server and the openhole CLI to v0.1.2 or later.","format":"markdown","source":"ghsa"},{"lang":"en","text":"openhole-server vulnerable to path traversal via URL-decoded request path in github.com/bablilayoub/openhole","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-07-28T22:20:36.566Z","modified":"2026-10-23T23:10:00.157Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 0.1.2","status":"affected"}],"vendor":"bablilayoub","product":"openhole","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.1.2"}],"ecosystem":"Go","package":"github.com/bablilayoub/openhole","purl":"pkg:golang/github.com/bablilayoub/openhole","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.1.2"}],"ecosystem":"Go","package":"github.com/bablilayoub/openhole","purl":"pkg:golang/github.com/bablilayoub/openhole","source":"go"}],"references":[{"url":"https://github.com/bablilayoub/openhole/security/advisories/GHSA-fh2f-xfxc-q9cc","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/bablilayoub/openhole/commit/a28c27adde2a7ed0c347b730c8707208c0f78ed3","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/bablilayoub/openhole/releases/tag/v0.1.2","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/bablilayoub/openhole","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-29T14:21:27.402Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54650","url":"https://www.cve.org/CVERecord?id=CVE-2026-54650","licence":"CVE Terms of Use","modified":"2026-07-29T14:21:36.367Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fh2f-xfxc-q9cc","url":"https://github.com/advisories/GHSA-fh2f-xfxc-q9cc","licence":"CC-BY-4.0","modified":"2026-08-18T15:10:46.979Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6135","url":"https://pkg.go.dev/vuln/GO-2026-6135","licence":"CC-BY-4.0","modified":"2026-08-18T15:00:21.351Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54650","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54650","licence":"Public domain","modified":"2026-10-23T23:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:30.393Z","epss":{"score":0.00361,"percentile":0.31918,"date":"2026-12-01T12:00:22.000Z"}}