/

CVE-2026-120311

Severity:

HIGH RISK

(8.8)

Path Traversal (CWE-23) in Network-AI FileJobStore

CVE-2026-120311

Deferred

Vulnerability type

Category:

Path Traversal

CWE:

CWE-23

Impact:

Unauthorized file disclosure and deletion

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Network-AI's FileJobStore can be affected by path traversal when a job ID containing traversal sequences is used to locate a JSON file. An attacker who can control the ID passed to the affected lookup or deletion methods may read or delete files outside the intended job storage area, potentially exposing credentials or weakening authorization.

Affected context

The issue concerns FileJobStore operations in Network-AI, including FileJobStore.get(), FileJobStore.delete(), and the JobQueue.getJob() path that uses a job ID. It is relevant when an attacker can influence that ID and the application uses it to construct a file path without adequately constraining the resolved path. Affected releases are Network-AI versions from 5.13.4 up to, but not including, 5.15.5.

Exploit preconditions

  • Attack surface: Job lookup or deletion functionality backed by FileJobStore.
  • Required access: Ability to supply or influence the job ID; the exact access requirement depends on how the application exposes these operations.
  • Trigger point: A call to FileJobStore.get(), FileJobStore.delete(), or JobQueue.getJob() using the supplied ID.
  • Why exploitation is possible: Traversal sequences in the ID may cause file operations to resolve outside the intended storage directory.

Why this happens

The underlying bug is improper neutralization of path elements supplied as part of a job ID. If the ID is incorporated into a filesystem path without canonicalizing and constraining the resolved path to the intended directory, traversal sequences may direct file operations to other locations. This is a path traversal weakness categorized as CWE-23.

Potential impact

  • An attacker may read arbitrary JSON files accessible to the application process.
  • Credentials or grant tokens stored in readable files could be disclosed.
  • An attacker could delete configuration files, potentially weakening AuthGuardian authorization.
  • Application behavior or security controls could be disrupted.

General mitigation guidance

Common defensive patterns include:

  • Treat job IDs as untrusted input and accept only a narrowly defined identifier format.
  • Resolve candidate paths and verify that they remain within the intended storage directory before performing file operations.
  • Prefer opaque identifiers and storage APIs that avoid deriving filesystem paths directly from user-controlled values.
  • Restrict the application process's filesystem permissions so it can access only the files it needs.
  • Protect sensitive credentials and authorization configuration with separate access controls and avoid placing them in broadly readable locations.

How teams detect issues like this

  • Use static analysis to identify filesystem paths built from job IDs or other externally influenced values.
  • Review file lookup and deletion code for canonicalization and checks that constrain resolved paths to the intended directory.
  • Add tests and security policies that verify invalid identifiers are rejected and file operations cannot escape the storage boundary.
  • Monitor for unexpected reads or deletions of JSON files and changes to authorization-related configuration.

Automated code review tools may help flag potentially unsafe path construction for manual review.

Sources

SourceLink
github.comgithub.com/Jovancoding/Network-AI/security/advisories/GHSA-v64j-mc7x-c7x7
vulncheck.comvulncheck.com/advisories/network-ai-5.13.4-before-5.15.5-path-traversal-via-filejobstore-job-id

Frequently asked

questions

If the attacker can control a job ID used by the affected operations, they may be able to read or delete JSON files outside the intended job storage area.

The access requirement depends on how the application exposes job lookup and deletion. The key prerequisite is the ability to influence the ID passed to an affected operation.

Validate IDs against a strict format and ensure every resolved file path remains within the intended storage directory before reading or deleting it.

Treat identifiers as untrusted, avoid direct path construction from user-controlled values, limit filesystem privileges, and test that file operations cannot escape their designated storage boundary.

Find out what's already
exploitable in your codebase.