A flaw in Node.js HTTP request handling causes an...
High severity
Unreviewed
Published
Mar 30, 2026
to the GitHub Advisory Database
•
Updated Jun 30, 2026
Description
Published by the National Vulnerability Database
Mar 30, 2026
Published to the GitHub Advisory Database
Mar 30, 2026
Last updated
Jun 30, 2026
A flaw in Node.js HTTP request handling causes an uncaught
TypeErrorwhen a request is received with a header named__proto__and the application accessesreq.headersDistinct.When this occurs,
dest["__proto__"]resolves toObject.prototyperather thanundefined, causing.push()to be called on a non-array. This exception is thrown synchronously inside a property getter and cannot be intercepted byerrorevent listeners, meaning it cannot be handled without wrapping everyreq.headersDistinctaccess in atry/catch.References