{"id":"CVE-2026-36044","aliases":["EUVD-2026-32683","GHSA-r7p8-h82j-w6x6"],"status":"disputed","title":"@pensar/apex \u003c= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool. The...","description":"@pensar/apex \u003c= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool. The createSmartEnumerateTool() function in src/core/agent/tools.ts constructs a shell command by concatenating unsanitized values from the extensions array and url parameter into a string passed to Node.js child_process.exec(). Because exec() spawns a shell, shell metacharacters in those values are interpreted by the host shell, resulting in arbitrary OS command execution with the privileges of the running process. NOTE: this is disputed by the Supplier because the report is about intended behavior, as explained in the Security Policy of the pensarai/apex GitHub repo.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:R","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01852,"percentile":0.79415,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-78"],"published":"2026-05-27T00:00:00Z","modified":"2026-06-17T10:41:02Z","references":[{"url":"https://www.npmjs.com/package/@pensar/apex"},{"url":"https://gist.github.com/NucleiAv/47e87da08b90ef464fd9b35affe578fb"},{"url":"https://github.com/pensarai/apex/security"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-36044"},{"url":"https://github.com/advisories/GHSA-r7p8-h82j-w6x6"}],"sources":{"cve":[{"id":"CVE-2026-36044","description":"@pensar/apex \u003c= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool. The createSmartEnumerateTool() function in src/core/agent/tools.ts constructs a shell command by concatenating unsanitized values from the extensions array and url parameter into a string passed to Node.js child_process.exec(). Because exec() spawns a shell, shell metacharacters in those values are interpreted by the host shell, resulting in arbitrary OS command execution with the privileges of the running process. NOTE: this is disputed by the Supplier because the report is about intended behavior, as explained in the Security Policy of the pensarai/apex GitHub repo.","status":"disputed","published":"2026-05-27T00:00:00Z","modified":"2026-06-03T03:41:20.766Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:R","level":"high","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:19:55.176387Z"}],"euvd":[{"id":"EUVD-2026-32683","description":"@pensar/apex \u003c= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool. The createSmartEnumerateTool() function in src/core/agent/tools.ts constructs a shell command by concatenating unsanitized values from the extensions array and url parameter into a string passed to Node.js child_process.exec(). Because exec() spawns a shell, shell metacharacters in those values are interpreted by the host shell, resulting in arbitrary OS command execution with the privileges of the running process. NOTE: this is disputed by the Supplier because the report is about intended behavior, as explained in the Security Policy of the pensarai/apex GitHub repo.","status":"published","published":"2026-05-27T00:00:00Z","modified":"2026-06-03T03:41:20Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:R","level":"high"}],"updated_at":"2026-11-02T18:20:55.231104Z"}],"ghsa":[{"id":"GHSA-r7p8-h82j-w6x6","title":"@pensar/apex \u003c= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool. The...","description":"@pensar/apex \u003c= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool. The createSmartEnumerateTool() function in src/core/agent/tools.ts constructs a shell command by concatenating unsanitized values from the extensions array and url parameter into a string passed to Node.js child_process.exec(). Because exec() spawns a shell, shell metacharacters in those values are interpreted by the host shell, resulting in arbitrary OS command execution with the privileges of the running process.","status":"published","published":"2026-05-27T15:33:11Z","modified":"2026-06-03T06:31:27Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:08:30.717444Z"}],"nvd":[{"id":"CVE-2026-36044","description":"@pensar/apex \u003c= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool. The createSmartEnumerateTool() function in src/core/agent/tools.ts constructs a shell command by concatenating unsanitized values from the extensions array and url parameter into a string passed to Node.js child_process.exec(). Because exec() spawns a shell, shell metacharacters in those values are interpreted by the host shell, resulting in arbitrary OS command execution with the privileges of the running process. NOTE: this is disputed by the Supplier because the report is about intended behavior, as explained in the Security Policy of the pensarai/apex GitHub repo.","status":"disputed","published":"2026-05-27T14:16:45.143Z","modified":"2026-06-17T10:41:02.783Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:12:20.511562Z"}]}}
