CVE-2024-36138
Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.1
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.
- Record
CVE-2024-36138- 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 - Weakness
- CWE-77
- Updated
- 2026-11-02
EUVDEUVD-2024-35895
8.1
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.
- Record
EUVD-2024-35895- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-p2ww-p57h-w5m7
8.1
Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with...
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.
- Record
GHSA-p2ww-p57h-w5m7- 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 - Weakness
- CWE-77
- Updated
- 2026-11-02
NVD
8.1
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.
- Record
CVE-2024-36138- 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 - Weakness
- CWE-77
- Updated
- 2026-11-02
OSVALPINE-CVE-2024-36138
8.1
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.
- Record
ALPINE-CVE-2024-36138- 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 - Updated
- 2026-11-02
OSVBIT-node-2024-36138 No score
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.
- Record
BIT-node-2024-36138- Updated
- 2026-11-02
Show 10 moreShow less
OSVBIT-node-min-2024-36138 No score
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.
- Record
BIT-node-min-2024-36138- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2024-36138- Updated
- 2026-11-02
OSVMGASA-2024-0282 No score
Updated nodejs & yarnpkg packages fix security vulnerabilities
Nodejs 22 is the new active LTS branch and 5 CVE are fixed. CVE-2024-36138 - Bypass incomplete fix of CVE-2024-27980 (High) CVE-2024-22020 - Bypass network import restriction via data URL (Medium) CVE-2024-22018 - fs.lstat bypasses permission model (Low) CVE-2024-36137 - fs.fchown/fchmod bypasses permission model (Low) CVE-2024-37372 - Permission model improperly processes UNC paths (Low) yarn package is updated with npm 10.8.2
- Record
MGASA-2024-0282- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14435-1 No score
corepack22-22.10.0-1.1 on GA media
These are all security issues fixed in the corepack22-22.10.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14435-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15802-1 No score
corepack24-24.11.1-2.1 on GA media
These are all security issues fixed in the corepack24-24.11.1-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15802-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:11110-1 No score
nodejs26-26.3.1-1.1 on GA media
These are all security issues fixed in the nodejs26-26.3.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11110-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:2496-1 No score
Security update for nodejs18
This update for nodejs18 fixes the following issues:
Update to 18.20.4:
- CVE-2024-36138: Fixed CVE-2024-27980 fix bypass (bsc#1227560)
- CVE-2024-22020: Fixed a bypass of network import restriction via data URL (bsc#1227554)
Changes in 18.20.3:
- This release fixes a regression introduced in Node.js 18.19.0 where http.server.close() was incorrectly closing idle connections.
deps:
- acorn updated to 8.11.3.
- acorn-walk updated to 8.3.2.
- ada updated to 2.7.8.
- c-ares updated to 1.28.1.
- corepack updated to 0.28.0.
- nghttp2 updated to 1.61.0.
- ngtcp2 updated to 1.3.0.
- npm updated to 10.7.0. Includes a fix from [email protected] to limit the number of open connections npm/cli#7324.
- simdutf updated to 5.2.4.
Changes in 18.20.2:
- CVE-2024-27980: Fixed command injection via args parameter of child_process.spawn without shell option enabled on Windows (bsc#1222665)
- Record
SUSE-SU-2024:2496-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:2542-1 No score
Security update for nodejs18
This update for nodejs18 fixes the following issues:
Update to 18.20.4:
- CVE-2024-36138: Fixed CVE-2024-27980 fix bypass (bsc#1227560)
- CVE-2024-22020: Fixed a bypass of network import restriction via data URL (bsc#1227554)
Changes in 18.20.3:
- This release fixes a regression introduced in Node.js 18.19.0 where http.server.close() was incorrectly closing idle connections.
deps:
- acorn updated to 8.11.3.
- acorn-walk updated to 8.3.2.
- ada updated to 2.7.8.
- c-ares updated to 1.28.1.
- corepack updated to 0.28.0.
- nghttp2 updated to 1.61.0.
- ngtcp2 updated to 1.3.0.
- npm updated to 10.7.0. Includes a fix from [email protected] to limit the number of open connections npm/cli#7324.
- simdutf updated to 5.2.4.
Changes in 18.20.2:
- CVE-2024-27980: Fixed command injection via args parameter of child_process.spawn without shell option enabled on Windows (bsc#1222665)
- Record
SUSE-SU-2024:2542-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:2543-1 No score
Security update for nodejs20
This update for nodejs20 fixes the following issues:
Update to 20.15.1:
- CVE-2024-36138: Fixed CVE-2024-27980 fix bypass (bsc#1227560)
- CVE-2024-22020: Fixed a bypass of network import restriction via data URL (bsc#1227554)
- CVE-2024-22018: Fixed fs.lstat bypasses permission model (bsc#1227562)
- CVE-2024-36137: Fixed fs.fchown/fchmod bypasses permission model (bsc#1227561)
- CVE-2024-37372: Fixed Permission model improperly processes UNC paths (bsc#1227563)
Changes in 20.15.0:
- test_runner: support test plans
- inspector: introduce the --inspect-wait flag
- zlib: expose zlib.crc32()
- cli: allow running wasm in limited vmem with --disable-wasm-trap-handler
Changes in 20.14.0
- src,permission: throw async errors on async APIs
- test_runner: support forced exit
Changes in 20.13.1:
- buffer: improve base64 and base64url performance
- crypto: deprecate implicitly shortened GCM tags
- events,doc: mark CustomEvent as stable
- fs: add stacktrace to fs/promises
- report: add --report-exclude-network option
- src: add uv_get_available_memory to report and process
- stream: support typed arrays
- util: support array of formats in util.styleText
- v8: implement v8.queryObjects() for memory leak regression testing
- watch: mark as stable
- Record
SUSE-SU-2024:2543-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:2574-1 No score
Security update for nodejs20
This update for nodejs20 fixes the following issues:
Update to 20.15.1:
- CVE-2024-36138: Fixed CVE-2024-27980 fix bypass (bsc#1227560)
- CVE-2024-22020: Fixed a bypass of network import restriction via data URL (bsc#1227554)
- CVE-2024-22018: Fixed fs.lstat bypasses permission model (bsc#1227562)
- CVE-2024-36137: Fixed fs.fchown/fchmod bypasses permission model (bsc#1227561)
- CVE-2024-37372: Fixed Permission model improperly processes UNC paths (bsc#1227563)
Changes in 20.15.0:
- test_runner: support test plans
- inspector: introduce the --inspect-wait flag
- zlib: expose zlib.crc32()
- cli: allow running wasm in limited vmem with --disable-wasm-trap-handler
Changes in 20.14.0
- src,permission: throw async errors on async APIs
- test_runner: support forced exit
Changes in 20.13.1:
- buffer: improve base64 and base64url performance
- crypto: deprecate implicitly shortened GCM tags
- events,doc: mark CustomEvent as stable
- fs: add stacktrace to fs/promises
- report: add --report-exclude-network option
- src: add uv_get_available_memory to report and process
- stream: support typed arrays
- util: support array of formats in util.styleText
- v8: implement v8.queryObjects() for memory leak regression testing
- watch: mark as stable
- Record
SUSE-SU-2024:2574-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
nodeBitnami |
before 18.20.4, 19.0.0 up to 20.15.1, 21.0.0 up to 22.4.1 | 18.20.420.15.122.4.1 |
node-minBitnami |
before 18.20.5, 19.0.0 up to 20.18.1, 21.0.0 up to 22.12.0 | 18.20.520.18.122.12.0 |
nodejsMageia:9 From an advisory covering 5 CVEs |
before 22.6.0-1.mga9 | 22.6.0-1.mga9 |
yarnpkgMageia:9 From an advisory covering 5 CVEs |
before 1.22.22-0.10.8.2.1.mga9 | 1.22.22-0.10.8.2.1.mga9 |
nodejs18SUSE:Linux Enterprise Module for Web and Scripting 12 From an advisory covering 3 CVEs |
before 18.20.4-8.24.1 | 18.20.4-8.24.1 |
nodejs18SUSE:Linux Enterprise Module for Web and Scripting 15 SP5 From an advisory covering 3 CVEs |
before 18.20.4-150400.9.24.2 | 18.20.4-150400.9.24.2 |
nodejs18openSUSE:Leap 15.5 From an advisory covering 3 CVEs |
before 18.20.4-150400.9.24.2 | 18.20.4-150400.9.24.2 |
nodejs20SUSE:Linux Enterprise Module for Web and Scripting 15 SP5 From an advisory covering 6 CVEs |
before 20.15.1-150500.11.12.2 | 20.15.1-150500.11.12.2 |
nodejs20openSUSE:Leap 15.5 From an advisory covering 6 CVEs |
before 20.15.1-150500.11.12.2 | 20.15.1-150500.11.12.2 |
nodejs20SUSE:Linux Enterprise Module for Web and Scripting 15 SP6 From an advisory covering 6 CVEs |
before 20.15.1-150600.3.3.2 | 20.15.1-150600.3.3.2 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
nodejs20openSUSE:Leap 15.6 From an advisory covering 6 CVEs |
before 20.15.1-150600.3.3.2 | 20.15.1-150600.3.3.2 |
nodejs22openSUSE:Tumbleweed From an advisory covering 5 CVEs |
before 22.10.0-1.1 | 22.10.0-1.1 |
nodejs24openSUSE:Tumbleweed From an advisory covering 11 CVEs |
before 24.11.1-2.1 | 24.11.1-2.1 |
nodejs26openSUSE:Tumbleweed From an advisory covering 37 CVEs |
before 26.3.1-1.1 | 26.3.1-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-36138 is a high vulnerability (CVSS 8.1) in Nodejs Node, published July 16, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.10%, the 65th percentile. Fixed in node 18.20.4.
References
nodejs.org/en/blog/vulnerability/july-2024-security-releases
security.netapp.com/advisory/ntap-20241108-0010
nvd.nist.gov/vuln/detail/CVE-2024-36138
github.com/advisories/GHSA-p2ww-p57h-w5m7
security.alpinelinux.org/vuln/CVE-2024-36138
oracle.com/security-alerts/cpuoct2024.html
Show 60 moreShow less
advisories.mageia.org/MGASA-2024-0282.html
bugs.mageia.org/show_bug.cgi?id=33415
github.com/nodejs/node/releases/tag/v22.6.0
github.com/nodejs/node/releases/tag/v22.5.1
github.com/nodejs/node/releases/tag/v22.5.0
github.com/nodejs/node/releases/tag/v22.4.1
github.com/nodejs/node/releases/tag/v22.3.0
github.com/nodejs/node/releases/tag/v22.2.0
github.com/nodejs/node/releases/tag/v22.1.0
github.com/nodejs/node/releases/tag/v22.0.0
github.com/yarnpkg/yarn/releases/tag/v1.22.22
suse.com/support/update/announcement/2024/suse-su-20242496-1
bugzilla.suse.com/1222665
bugzilla.suse.com/1227554
bugzilla.suse.com/1227560
suse.com/security/cve/CVE-2024-22020
suse.com/security/cve/CVE-2024-27980
suse.com/security/cve/CVE-2024-36138
suse.com/support/update/announcement/2024/suse-su-20242542-1
suse.com/support/update/announcement/2024/suse-su-20242543-1
bugzilla.suse.com/1227561
bugzilla.suse.com/1227562
bugzilla.suse.com/1227563
suse.com/security/cve/CVE-2024-22018
suse.com/security/cve/CVE-2024-36137
suse.com/security/cve/CVE-2024-37372
suse.com/support/update/announcement/2024/suse-su-20242574-1
lists.opensuse.org/archives/list/[email protected]/thread/OWCPL7VTEVIGUDVKLEV2D2ITNTWKC4AZ
suse.com/security/cve/CVE-2024-21538
suse.com/security/cve/CVE-2025-22150
suse.com/security/cve/CVE-2025-23083
suse.com/security/cve/CVE-2025-23085
suse.com/security/cve/CVE-2025-23165
suse.com/security/cve/CVE-2025-23166
suse.com/security/cve/CVE-2025-55130
suse.com/security/cve/CVE-2025-55131
suse.com/security/cve/CVE-2025-55132
suse.com/security/cve/CVE-2025-59464
suse.com/security/cve/CVE-2025-59465
suse.com/security/cve/CVE-2025-59466
suse.com/security/cve/CVE-2026-21637
suse.com/security/cve/CVE-2026-21710
suse.com/security/cve/CVE-2026-21712
suse.com/security/cve/CVE-2026-21713
suse.com/security/cve/CVE-2026-21714
suse.com/security/cve/CVE-2026-21715
suse.com/security/cve/CVE-2026-21716
suse.com/security/cve/CVE-2026-21717
suse.com/security/cve/CVE-2026-22036
suse.com/security/cve/CVE-2026-48615
suse.com/security/cve/CVE-2026-48617
suse.com/security/cve/CVE-2026-48618
suse.com/security/cve/CVE-2026-48619
suse.com/security/cve/CVE-2026-48928
suse.com/security/cve/CVE-2026-48930
suse.com/security/cve/CVE-2026-48931
suse.com/security/cve/CVE-2026-48933
suse.com/security/cve/CVE-2026-48934
suse.com/security/cve/CVE-2026-48935
suse.com/security/cve/CVE-2026-48936