{"id":"CVE-2026-36044","aliases":["CVE-2026-36044"],"related":[],"kind":"vulnerability","state":"published","title":"@pensar/apex <= 0.0.58 is vulnerable to OS command injection via the smartenumerate tool.","summary":"@pensar/apex <= 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@pensar/apex <= 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.","source":"cvelist"}],"published":"2026-05-27T00:00:00.000Z","modified":"2026-06-17T10:41:02.783Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:R","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:R","score":8.8,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"}],"references":[{"url":"https://www.npmjs.com/package/@pensar/apex","tags":[],"sources":["cvelist","nvd"]},{"url":"https://gist.github.com/NucleiAv/47e87da08b90ef464fd9b35affe578fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/pensarai/apex/security","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-29T15:36:48.516Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-36044","url":"https://www.cve.org/CVERecord?id=CVE-2026-36044","licence":"CVE Terms of Use","modified":"2026-06-03T03:41:20.766Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-36044","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-36044","licence":"Public domain","modified":"2026-06-17T10:41:02.783Z"}],"updatedAt":"2026-11-25T22:59:22.467Z","epss":{"score":0.01852,"percentile":0.79775,"date":"2026-12-02T12:00:21.000Z"}}