{"answers":{"affected":"2 open source packages ship an affected version, including @openhop/server.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59179 exists.","fix":"Upgrade @openhop/server to 0.3.6 or later.","what":"CVE-2026-59179 is a high-severity vulnerability in naorsabag openhop, published on 28 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-59179 and fix it if it is affected.\n\nWhat it is: CVE-2026-59179 is a high-severity vulnerability in naorsabag openhop, published on 28 Oct 2026. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59179 exists.\n\nAffected packages and fixed versions:\n- @openhop/server (npm): affected all versions; fixed in 0.3.6\n- @openhop/server (npm): affected all versions; fixed in 0.3.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-59179/ (Markdown: https://insights.sbomify.com/CVE-2026-59179/index.md)","id":"CVE-2026-59179","markdown":"https://insights.sbomify.com/CVE-2026-59179/index.md","name":"CVE-2026-59179","record":{"aliases":["GHSA-g72f-jw3w-mgh7"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"OpenHop: Path Traversal in Flow ID File Operations","id":"CVE-2026-59179","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"Apprise forwards configured auth headers across cross-origin HTTP redirects","id":"CVE-2026-59180"},"packages":[{"ecosystem":"npm","fixed":["0.3.6"],"introduced":["0"],"last_affected":[],"package":"@openhop/server","purl":null,"source":"GHSA-g72f-jw3w-mgh7"},{"ecosystem":"npm","fixed":["0.3.6"],"introduced":["0"],"last_affected":[],"package":"@openhop/server","purl":"pkg:npm/%40openhop/server","source":"GHSA-g72f-jw3w-mgh7"}],"prev":{"headline":"ESPHome Device Builder: Renamed auth env vars silently disable dashboard authentication on upgrade","id":"CVE-2026-59178"},"products":["openhop"],"published":"2026-10-28","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-29","vendors":["naorsabag"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-59179/"}