Path traversal in OpenHop flow ID file operations
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
OpenHop before 0.3.7 and @openhop/server before 0.3.6 build file paths from the flow ID in request URLs without validating it, a path traversal flaw (CWE-22). An unauthenticated remote attacker can read YAML files outside the flow directory, exposing configuration or secrets, or permanently delete them, disrupting dependent services. Docker deployments default to listening on all interfaces, and CORS allows any browser origin to reach a loopback-bound instance.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| naorsabag | openhop | before 0.3.7 | 0.3.7 | Patch available | CNA |
| — | @openhop/server (npm) | before 0.3.6 | 0.3.6 | Patch available | GHSA-g72f-jw3w-mgh7 |
- openhop Vendornaorsabag Affected before 0.3.7 Fixed in 0.3.7 Patch available CNA
- @openhop/server (npm) Vendor— Affected before 0.3.6 Fixed in 0.3.6 Patch available GHSA-g72f-jw3w-mgh7
Remediation
Update OpenHop to 0.3.7 and @openhop/server to 0.3.6.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA openhop (naorsabag) Fixed in 0.3.7
- Fix · GHSA-g72f-jw3w-mgh7 @openhop/server (npm) Fixed in 0.3.6 Advisory →
Vendor assessments
Timeline
- 2026-10-28 Threatist record created from CVE-2026-59179
- 2026-10-29 CISA SSVC decision points changed
- 2026-10-29 Priority changed: MEDIUM → HIGH
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
Other 5
Sources
- CVE-2026-59179 · CVE Program
- CVE-2026-59179 · NVD
- FIRST EPSS
- CVE-2026-59179 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences