CVE-2026-120311: Network-AI FileJobStore path traversal in job ID handling

CVE-2026-120311 · Severity: high · CVSS 8.8 · Published 2026-11-02

Network-AI is a Node.js library that manages background jobs with persistent storage. A path traversal vulnerability in the FileJobStore component allows attackers to read or delete arbitrary JSON files on the server, potentially exposing credentials, tokens, and configuration files, or disrupting service availability by removing critical data.

Technologies: Jovancoding Network-AI. Vendors: Jovancoding.

Quick answers

Is CVE-2026-120311 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-120311 being exploited in the wild.
How severe is CVE-2026-120311?
High severity, with a CVSS score of 8.8, published 2 November 2026.
Which products and versions are affected?
Jovancoding Network-AI 5.13.4 before 5.15.5.
Is there a fix for CVE-2026-120311?
Yes: fixed in 5.15.5. Until then: Restrict network exposure of job management APIs and validate or sanitize all job ID inputs before passing them to FileJobStore methods; alternatively, implement strict allowlisting of valid job ID formats to reject traversal sequences. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-120311 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-120311?
Check whether you run Jovancoding Network-AI at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 5.15.5

Restrict network exposure of job management APIs and validate or sanitize all job ID inputs before passing them to FileJobStore methods; alternatively, implement strict allowlisting of valid job ID formats to reject traversal sequences.

Technical details

The FileJobStore.get() and FileJobStore.delete() methods construct file paths by joining a configured directory with an unsanitized job ID and a .json suffix, without validating that the resolved path remains within the intended directory. An attacker who controls the job ID can supply relative path traversal sequences (e.g., "../../secret") to read or delete arbitrary .json files accessible to the process, bypassing directory containment. The vulnerability affects all callers including JobQueue.getJob() and JobQueue.cancel() which forward untrusted job IDs directly to the store methods.

Affected products

  • Jovancoding Network-AI 5.13.4 before 5.15.5

Timeline

  • 2026-10-17: disclosed
  • 2026-11-02: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.