{"data":{"id":"6f520f78-174b-4ef4-b41d-98b1e526d0c7","title":"GHSA-6x2m-p4xp-wg22: Network-AI: EnvironmentManager.backup() follows symlinked directories and copies files outside the environment root into backups","summary":"Network-AI's EnvironmentManager.backup() recursively collects files with _collectBackupFiles(), which calls statSync() and therefore follows symlinks. A symlink under data/<env> pointing to a directory outside the environment root causes backup() to copy external files into data/<env>/.backups/<backupId>/, confirmed in version 5.12.1. The source reports no RCE chain.","solution":"Fixed in v5.12.2 (commit a59c13a): _collectBackupFiles() now uses lstatSync instead of statSync and skips any entry where isSymbolicLink() is true, so symlinks are never traversed. Install with npm install network-ai@5.12.2.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-6x2m-p4xp-wg22","publishedAt":"2026-06-19T21:42:36.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":"medium","severity":"medium","attackType":["other"],"issueType":"vulnerability","affectedPackages":["network-ai@<= 5.12.1 (fixed: 5.12.2)"],"affectedPackageNames":["network-ai"],"affectedPackageRefs":["npm:network-ai"],"affectedVendors":[],"affectedVendorsRaw":["Network-AI"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"epssCheckedAt":null,"kevDateAdded":null,"advisoryAliases":["GHSA-6x2m-p4xp-wg22"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-06-19T21:42:36.000Z","fixReleasedAt":"2026-06-18T21:17:50.389Z","daysToFix":-1,"fixCheckedAt":"2026-10-29T21:34:04.652Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.8,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"npm","name":"network-ai","fixedVersion":"5.12.2","matchedVersion":"5.12.2","fixReleasedAt":"2026-06-18T21:17:50.389Z","daysToFix":-1,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:34:04.507Z"}]}}