High, CVSS 8.3npmAmendedPublished
@openhop/server: Path Traversal in Flow ID File Operations
CVE-2026-59179 · GHSA-g72f-jw3w-mgh7
- Affected
- npm @openhop/server <= 0.3.5
- Fixed in
- 0.3.6· Vendor fix available
- Issue
- Path Traversal in Flow ID File Operations Summary @openhop/server passes unsanitized HTTP route parameters directly to path.join() when constructing filesystem paths for flow YAML files. An unauthenticated attacker who can reach the server can read arbitrary .yaml files accessible to the OpenHop process outside the configured flow directory, and can delete arbitrary .yaml files at any path reachable by the process. Because CORS is set to origin: true (allow all origins), a victim's browser can be used to exploit the vulnerability against a loopback-bound instance. Docker deployments bind HOST=0.0.0.0 by default, enabling direct remote exploitation. CVSS Base Score: 8.3 (High). Details FlowStore.filePath() in packages/server/src/store.ts:52–53 constructs a filesystem path by concatenating the caller-supplied id directly into path.join: This result is consumed by two sinks: - Read (packages/server/src/store.ts:78): readFile(this.filePath(id), 'utf-8') - Delete…
Recommended action: Upgrade to 0.3.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.