{"id":"GHSA-fh2f-xfxc-q9cc","revision":"3ce27aeded924d66ad07b5e1d452e9dd","records":[{"revision":"3ce27aeded924d66ad07b5e1d452e9dd","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-fh2f-xfxc-q9cc","aliases":["CVE-2026-54650","GO-2026-6135"],"title":"openhole-server vulnerable to path traversal via URL-decoded request path","description":"## 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.","state":0,"publishedAt":"2026-07-28T22:20:51+00:00","modifiedAt":"2026-08-18T15:10:46.9798725+00:00","affected":[{"ecosystem":"Go","name":"github.com/bablilayoub/openhole","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.1.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/bablilayoub/openhole/security/advisories/GHSA-fh2f-xfxc-q9cc","https://github.com/bablilayoub/openhole/commit/a28c27adde2a7ed0c347b730c8707208c0f78ed3","https://github.com/bablilayoub/openhole","https://github.com/bablilayoub/openhole/releases/tag/v0.1.2"],"sourceUrl":"https://github.com/advisories/GHSA-fh2f-xfxc-q9cc","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-fh2f-xfxc-q9cc","identifiers":["GHSA-fh2f-xfxc-q9cc","CVE-2026-54650","GO-2026-6135"]},"retained":false,"historicalAffected":[]}],"coverage":[]}