Skip to main content
Vulnerability Database/CVE-2026-112102

CVE-2026-112102: AXA Group NLP.js RCE Vulnerability

CVE-2026-112102 is a code injection flaw in AXA Group NLP.js 4.27.0 affecting the Evaluator.walkFunction component. Attackers can exploit this remotely to execute arbitrary code. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-112102 Overview

CVE-2026-112102 is a code injection vulnerability [CWE-74] in AXA Group NLP.js version 4.27.0, an open-source Natural Language Processing (NLP) library used for building conversational agents and intent classifiers. The flaw resides in the Evaluator.walkFunction method within packages/evaluator/src/evaluator.js, part of the Condition Expression Pipeline. Attackers can manipulate the condition argument to inject and execute arbitrary code. The exploit has been published, and the project maintainers were notified via a public GitHub issue but have not yet responded. Exploitation requires user interaction and can be launched remotely.

Critical Impact

Remote attackers can inject code into applications that pass untrusted input through the NLP.js evaluator, with public proof-of-concept available.

Affected Products

  • AXA Group NLP.js 4.27.0
  • Applications embedding the NLP.js evaluator package
  • Conversational AI and chatbot services using the Condition Expression Pipeline

Discovery Timeline

  • 2026-10-19 - CVE-2026-112102 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-112102

Vulnerability Analysis

The vulnerability resides in the walkFunction method of the Evaluator class in packages/evaluator/src/evaluator.js. NLP.js uses this evaluator to parse and execute conditional expressions during intent and entity processing. When the evaluator walks a condition expression, it does not sufficiently isolate or sanitize the condition argument before passing it into a dynamic execution path. This behavior enables code injection when attacker-controlled strings reach the evaluator.

Applications that forward user input (such as chat messages, API requests, or form fields) into NLP.js condition expressions expose themselves to arbitrary JavaScript execution within the host process. In Node.js environments, this translates to execution with the privileges of the running service.

Root Cause

The root cause is improper neutralization of special elements in a downstream component [CWE-74]. The walkFunction method treats the condition argument as trusted expression input rather than as potentially hostile data. There is no allowlist, sandbox, or syntactic validation enforcing that the expression only contains safe tokens.

Attack Vector

The attack is network-reachable and requires some user interaction, as reflected by the UI:P component of the CVSS 4.0 vector. An attacker crafts a malicious condition string and submits it through any application interface that forwards the value into NLP.js. When the evaluator processes the input, the injected payload executes. A public proof-of-concept archive is referenced in the advisory on the GitHub Issue Discussion.

No synthetic exploit code is reproduced here. See the VulDB CVE-2026-112102 entry for technical details.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-112102

Indicators of Compromise

  • Unexpected child processes spawned by Node.js services running NLP.js, such as /bin/sh, node -e, or outbound curl invocations
  • Anomalous outbound network connections from chatbot or NLP backend workloads to unknown hosts
  • Log entries showing malformed or script-like strings submitted to NLP intent or condition endpoints

Detection Strategies

  • Instrument the Evaluator.walkFunction call path to log every condition expression evaluated at runtime
  • Deploy web application firewall rules that identify JavaScript keywords (require, process, child_process, global) inside NLP input fields
  • Correlate Node.js process telemetry with user-input events to flag input-triggered process execution

Monitoring Recommendations

  • Monitor Node.js runtime for unexpected use of eval, Function, or vm module APIs by the NLP.js worker
  • Alert on new outbound sockets, file writes outside application directories, or shell invocations from the NLP service account
  • Review application logs for repeated 4xx or 5xx errors from NLP endpoints that may indicate injection probing

How to Mitigate CVE-2026-112102

Immediate Actions Required

  • Inventory services that depend on @nlpjs/evaluator or NLP.js 4.27.0 and identify any paths that pass untrusted input to condition expressions
  • Place NLP.js workloads behind input validation that rejects expressions containing JavaScript syntax tokens
  • Restrict the Node.js service account using OS-level sandboxing, seccomp, or container privilege reduction

Patch Information

At time of publication, no vendor patch is available. The maintainers of the AXA Group NLP.js project were notified through the GitHub Issue Discussion but have not responded. Track the issue and the VulDB Vulnerability #421981 entry for updates.

Workarounds

  • Avoid passing user-supplied strings directly to Evaluator.walkFunction or any @nlpjs/evaluator API that accepts a condition argument
  • Wrap evaluator calls in a strict allowlist that permits only known-safe condition identifiers
  • Run NLP.js inside an isolated worker process or container with no filesystem write access and no outbound network egress except required endpoints
  • Consider pinning to a forked build with the evaluator disabled until an upstream fix is released
bash
# Configuration example: audit project for vulnerable package
npm ls @nlpjs/evaluator
npm ls node-nlp | grep 4.27.0

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.