← Back to search

CVE-2026-59179

8.3 HIGHpublic exploit available

Published 2026-10-28 · Updated 2026-10-29

AI risk analysis

Summary
The OpenHop server prior to v0.3.7 allows path traversal in flow route parameters (`/api/flows/:id`), enabling unauthenticated attackers to read or delete arbitrary `.yaml` files outside the intended directory via crafted `id` values that bypass `decodeURIComponent` and `path.join()` normalization.
Exploitability
Exploitation is straightforward for remote attackers due to lack of input validation, unauthenticated endpoints, and permissive CORS (`origin: true`) allowing any browser-originated requests; Docker defaults (`HOST=0.0.0.0`) expose the service directly.
Blast radius
Successful exploitation could lead to exposure of sensitive configuration files or secrets stored as YAML, and potential denial-of-service via deletion of critical `.yaml` files outside the flow directory.
Detection
Defenders should monitor for anomalous file access patterns in server logs, such as requests to `/api/flows/:id` with `%2e%2e` or `%2f` encoded sequences that resolve to paths outside the configured flow directory, especially when followed by YAML file reads or deletions.
Prioritized remediation
Upgrade to OpenHop server version 0.3.7 or later, which fixes the path traversal vulnerability by implementing an identifier allow-list and proper input sanitization.
path-traversalauth-bypasswebyamldocker

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

OpenHop is a tool for creating interactive data-flow diagrams. Prior to 0.3.7, `@openhop/server` passes unauthenticated flow route parameters from `GET /api/flows/:id` and `DELETE /api/flows/:id` in `packages/server/src/routes.ts` to `FlowStore.filePath()` in `packages/server/src/store.ts` without an identifier allow-list. The router applies `decodeURIComponent` to the id, and `path.join()` then normalizes traversal outside the configured flow directory after appending the .yaml extension. An attacker can read accessible YAML files as YAML-parsed JSON or permanently delete accessible .yaml files outside that directory, exposing configuration or secrets and disrupting dependent services. In `packages/server/src/index.ts`, CORS `origin: true` permits any browser origin, enabling a malicious webpage to target a loopback-bound instance. Docker deployments default to `HOST=0.0.0.0` and permit direct unauthenticated network access. This issue is fixed in repository release 0.3.7.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H

Weaknesses

CWE-22

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.