Hunt prep
Before you test Node.js
What 168 disclosed reports say about Node.js: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 10
- median public bounty
- $250
- highest public bounty
- $500
Gaps worth testing 13
Ideas drawn from this program's disclosed reports and our class lessons. None of them is a known bug: each is a place to look, and the reports linked under it are why. Check the current scope before testing anything.
-
1
TLS hostname checks with other non-canonical IP forms
Reports 947, 946, 949 and 22185 show the hostname verifier repeatedly misclassifying IP addresses written in unusual forms, so certificates with DNS names are accepted for IP endpoints. Test other non-canonical spellings of IPv4 and IPv6 addresses against the TLS client and server hostname checks, including mixed digit scripts and leading or trailing separators, to see whether the same classification gap survives.
Backed byTLS certificate hostname bypass when the IP is written fullwidth... (2026) Improper certificate validation for non-canonical IPv4 hostnames... (2026) TLS certificate hostname bypass when the host loosely resolves t... (2026)From the lessons: Writing an IP address in non-canonical or fullwidth digits, or with a...; Connect to an IP address written with non-ASCII or non-canonical digit...; Connect to a host given as a raw IP address with a TLS backend that re...
-
2
TLS session reuse across differing verification settings
Several reports show TLS session reuse skipping hostname or identity checks when the servername or secureContext changes (16586, 842, 22290, 22187). Exercise the HTTPS Agent by reusing a session across hosts with different certificate policies and different servername values, and check whether verification is re-applied on the resumed connection.
Backed byNode.js: TLS session reuse can lead to hostname verification byp... (2020) HTTPS Agent reuses TLS authentication state across distinct secu... (2026) HTTPS Agent TLS session reuse skips hostname verification across... (2026)From the lessons: Resuming a previously validated session skips re-checking the certific...; Reuse a TLS session across different hostnames and check whether hostn...; Reuse a TLS connection after changing the verify callback or SSL confi...
-
3
Permission model coverage of less common fs and report APIs
Access control Read the lesson
The permission model has been bypassed through futimes, realpathSync, FileHandle.utimes, process.report and trace_events (21830, 945, 22188, 22288, 22295). Enumerate the remaining file system, report and tracing entry points that take a path and check whether each honours the allow-fs-read and allow-fs-write grants, especially the promises and sync variants.
-
4
Permission model network checks for Unix domain sockets
Access control Read the lesson
Reports 21960, 22184 and 21986 show the network restriction was not applied to Unix domain socket connect, bind and listen paths. Test the remaining net, tls and undici entry points that can reach a local socket, including server-side listen and fetch over a socket path, to see whether the allow-net boundary is enforced consistently.
-
5
Path traversal variants in permission model path checks
Path traversal Read the lesson
A long series of reports shows the permission model path validation being bypassed with symlinks, buffers, UNC paths and wildcard lookups (21964, 20642, 20913, 914, 21509). Test the path normalisation and grant matching with other crafted path shapes, such as relative symlink chains and device-name prefixes on Windows, to see whether the same root cause persists in sibling code paths.
-
6
llhttp parser differentials beyond fixed cases
Smuggling / CRLF Read the lesson
Request smuggling reports here repeatedly stem from llhttp accepting malformed framing that a front-end proxy rejects (22285, 22331, 21481, 18692, 18566, 17475). Test other header and framing edge cases in the same parser, such as unusual whitespace around transfer-encoding tokens and duplicate framing headers, against a strict proxy to look for further desynchronisation.
-
7
HTTP/2 memory and teardown handling
HTTP/2 reports cluster on memory exhaustion and use-after-free during session teardown, GOAWAY handling and retained header blocks (841, 22346, 22347, 22217, 22190, 21989). Exercise the HTTP/2 client and server with unusual frame sequences around GOAWAY, ORIGIN and WINDOW_UPDATE to see whether resource accounting and cleanup hold under other orderings.
-
8
TLS callback exception handling in remaining paths
Reports 22232, 22060 and 21959 show synchronous exceptions in TLS callbacks escaping error handling and crashing the process. Test the other TLS callback and event paths, such as keylog, servername and certificate callbacks, with listeners that throw, to see whether the try/catch coverage is now complete.
-
9
DNS resolver truncation and record-count limits
Reports 951, 22191, 22344 and 17384 show the DNS resolver mishandling embedded NULs and large record counts. Test the other dns.resolve variants with crafted responses containing unusual name encodings and high record counts to see whether truncation or abort behaviour recurs in sibling resolver functions.
-
10
DNS rebinding protection in the inspector
Access control Read the lesson
The inspector's rebinding protection has been bypassed repeatedly through hostname whitelist gaps and unusual IP spellings (17651, 20302, 19742, 19429). Test the current hostname checks with other non-canonical address forms and hostnames that may resolve externally, to see whether the whitelist logic still has gaps.
Backed byDNS rebinding in --inspect (insufficient fix of CVE-2018-7160) (2021) DNS rebinding in --inspect (again) via invalid IP addresses (2023) DNS rebinding in --inspect via invalid octal IP address (2022)+1 more report
From the lessons: Use a rebinding hostname that resolves first to your server and then t...; Use DNS rebinding to bypass an SSRF filter and reach an internal host.
-
11
Buffer and TypedArray handling in native string and zlib paths
Memory corruption Read the lesson
Reports 16832, 22343, 22117 and 21963 show native code mishandling buffer sizes, shared memory and spoofed byteLength. Test the other native APIs that take a TypedArray or buffer length, such as the remaining zlib sync functions and string conversion helpers, with zero and mismatched lengths to look for similar bounds errors.
-
12
Certificate parsing edge cases in X509 handling
Reports 944, 20216 and 16140 show malformed certificates and public key data causing null dereferences or aborts. Feed crafted certificate fields, such as unusual public key parameters and malformed extensions, to the X509 conversion and TLS handshake paths to see whether validation now rejects them cleanly.
Backed byNull Dereference in X509ToObject (2026) node.js process aborts when processing x509 certs with invalid p... (2023) Remotely trigger an assertion on a TLS server with a malformed c... (2020)From the lessons: Inspect the server's SSL certificate and check whether it is invalid,...; Inspect the certificate's signature algorithm and check whether SHA-1...
-
13
Prototype pollution reach into child process and headers
Prototype pollution Read the lesson
Reports 18845, 16871 and 21987 show prototype pollution and __proto__ handling affecting console, child process environments and header parsing. Test other object-building paths that consume attacker-controlled keys, such as header collections and option merging, to see whether prototype keys are filtered consistently.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| DoS lesson | 37 | 4 | $250 | $250 | $1,000 |
| Smuggling / CRLF lesson | 21 | 3 | $250 | $250 | $750 |
| RCE lesson | 11 | 1 | $500 | $500 | $500 |
| Memory corruption lesson | 12 | 1 | $250 | $250 | $250 |
| Crypto lesson | 21 | 1 | $150 | $150 | $150 |
| Access control lesson | 33 | 0 | – | – | $0 |
| Path traversal lesson | 13 | 0 | – | – | $0 |
| Race condition lesson | 4 | 0 | – | – | $0 |
| Business logic lesson | 4 | 0 | – | – | $0 |
| Misconfiguration lesson | 3 | 0 | – | – | $0 |
| SSRF lesson | 3 | 0 | – | – | $0 |
| Prototype pollution lesson | 2 | 0 | – | – | $0 |
| Subdomain takeover lesson | 2 | 0 | – | – | $0 |
| XSS lesson | 1 | 0 | – | – | $0 |
| Info disclosure lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Keep-alive socket process a response that was written before the request was sent
The guard should be checked when the socket is handed to a new request, not only during event-loop I/O polling; the text describes this as an incomplete fix of an earlier CVE rather than stating a new fix.
Disclosed
-
dns.resolve truncates names containing NUL char
The dns.resolve* entry points and the c-ares binding should reject hostnames containing embedded NUL bytes, matching what dns.lookup already does.
Disclosed
-
HTTP Request Smuggling via Connection: close<TAB> in Node.js llhttp parser
The text does not state that a fix was applied; it only describes the llhttp parser behaviour.
Disclosed
-
Improper Input Validation — HTTP Response Parser Unconditionally Accepts Bare CR in Status Line
The response parser should be changed so that only a line feed completes the status line, explicitly rejecting a carriage return in that state to mirror the request parser.
Disclosed
-
Node --run POSIX positional argument escaping allows shell command injection
The upstream fix should ensure positional arguments after -- cannot alter shell syntax, for example by using correct POSIX single-quote escaping or passing arguments as shell positional parameters.
Disclosed
-
Incomplete Fix for CVE-2026-21637: OCSPRequest and resumeSession Events Crash Node.js TLS Server via Unhandled Synchronous Exceptions
Wrap both emits in try/catch and destroy the socket or owner on error, as was done for SNICallback.
Disclosed
-
Memory Corruption via TOCTOU Race in SharedArrayBuffer UTF-8 Decode (`StringBytes::Encode`)
The report suggests copying SharedArrayBuffer data to a local buffer before the validate-then-convert sequence, or falling back to the non-simdutf path for shared buffers.
Disclosed
-
Incomplete fix for CVE-2026-21637: loadSNI() in _tls_wrap.js lacks try/catch leading to Remote DoS
The SNICallback call lacks a try/catch, so a synchronous exception becomes an uncaught exception rather than a TLS error.
Disclosed
-
Timing side-channel in HMAC verification via memcmp() in crypto_hmac.cc leads to potential MAC forgery
The comparison should be replaced with a constant-time comparison primitive, which Node.js already provides elsewhere in the codebase.
Disclosed
-
Unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustion
The reporter proposed an initial patch to reject responses with more than five content-encoding layers, as other libraries do.
Disclosed
-
Missing AES-GCM Authentication Tag Validation and Improper Deprecation Handling
The tag length should be validated against the documented 16-byte default, and the deprecation warning should appear whenever a shorter tag is used.
Disclosed
-
CWE-195 in ExternalMemoryAccounter::Increase()
The text suggests replacing calls to Increase() with Update() so that garbage collection is not triggered while memory is being released.
Disclosed
-
Windows Device Names Still Allow Path Traversal in UNC Paths After CVE-2025-27210 Fix
The device name validation logic should be applied to UNC paths in path.join() so that a .\ prefix is added when a device name is detected.
Disclosed
-
Improper HTTP header block termination in llhttp
It was fixed by upgrading llhttp to version 9, which enforces correct header termination.
Disclosed
-
Permissions can be bypassed via arbitrary code execution through abusing libuv signal pipes
The reporter does not have a concrete comprehensive fix but suggests minimising attack surface by denying access to the process object.
Disclosed