---
id: CVE-2026-54650
title: openhole exposes localhost to the internet in one command
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…
severity: high
cvss: 8.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'
cwe:
  - CWE-22
vendor: bablilayoub
product: github.com/bablilayoub/openhole
affected:
  - github.com/bablilayoub/openhole <= 0.1.1
patched:
  - github.com/bablilayoub/openhole 0.1.2
published: '2026-07-28'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T20:05:05.293'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54650'
references:
  - url: >-
      https://github.com/bablilayoub/openhole/commit/a28c27adde2a7ed0c347b730c8707208c0f78ed3
    label: security-advisories@github.com
  - url: 'https://github.com/bablilayoub/openhole/releases/tag/v0.1.2'
    label: security-advisories@github.com
  - url: >-
      https://github.com/bablilayoub/openhole/security/advisories/GHSA-fh2f-xfxc-q9cc
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-fh2f-xfxc-q9cc'
tags:
  - nvd
  - ghsa
  - go
epss: 0.0053
epssPercentile: 0.42376
aliases:
  - GHSA-fh2f-xfxc-q9cc
ecosystem: go
ingestedAt: '2026-07-28T22:40:03.173Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-54650)

Affected packages:

- `github.com/bablilayoub/openhole <= 0.1.1`

Patched in:

- `github.com/bablilayoub/openhole 0.1.2`

Source: https://github.com/advisories/GHSA-fh2f-xfxc-q9cc
