{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-36044","id":"CVE-2026-36044","title":"@pensar/apex <= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool","description":"@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 interpret","descriptionLong":"@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.","published":"2026-05-27T00:00:00.000Z","updated":"2026-06-17T10:41:02.783Z","reserved":"2026-04-06T00:00:00.000Z","status":"Deferred","rejected":false,"assigner":"mitre","metric":{"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","rating":"high","source":"mitre"},"metrics":[{"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","rating":"high","source":"mitre"},{"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","rating":"high","source":"mitre.org"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-78"],"aliases":[],"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":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01852,"epssPercentile":0.79563,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-36044","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-36044","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-36044","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-36044","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}