CVE-2026-58484
Full vulnerability record from the local CVENow database.
Description
Network-AI is a TypeScript/Node.js multi-agent orchestrator. Prior to version 5.12.2, `EnvironmentManager.listBackups()` reads each backup's `_manifest.json` and trusts the manifest's `path` field. `EnvironmentManager.pruneBackups()` later passes that trusted `entry.path` directly to `rmSync(entry.path, { recursive: true, force: true })`. An attacker who can place or modify a manifest inside `data/<env>/.backups/<name>/_manifest.json` can cause `network-ai env backup prune --env <env> --keep <n>` or any code path invoking `pruneBackups()` to recursively delete an arbitrary path accessible to the Network-AI process user. This is fixed in v5.12.2. `pruneBackups()` no longer passes `entry.path` from the on-disk manifest to `rmSync`. The deletion path is recomputed from a format-validated `entry.backupId`, and a `dirname` containment check confines deletion to exactly one level under the backups directory. A poisoned manifest (e.g. `"path": "/"`) is now inert.
View original CVE JSON
{
"id": "CVE-2026-58484",
"sourceIdentifier": "[email protected]",
"published": "2026-07-20T17:18:16.160",
"lastModified": "2026-10-24T20:10:00.137",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Network-AI is a TypeScript/Node.js multi-agent orchestrator. Prior to version 5.12.2, `EnvironmentManager.listBackups()` reads each backup's `_manifest.json` and trusts the manifest's `path` field. `EnvironmentManager.pruneBackups()` later passes that trusted `entry.path` directly to `rmSync(entry.path, { recursive: true, force: true })`. An attacker who can place or modify a manifest inside `data/<env>/.backups/<name>/_manifest.json` can cause `network-ai env backup prune --env <env> --keep <n>` or any code path invoking `pruneBackups()` to recursively delete an arbitrary path accessible to the Network-AI process user. This is fixed in v5.12.2. `pruneBackups()` no longer passes `entry.path` from the on-disk manifest to `rmSync`. The deletion path is recomputed from a format-validated `entry.backupId`, and a `dirname` containment check confines deletion to exactly one level under the backups directory. A poisoned manifest (e.g. `\"path\": \"/\"`) is now inert."
},
{
"lang": "es",
"value": "Network-AI es un orquestador multiagente de TypeScript/Node.js. Antes de la versión 5.12.2, “EnvironmentManager.listBackups()” lee el “_manifest.json” de cada copia de seguridad y confía en el campo “path” del manifiesto. “EnvironmentManager.pruneBackups()” posteriormente pasa ese “entry.path” confiable directamente a “rmSync(entry.path, { recursive: true, force: true })”. Un atacante que puede colocar o modificar un manifiesto dentro de “data/[env]/.backups/[name]/_manifest.json” puede causar que “network-ai env backup prune --env [env] --keep [n]” o cualquier ruta de código que invoque “pruneBackups()” elimine recursivamente una ruta arbitraria accesible para el usuario del proceso de Network-AI. Esto se ha corregido en la v5.12.2. “pruneBackups()” ya no pasa “entry.path” del manifiesto en disco a “rmSync”. La ruta de eliminación se vuelve a calcular a partir de un “entry.backupId” validado por formato, y una verificación de contención de “dirname” confina la eliminación a exactamente un nivel por debajo del directorio de copias de seguridad. Un manifiesto envenenado (p. ej., ’path’: ’/’) ahora es inerte."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "Jovancoding",
"product": "Network-AI",
"versions": [
{
"version": "< 5.12.2",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
"baseScore": 7.1,
"baseSeverity": "HIGH",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 1.8,
"impactScore": 5.2
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-20T18:52:35.175448Z",
"id": "CVE-2026-58484",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-22"
},
{
"lang": "en",
"value": "CWE-73"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:network-ai:network-ai:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.12.2",
"matchCriteriaId": "BF88D260-4A40-49E0-8A7C-7F568AD9BABC"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/Jovancoding/Network-AI/commit/a59c13a1f0ce0e8a0779a90343eef92fac5ab4c3",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/Jovancoding/Network-AI/releases/tag/v5.12.2",
"source": "[email protected]",
"tags": [
"Patch",
"Release Notes"
]
},
{
"url": "https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-2fmp-9rvw-hc96",
"source": "[email protected]",
"tags": [
"Exploit",
"Patch",
"Vendor Advisory"
]
},
{
"url": "https://github.com/Jovancoding/Network-AI/security/advisories/GHSA-2fmp-9rvw-hc96",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Exploit",
"Patch",
"Vendor Advisory"
]
}
]
}