Skip to main content
← All vulnerabilities
CVE-2026-59179EUVD-2026-112080GHSA-G72F-JW3W-MGH7

OpenHop: Path Traversal in Flow ID File Operations

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.7, 0.3.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

OpenHop's server component (@openhop/server), used for creating interactive data-flow diagrams, is affected. Unauthenticated attackers can read or permanently delete .yaml files outside the intended flow directory, potentially exposing configuration data or secrets and disrupting dependent services.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • naorsabag openhop

    fixed in 0.3.7

  • @openhop/servernpm

    fixed in 0.3.6

References 4

GitHub · naorsabag/openhop