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.
Published: 2026-07-28
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

openhole-server, for releases 0.1.1 and earlier, forwards r.URL.Path instead of the original escaped path r.URL.EscapedPath() in its public_proxy handler. This allows an attacker to include percent‑encoded dot and slash characters that are decoded to "../" and "/" and thus traverse directories or reach services that the proxy forwards to local services on the host. The flaw enables a remote user who can send a crafted HTTP request to the exposed proxy to access internal services or files that should otherwise be inaccessible, violating confidentiality and potentially allowing further exploitation.

Affected Systems

The vendor bablilayoub hosts openhole, a tool that can expose localhost to the internet via a single command. Versions 0.1.1 and earlier of openhole-server are affected. The fix was introduced in release v0.1.2, which now uses r.URL.EscapedPath() and removes the vulnerability.

Risk and Exploitability

The CVSS score of 8.6 classifies the vulnerability as high severity. The EPSS score is less than 1%, indicating a low current exploitation probability, and it is not listed in CISA’s KEV catalog. The attack vector is inferred to be an HTTP(S) request directly to the exposed proxy endpoint. Once the attacker reaches the proxy with a crafted URL, the path traversal can be exercised immediately, making the vulnerability readily exploitable on any system where openhole is launched with public internet access.

Generated by OpenCVE AI on August 3, 2026 at 14:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade openhole to version 0.1.2 or newer to apply the fixed handler that uses r.URL.EscapedPath().
  • If an upgrade cannot be performed immediately, restrict access to the public_proxy endpoint so that it is reachable only from a trusted internal network or block it entirely via firewall rules.
  • Modify the public_proxy code to replace all uses of r.URL.Path with r.URL.EscapedPath() to eliminate the traversal possibility while a proper upgrade is pending.

Generated by OpenCVE AI on August 3, 2026 at 14:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-fh2f-xfxc-q9cc openhole-server vulnerable to path traversal via URL-decoded request path
History

Wed, 29 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Bablilayoub
Bablilayoub openhole
Vendors & Products Bablilayoub
Bablilayoub openhole
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 28 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
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.
Title openhole-server vulnerable to path traversal via URL-decoded request path
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}


Subscriptions

Bablilayoub Openhole
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-29T14:21:36.367Z

Reserved: 2026-06-15T20:16:46.198Z

Link: CVE-2026-54650

cve-icon Vulnrichment

Updated: 2026-07-29T14:21:32.917Z

cve-icon NVD

Status : Received

Published: 2026-07-28T23:17:08.763

Modified: 2026-07-29T15:16:25.093

Link: CVE-2026-54650

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T14:15:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')