# CVE-2026-59179: OpenHop: Path Traversal in Flow ID File Operations

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-09T23:51:59.000Z
- Modified: 2026-11-04T23:10:00.223Z
- Also known as: GHSA-g72f-jw3w-mgh7
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- naorsabag openhop: < 0.3.7
- @openhop/server (npm): before 0.3.6

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H`
- GitHub: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H`

## References

- <https://github.com/naorsabag/openhop/security/advisories/GHSA-g72f-jw3w-mgh7> (exploit, web)
- <https://github.com/naorsabag/openhop/pull/190>
- <https://github.com/naorsabag/openhop/commit/c8190fbefa3a50e7b0c16c001d2e05b0e920cfb4> (web)
- <https://github.com/naorsabag/openhop/releases/tag/v0.3.7>
- <https://github.com/naorsabag/openhop> (package)

## Sources

- CVE List: [CVE-2026-59179](https://www.cve.org/CVERecord?id=CVE-2026-59179), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-g72f-jw3w-mgh7](https://github.com/advisories/GHSA-g72f-jw3w-mgh7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-59179](https://nvd.nist.gov/vuln/detail/CVE-2026-59179), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2026-59179 · Whole record: https://cve.day/CVE-2026-59179.json · Rebuilt by cve.day 2026-11-25T22:59:47.619Z
