{"schema":"threatline.record/2","record":{"id":"CVE-2026-59179","aliases":["GHSA-g72f-jw3w-mgh7"],"summary":"OpenHop: Path Traversal in Flow ID File Operations","details":"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.","categories":["Libraries & packages"],"product":"openhop","vendor":"naorsabag","ecosystem":"npm","affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-59179","source_modified_at":"2026-10-28T13:14:13.689Z","fetched_at":"2026-10-28T15:55:58.673066Z","product":"openhop","vendor":"naorsabag","versions":[{"version":"< 0.3.7","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-g72f-jw3w-mgh7","source_modified_at":"2026-09-10T00:10:58.205429Z","fetched_at":"2026-10-28T15:55:58.673066Z","package":{"name":"@openhop/server","ecosystem":"npm","purl":"pkg:npm/%40openhop/server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.6"}]}],"versions":[]}],"fixed_versions":[{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-g72f-jw3w-mgh7","source_modified_at":"2026-09-10T00:10:58.205429Z","fetched_at":"2026-10-28T15:55:58.673066Z","package":{"name":"@openhop/server","ecosystem":"npm","purl":"pkg:npm/%40openhop/server"},"version":"0.3.6"}],"cvss":8.3,"severity":"High","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-28T13:14:13.689Z","modified_at":"2026-10-28T13:14:13.689Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-59179","fetched_at":"2026-10-28T15:55:58.673066Z","source_modified_at":"2026-10-28T13:14:13.689Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-g72f-jw3w-mgh7","fetched_at":"2026-10-28T15:55:58.673066Z","source_modified_at":"2026-09-10T00:10:58.205429Z"}],"sources":["CVE List","OSV"],"references":[{"source":"CVE List","url":"https://github.com/naorsabag/openhop/security/advisories/GHSA-g72f-jw3w-mgh7","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/naorsabag/openhop/pull/190","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/naorsabag/openhop/commit/c8190fbefa3a50e7b0c16c001d2e05b0e920cfb4","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/naorsabag/openhop/releases/tag/v0.3.7","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-28T13:14:13.689Z","content_hash":"aa4cd74ea425df0d4d593eefe6d8c96e0537fe60657c832520b0dff421a35ddd"}}
