# CVE-2026-36044: @pensar/apex <= 0.0.58 is vulnerable to OS command injection via the smartenumerate tool.

- Severity: High 8.8 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:R`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.85%, higher than 79% of CVEs (2026-12-02)
- Published: 2026-05-27T00:00:00.000Z
- Modified: 2026-06-17T10:41:02.783Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## 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 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://www.npmjs.com/package/@pensar/apex>
- <https://gist.github.com/NucleiAv/47e87da08b90ef464fd9b35affe578fb>
- <https://github.com/pensarai/apex/security>

## Sources

- CVE List: [CVE-2026-36044](https://www.cve.org/CVERecord?id=CVE-2026-36044), CVE Terms of Use, modified 2026-06-03
- NVD: [CVE-2026-36044](https://nvd.nist.gov/vuln/detail/CVE-2026-36044), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-36044 · Whole record: https://cve.day/CVE-2026-36044.json · Rebuilt by cve.day 2026-11-25T22:59:22.467Z
