{"id":"CVE-2026-36044","published":"2026-05-27T00:00:00Z","modified":"2026-06-03T03:41:20Z","title":"@pensar/apex <= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:R","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01852,"percentile":0.79655,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://www.npmjs.com/package/@pensar/apex","tags":[]},{"url":"https://gist.github.com/NucleiAv/47e87da08b90ef464fd9b35affe578fb","tags":[]},{"url":"https://github.com/pensarai/apex/security","tags":[]}],"priority":{"score":22.1,"factors":[{"name":"EPSS percentile","points":15.93},{"name":"CVSS severity","points":6.16}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-29T15:36:48.516120Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-32683","exploited":false,"provenance":"source"}}