Every CVE Search/ Get API key

CVE-2024-36138

Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with...

8.1 HighFix available

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

1.10%Up 1.1 points since Sep 8, 2024
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
node
Bitnami
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-min
Bitnami
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
nodejs
Mageia:9
From an advisory covering 5 CVEs
before 22.6.0-1.mga9
22.6.0-1.mga9
yarnpkg
Mageia: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
nodejs18
SUSE: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
nodejs18
SUSE: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
nodejs18
openSUSE:Leap 15.5
From an advisory covering 3 CVEs
before 18.20.4-150400.9.24.2
18.20.4-150400.9.24.2
nodejs20
SUSE: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
nodejs20
openSUSE:Leap 15.5
From an advisory covering 6 CVEs
before 20.15.1-150500.11.12.2
20.15.1-150500.11.12.2
nodejs20
SUSE: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
Affected packages
PackageAffectedFixed
nodejs20
openSUSE:Leap 15.6
From an advisory covering 6 CVEs
before 20.15.1-150600.3.3.2
20.15.1-150600.3.3.2
nodejs22
openSUSE:Tumbleweed
From an advisory covering 5 CVEs
before 22.10.0-1.1
22.10.0-1.1
nodejs24
openSUSE:Tumbleweed
From an advisory covering 11 CVEs
before 24.11.1-2.1
24.11.1-2.1
nodejs26
openSUSE:Tumbleweed
From an advisory covering 37 CVEs
before 26.3.1-1.1
26.3.1-1.1

History

History
RecordedChangedSources
affected, facts
affected
first indexedCVE 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

Show 60 moreShow less
MoveEnter Open