RepoJournal
Node.js

@nodejs

The Node.js runtime - every backend team's CVE source of truth

Keep up with Node.js in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: JavaScript Full archive →

The Wire · Showcase

UNDICI PATCHES CHUNKED RESPONSE VALIDATION HOLE AS NODE-GYP PIVOTS TO v26

By RepoJournal · Filed · About Node.js

Undici fixed a critical gap where EOF on chunked HTTP/1.1 responses could slip through without validating the terminating chunk, while node-gyp simultaneously dropped v20 from CI and landed full v26 support.

The undici team closed a real vulnerability in response parsing [1]—EOF-delimited responses were passing validation without checking for proper chunked encoding termination, a gap that could allow truncated responses to be treated as complete. That fix arrives alongside performance wins: stream handler overhead cuts [2] by replacing stream.finished() with targeted writable lifecycle tracking, and HTTP/2 client improvements [3] through handler reuse. Meanwhile, a type correctness fix [4] removes throwOnError from Dispatcher.RequestOptions, aligning the type signatures with v7's actual API. On the build side, node-gyp killed v20 from its test matrix [5] and added v26 support [6], with undici's fetch import wired in [7]. The dist-indexer bumped semver to 7.8.0 [8], bringing new features to version parsing across the ecosystem.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] fix: validate EOF for chunked h1 responses ↗ nodejs/undici
  2. [2] fix: replace finished() with writable lifecycle tracking ↗ nodejs/undici
  3. [3] perf(client-h2): reuse request stream handlers ↗ nodejs/undici
  4. [4] fix(types): remove throwOnError from Dispatcher.RequestOptions (#5279) nodejs/undici
  5. [5] fix: stop testing end-of-life Node.js v20 (#3315) nodejs/node-gyp
  6. [6] support Node.js 26 (#3311) nodejs/node-gyp
  7. [7] fix: test on Node.js v26 (#3314) nodejs/node-gyp
  8. [8] chore(deps): bump semver from 7.7.4 to 7.8.0 ↗ nodejs/nodejs-dist-indexer

Quick answers

What shipped in Node.js on May 12, 2026?
Undici fixed a critical gap where EOF on chunked HTTP/1.1 responses could slip through without validating the terminating chunk, while node-gyp simultaneously dropped v20 from CI and landed full v26 support. In total, 17 commits, 20 pull requests, and 1 releases landed.
Who contributed to Node.js on May 12, 2026?
3 developers shipped this update, including mcollina, trivikr, and dependabot[bot].
What were the notable Node.js updates?
fix: validate EOF for chunked h1 responses, fix: replace finished() with writable lifecycle tracking, and perf(client-h2): reuse request stream handlers.

More from @nodejs

Daily updates, in your inbox

Follow Node.js

Keep up with Node.js in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?