CVE-2026-58414: Network-AI: EnvironmentManager.backup() follows symlinked directories and copies files outside the environment root into backups

Published Jul 20, 2026
·
Updated

Network-AI is a TypeScript/Node.js multi-agent orchestrator. Prior to version 5.12.2, EnvironmentManager.backup() recursively collects files using collectBackupFiles(). collectBackupFiles() uses statSync(full), which follows symlinks. If data/<env> contains a symlink to a directory outside the environment root, backup recursion follows the symlink and copies external files into data/<env>/.backups/<backupId>/. An attacker who can place a symlink under the environment data directory can cause backup operations to disclose files outside the environment root into backup artifacts. The issue is fixed in v5.12.2. collectBackupFiles() now uses lstatSync instead of statSync and skips any entry where isSymbolicLink() is true. Symlinks are never traversed, so backup() can no longer follow a link out of the environment root and copy external files into a backup artifact.

Affected Software

2 affected components
Network-AI Network-AI<5.12.2
Network-AI Network-AI<5.12.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Network-AI to a version that resolves this vulnerability.

    Fixed in 5.12.2
  2. Configuration

    Update Network-AI so _collectBackupFiles() uses lstatSync rather than statSync and skips any entry where isSymbolicLink() is true, preventing backup recursion from traversing symlinks outside the environment root.

    Network-AI EnvironmentManager.backup() / _collectBackupFiles() symlink handling = Use lstatSync and skip entries where isSymbolicLink() is true (instead of statSync that follows symlinks)

Event History

Jul 20, 2026
CVE Published
via MITRE·04:28 PM
Data Sourced
via MITRE·04:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:18 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-58414?

CVE-2026-58414 has a medium severity rating of 5.5.

2

How do I fix CVE-2026-58414?

To fix CVE-2026-58414, update Network-AI to version 5.12.2 or later.

3

What does CVE-2026-58414 affect?

CVE-2026-58414 affects the backing up functionality of the EnvironmentManager in Network-AI prior to version 5.12.2.

4

What is the nature of the vulnerability in CVE-2026-58414?

The vulnerability allows `EnvironmentManager.backup()` to follow symlinks, potentially exposing files outside the environment root.

5

What types of environments are impacted by CVE-2026-58414?

CVE-2026-58414 impacts TypeScript/Node.js environments utilizing the Network-AI orchestrator.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203