CSRF in Jovancoding Network-Ai
CVE-2026-58482
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 <secret>` 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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N.
EPSS exploit prediction
EPSS: 0.002 (8.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 9th percentile — 8.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Jovancoding Network-Ai — versions >= 5.0.0, < 5.12.2
- Network-Ai
Weakness classification (CWE)
References
- github.com/Jovancoding/Network-AI/commit/a59c13a1f0ce0e8a0779a90343eef92fac5ab4… (Patch)
- github.com/Jovancoding/Network-AI/releases/tag/v5.12.2 (Patch, Release Notes)
- github.com/Jovancoding/Network-AI/security/advisories/GHSA-mxjx-28vx-xjjj (Exploit, Patch, Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-58482?
- CVE-2026-58482 is a medium-severity vulnerability in Jovancoding Network-Ai, classified under Cross-Site Request Forgery (CSRF). CVSS score: 5.9/10. Published 2026-07-20.
- How severe is CVE-2026-58482?
- Medium severity. CVSS v3 base score is 5.9 out of 10.