{"answers":{"affected":"2 open source packages ship an affected version, including network-ai. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-58482 exists.","fix":"Upgrade network-ai to 5.12.2 or later.","what":"CVE-2026-58482 is a medium-severity missing authorization vulnerability in Jovancoding Network-AI, published on 20 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-58482 and fix it if it is affected.\n\nWhat it is: CVE-2026-58482 is a medium-severity missing authorization vulnerability in Jovancoding Network-AI, published on 20 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-58482 exists.\n\nAffected packages and fixed versions:\n- network-ai (npm): affected from 5.0.0; fixed in 5.12.2\n- network-ai (npm): affected from 5.0.0; fixed in 5.12.2\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-58482/ (Markdown: https://insights.sbomify.com/CVE-2026-58482/index.md)","id":"CVE-2026-58482","markdown":"https://insights.sbomify.com/CVE-2026-58482/index.md","name":"CVE-2026-58482","record":{"aliases":["GHSA-mxjx-28vx-xjjj"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js agent orchestrator","requires_auth":"none","summary":"Unauthenticated HTTP endpoints in Network-AI allow attackers to bypass human-in-the-loop controls and execute high-risk agent actions without consent.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"network-ai","vendor":"network-ai"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"},{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"Network-AI, a TypeScript/Node.js multi-agent orchestrator, has a shipped, exported, documented feature called `ApprovalInbox` (`lib/approval-inbox.ts`). It is the network surface of the human-in-the-loop Approval Gate, which `ApprovalGate` uses to require explicit human approval for high-risk operations. The HTTP server it exposes has no authentication of any kind and sets `Access-Control-Allow-Origin: *` on every route, including the state-changing `POST /approvals/:id/approve` and `/deny`. As a result, in versions 5.0.0 through 5.12.1, any party who can send an HTTP request to the inbox port — a co-located process, a container/SSRF on the same host, a remote client when the operator binds a non-loopback address, or any website the operator visits in a browser (via the wildcard CORS) — can enumerate pending approvals and approve them, defeating the entire human-in-the-loop control and causing the gated high-risk action (e.g. a shell command the agent was holding for review) to execute without consent. This issue is fixed in v5.12.2. `ApprovalInbox` now accepts a `secret` option. When set, the mutating endpoints `POST /:id/approve` and `POST /:id/deny` require an `Authorization: Bearer \u003csecret\u003e` header, validated in constant time with `crypto.timingSafeEqual`. `startServer()` already binds to `127.0.0.1` by default; operators exposing the inbox on a network must set a secret.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Network-AI: ApprovalInbox HTTP server has no authentication — anyone can approve pending agent actions","id":"CVE-2026-58482","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"mcp-searxng: Unbounded Response Body Read Bypasses URL Size Limit in `web_url_read`","id":"CVE-2026-58483"},"packages":[{"ecosystem":"npm","fixed":["5.12.2"],"introduced":["5.0.0"],"last_affected":[],"package":"network-ai","purl":null,"source":"GHSA-mxjx-28vx-xjjj"},{"ecosystem":"npm","fixed":["5.12.2"],"introduced":["5.0.0"],"last_affected":[],"package":"network-ai","purl":"pkg:npm/network-ai","source":"GHSA-mxjx-28vx-xjjj"}],"prev":{"headline":"Network-AI: AgentRuntime sandbox path-prefix checks allow file access outside the configured base directory","id":"CVE-2026-58481"},"products":["Network-AI"],"published":"2026-07-20","related":[{"cvss_score":7.6,"headline":"Network-AI: Unauthenticated Cross-Origin MCP Tool Invocation via Empty Default Secret","id":"CVE-2026-46701","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":7.1,"headline":"Network-AI: Poisoned environment backup manifest allows arbitrary recursive deletion during backup pruning","id":"CVE-2026-58484","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":6.5,"headline":"Network-AI: AgentRuntime sandbox path-prefix checks allow file access outside the configured base directory","id":"CVE-2026-58481","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":6.1,"headline":"EnvironmentManager.restore() backup ID path traversal copies arbitrary directories into environment data","id":"CVE-2026-58413","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":5.5,"headline":"Network-AI: EnvironmentManager.backup() follows symlinked directories and copies files outside the environment root into backups","id":"CVE-2026-58414","kev_date_added":null,"published":"2026-07-20"}],"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":"US public information, NVD API terms","name":"NVD"},{"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-07-20","vendors":["Jovancoding"]},"summary":"Unauthenticated HTTP endpoints in Network-AI allow attackers to bypass human-in-the-loop controls and execute high-risk agent actions without consent.","url":"https://insights.sbomify.com/CVE-2026-58482/"}