@@ -3803,6 +3803,21 @@ Type: Documentation-only
38033803` process.features.tls_alpn ` , ` process.features.tls_ocsp ` , and ` process.features.tls_sni ` are
38043804deprecated, as their values are guaranteed to be identical to that of ` process.features.tls ` .
38053805
3806+ ### DEP0190: Passing ` args ` to ` node:child_process ` ` execFile ` /` spawn ` with ` shell ` option ` true `
3807+
3808+ <!-- YAML
3809+ changes:
3810+ - version:
3811+ - REPLACEME
3812+ pr-url: https://github.com/nodejs/node/pull/57389
3813+ description: Documentation-only deprecation.
3814+ -->
3815+
3816+ Type: Documentation-only
3817+
3818+ When an ` args ` array is passed to [ ` child_process.execFile ` ] [ ] or [ ` child_process.spawn ` ] [ ] with the option
3819+ ` { shell: true } ` , the values are not escaped, only space-separated, which can lead to shell injection.
3820+
38063821[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
38073822[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
38083823[ RFC 8247 Section 2.4 ] : https://www.rfc-editor.org/rfc/rfc8247#section-2.4
@@ -3830,6 +3845,8 @@ deprecated, as their values are guaranteed to be identical to that of `process.f
38303845[ `assert` ] : assert.md
38313846[ `asyncResource.runInAsyncScope()` ] : async_context.md#asyncresourceruninasyncscopefn-thisarg-args
38323847[ `buffer.subarray` ] : buffer.md#bufsubarraystart-end
3848+ [ `child_process.execFile` ] : child_process.md#child_processexecfilefile-args-options-callback
3849+ [ `child_process.spawn` ] : child_process.md#child_processspawncommand-args-options
38333850[ `child_process` ] : child_process.md
38343851[ `clearInterval()` ] : timers.md#clearintervaltimeout
38353852[ `clearTimeout()` ] : timers.md#cleartimeouttimeout
0 commit comments