Authorization Bypass in Network-AI npm Package CVE-2026-64622
Network-AI (npm: network-ai) versions 5.12.2 through 5.13.3 are vulnerable to an authorization bypass (CVE-2026-64622) that allows unauthenticated actors to access sensitive approval request details via specific GET read routes like /approvals/. This vulnerability discloses critical information such as shell-command strings, file paths, justifications, and risk levels. Additionally, a hardcoded 'Access-Control-Allow-Origin: *' header in responses facilitates cross-origin data disclosure, enabling potential exfiltration from malicious websites an operator might visit.
CVE-2026-64622 impacts network-ai npm package versions 5.12.2 through 5.13.3, allowing unauthenticated actors to bypass authorization checks on specific GET read routes related to the ApprovalInbox. This flaw means that even when a secret is configured, sensitive approval request details become accessible without authentication. The affected routes, including /approvals/?status=all, /approvals/:id, /approvals/stats, and /approvals/sse, disclose full ApprovalEntry content such as action/target shell-command strings, file paths, justifications, and risk levels. Compounding the issue, all responses from these routes carry a hardcoded Access-Control-Allow-Origin: * header, which facilitates cross-origin data disclosure. This allows malicious websites, if visited by an operator, to potentially exfiltrate the exposed sensitive data. This vulnerability represents an incomplete fix for a previously identified issue (GHSA-mxjx-28vx-xjjj).
Attack Chain
- An unauthenticated attacker identifies a
network-aiinstance running vulnerable versions 5.12.2 through 5.13.3. - The attacker sends an unauthenticated HTTP GET request to one of the vulnerable
ApprovalInboxread routes, such as/approvals/?status=all,/approvals/:id,/approvals/stats, or/approvals/sse. - Due to the CVE-2026-64622 authorization bypass, the
network-aiapplication fails to apply the configuredcheckAuth/secret. - The application responds with full
ApprovalEntrycontent, which includes sensitive data like shell-command strings, file paths, justifications, and risk levels, without requiring authentication. - The response also contains a hardcoded
Access-Control-Allow-Origin: *header, making the disclosed data vulnerable to cross-origin access. - If an operator of the
network-aiapplication visits a malicious website, that website can initiate cross-origin requests to the vulnerablenetwork-aiinstance. - The malicious website successfully retrieves the sensitive approval data and exfiltrates it to an attacker-controlled server.
Impact
Successful exploitation of CVE-2026-64622 leads to unauthorized disclosure of highly sensitive information, including critical operational details like shell-command strings, internal file paths, and business justifications for approvals. This exposure can provide attackers with valuable intelligence for further attacks, potentially leading to privilege escalation, system compromise, or data manipulation. The hardcoded Access-Control-Allow-Origin: * header also enables severe privacy and data exfiltration risks, as any visited malicious website could programmatically extract this sensitive data, impacting organizations using the vulnerable versions.
Recommendation
- Patch CVE-2026-64622 by immediately updating the
network-ainpm package to a version outside the affected range (i.e., higher than 5.13.3 or lower than 5.12.2 if applicable). - Deploy the Sigma rule "Detect CVE-2026-64622 Exploitation Attempts on Network-AI" to your SIEM solution to alert on suspicious access patterns.
- Monitor web server access logs for unauthenticated GET requests to the
/approvals/?status=all,/approvals/:id,/approvals/stats, and/approvals/sseendpoints, referencing the log source categorywebserver. - Implement Web Application Firewall (WAF) rules to restrict or block unauthenticated access to the
network-ai/approvals/*paths mentioned in the attack chain, if not required for legitimate operations.
Detection coverage 1
Detect CVE-2026-64622 Exploitation Attempts on Network-AI
highDetects exploitation attempts for CVE-2026-64622, an authorization bypass in network-ai, by monitoring unauthenticated GET requests to sensitive /approvals/ routes.
Detection queries are available on the platform. Get full rules →