# CVE-2024-36138: Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with all possible extensions on Windows via chil…

- Severity: High 8.1 (CVSS:3.0, scored by hackerone) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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.06%, higher than 65% of CVEs (2026-12-01)
- Published: 2024-09-07T16:00:36.011Z
- Modified: 2026-06-17T07:36:10.313Z
- Also known as: BIT-NODE-2024-36138, BIT-NODE-MIN-2024-36138
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: hackerone

## Description

Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with all possible extensions on Windows via child_process.spawn / child_process.spawnSync. A malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.

(As written by CVE List.)

## Affected

- NodeJS Node: from 4.0 before 4.*; from 5.0 before 5.*; from 6.0 before 6.*; from 7.0 before 7.*; from 8.0 before 8.*; from 9.0 before 9.*; from 10.0 before 10.*; from 11.0 before 11.*; from 12.0 before 12.*; from 13.0 before 13.*; from 14.0 before 14.*; from 15.0 before 15.*; and 7 more
- nodejs nodejs: from 18.0 before 18.20.4; from 20.0 before 20.15.1; from 22.0 before 22.4.1
- node (Bitnami): before 18.20.4; from 19.0.0 before 20.15.1; from 21.0.0 before 22.4.1
- node-min (Bitnami): before 18.20.5; from 19.0.0 before 20.18.1; from 21.0.0 before 22.12.0

## Every score

- hackerone: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://nodejs.org/en/blog/vulnerability/july-2024-security-releases> (web)
- <https://security.netapp.com/advisory/ntap-20241108-0010/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-36138> (web)
- <https://www.oracle.com/security-alerts/cpuoct2024.html> (web)

## Sources

- CVE List: [CVE-2024-36138](https://www.cve.org/CVERecord?id=CVE-2024-36138), CVE Terms of Use, modified 2025-04-30
- NVD: [CVE-2024-36138](https://nvd.nist.gov/vuln/detail/CVE-2024-36138), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NODE-2024-36138](https://osv.dev/vulnerability/BIT-NODE-2024-36138), Apache-2.0, modified 2026-02-11
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2024-36138](https://osv.dev/vulnerability/BIT-NODE-MIN-2024-36138), Apache-2.0, modified 2026-02-11

---

Page: https://cve.day/CVE-2024-36138 · Whole record: https://cve.day/CVE-2024-36138.json · Rebuilt by cve.day 2026-11-25T22:58:45.158Z
