CVE-2026-59179
8.3 HIGHpublic exploit availablePublished 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.
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
- https://github.com/naorsabag/openhop/commit/c8190fbefa3a50e7b0c16c001d2e05b0e920cfb4
- https://github.com/naorsabag/openhop/pull/190
- https://github.com/naorsabag/openhop/releases/tag/v0.3.7
- https://github.com/naorsabag/openhop/security/advisories/GHSA-g72f-jw3w-mgh7
- https://github.com/naorsabag/openhop/security/advisories/GHSA-g72f-jw3w-mgh7
All references
- https://github.com/naorsabag/openhop/commit/c8190fbefa3a50e7b0c16c001d2e05b0e920cfb4
- https://github.com/naorsabag/openhop/pull/190
- https://github.com/naorsabag/openhop/releases/tag/v0.3.7
- https://github.com/naorsabag/openhop/security/advisories/GHSA-g72f-jw3w-mgh7
- https://github.com/naorsabag/openhop/security/advisories/GHSA-g72f-jw3w-mgh7
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-103257PoC
- CRITICALCVE-2026-103882
- CRITICALCVE-2026-115932PoC
- HIGHCVE-2026-116249PoC
- CRITICALCVE-2026-120213PoC
- HIGHCVE-2026-120315PoC
- CRITICALCVE-2026-121351
- CRITICALCVE-2026-121354
Related by shared AI tags and CWE weakness class. Browse the full archive.