CVE Catalog

CVE-2026-59179

HighCVSS 8.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.39%

33th percentile - higher than 33% of all known CVEs

Summary

In @openhop/server prior to 0.3.7, unauthenticated flow route parameters from GET and DELETE /api/flows/:id are passed to FlowStore.filePath() without an identifier allow-list. After URI decoding and path.join() normalization, an attacker can read or permanently delete YAML files outside the flow directory, and CORS origin: true enables attacks from any browser origin.

Risk Assessment

An attacker can read configurations and secrets or delete YAML files outside the allowed directory, disrupting dependent services. Docker deployments with HOST=0.0.0.0 are exposed to direct unauthenticated network access.

Recommendation

Update @openhop/server to version 0.3.7 or later, restrict network access to the instance, and configure restrictive CORS.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS