Skip to content

fix(deps): bump undici from 8.11.2 to 8.12.2 - #3033

Merged
marcuswood-oai merged 1 commit into
mainfrom
dependabot/npm_and_yarn/undici-8.12.2
Oct 26, 2026
Merged

marcuswood-oai merged 1 commit into
mainfrom
dependabot/npm_and_yarn/undici-8.12.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 24, 2026

Copy link
Copy Markdown
Contributor

Bumps undici from 8.11.2 to 8.12.2.

Release notes

Sourced from undici's releases.

v8.12.2

Security fixes

High severity

Denial of service via TLS 1.2 certificate-changing renegotiation

CVE-2026-87018 · GHSA-qrxm-fqhp-jwvm

A malicious or compromised HTTPS server could crash the Node.js process by initiating TLS 1.2 renegotiation and presenting a different, CA-trusted certificate whose hostname did not match the requested host. The resulting socket error reached an assertion in undici's HTTP/1.1 and HTTP/2 connection handling. This release handles post-connect certificate errors without terminating the process.

TLS certificate validation bypass through dropped Agent options

CVE-2026-109383 · GHSA-2m5v-pch6-74hx

Agent used a JSON-based clone for constructor options, which silently removed function-valued TLS options such as checkServerIdentity. Applications relying on custom certificate or public-key verification could therefore accept a certificate that the callback was intended to reject. This release preserves TLS options when creating per-origin dispatchers.

Cache poisoning and cross-user disclosure through cross-origin redirects

CVE-2026-109829 · GHSA-4w7w-5xrc-9h26

When an originless Agent combined redirect and shared-cache interceptors as compose(redirect(), cache()), a response from a cross-origin redirect could be stored under the original URL. This could allow persistent cache poisoning or disclosure of user-specific responses to later callers. This release verifies the response origin before caching and preserves redirect-hop cache-control policy.

Denial of service through excessive Content-Encoding values

CVE-2026-109869 · GHSA-xjj6-f33q-929c

A malicious HTTP server could crash the Node.js process by returning more than five content codings and closing the connection before sending the body. Although fetch() rejected the response, an error from an orphaned internal stream could remain unhandled. This release validates the content-encoding chain before creating the body stream and aborts oversized chains safely.

Medium severity

Denial of service through the decompress interceptor

CVE-2026-87029 · GHSA-55wc-3pg8-jfw6

An exception thrown by a downstream response handler from an asynchronous decompression callback could escape as an uncaught exception. A server could trigger this when decompress was composed with a handler such as dump with a size limit. This release converts downstream handler exceptions into per-request errors.

Subresource Integrity bypass with non-lowercase algorithm tokens

CVE-2026-109841 · GHSA-f72v-6w45-q472

fetch() treated valid mixed-case or uppercase SRI algorithm tokens, such as SHA256, as unknown and could accept a response whose body did not match the configured digest. This release normalizes algorithm tokens before validation and digest selection.

Denial of service through unbounded EventSource parser state

CVE-2026-109924 · GHSA-4qv8-2p9j-2685

A malicious Server-Sent Events endpoint could exhaust process memory by sending many tiny data: fields without completing an event, or by splitting an unfinished line across many chunks. This release bounds retained EventSource parser state, including field counts, buffered chunks, unfinished-line length, and retained field data.

... (truncated)

Commits
  • bb6cc0a Bumped v8.12.2 (#6021)
  • b217373 fix(websocket): bound automatic PONG writes under backpressure
  • 789ef26 fix(eventsource): bound retained SSE parser state
  • 4f7ef68 fix(sri): accept non-lowercase algorithm tokens
  • f851f31 fix(decompress): converge downstream handler throws to per-request errors
  • b5084c7 fix(fetch): abort excessive content encoding responses
  • 26c2bfb fix(cache): prevent cross-origin redirect cache confusion
  • f75eac0 fix: preserve Agent connection options
  • e257e9f fix: handle post-connect TLS certificate errors
  • a65ec32 Bumped v8.12.1 (#6010)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [undici](https://github.com/nodejs/undici) from 8.11.2 to 8.12.2.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v8.11.2...v8.12.2)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 8.12.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner October 24, 2026 06:14
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 24, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T06:16:31.795110Z 92ffbc2 PR opened
🔒 Security Review ✅ Completed 2026-10-24T06:16:35.649086Z 92ffbc2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 92ffbc23b1

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread pnpm-lock.yaml Resolved
@github-actions

Copy link
Copy Markdown
Contributor

Castiron custom code

Evaluated main: d8931e7facfd0b453cc1683c31c60be8cc1ae37e.

Trusted main policy: d8931e7facfd0b453cc1683c31c60be8cc1ae37e.

✅ No new custom-code files detected.

0 mixed files remain; 0 existing customizations changed.

Compared d8931e7facfd → 92ffbc23b1d8. Generated baselines verified.

A changed generated baseline means this report cannot reliably identify which handwritten lines changed.

Inspect the custom-code diff

Download the exact patch produced by this run (requires repository access):

gh run download 40069523150 --repo openai/openai-node \
  --name castiron-custom-code-40069523150-1 --dir /tmp/castiron-custom-code-40069523150-1
git apply --stat /tmp/castiron-custom-code-40069523150-1/custom-code.patch
cat /tmp/castiron-custom-code-40069523150-1/custom-code.patch

Or reproduce it from an SDK checkout containing the vendored reporter:

git fetch --no-tags origin d8931e7facfd0b453cc1683c31c60be8cc1ae37e 92ffbc23b1d82dd26e428d37a237115dde01a938
python3 scripts/castiron/custom_code_report.py report \
  --base d8931e7facfd0b453cc1683c31c60be8cc1ae37e \
  --head 92ffbc23b1d82dd26e428d37a237115dde01a938 --target-branch main --fetch --require-head-hash --public \
  --out /tmp/castiron-custom-code-92ffbc23b1d8
cat /tmp/castiron-custom-code-92ffbc23b1d8/custom-code.patch

This is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR.

Full report and patch

@marcuswood-oai
marcuswood-oai merged commit e63e09c into main Oct 26, 2026
43 checks passed
@marcuswood-oai
marcuswood-oai deleted the dependabot/npm_and_yarn/undici-8.12.2 branch October 26, 2026 16:38
@openai-sdks openai-sdks Bot mentioned this pull request Oct 26, 2026
gh-actions-shared Bot pushed a commit to xf-qubit/openai-node that referenced this pull request Oct 26, 2026
Automated Release PR
---


##
[7.45.0](openai/openai-node@v7.44.0...v7.45.0)
(2026-10-26)


### Features

* **api:** add gpt-6.1-terra model identifier
([openai#3054](openai#3054))
([f8120e5](openai@f8120e5))


### Bug Fixes

* **deps-dev:** bump @cloudflare/workers-types from 5.20261011.1 to
5.20261018.1 in /ecosystem-tests/cloudflare-worker
([openai#3037](openai#3037))
([5185d2c](openai@5185d2c))
* **deps-dev:** bump @types/node from 26.6.4 to 26.6.5
([openai#3036](openai#3036))
([a768d48](openai@a768d48))
* **deps-dev:** bump fast-uri from 3.1.7 to 3.1.9 in
/ecosystem-tests/ts-browser-webpack
([openai#3052](openai#3052))
([369d4fe](openai@369d4fe))
* **deps-dev:** bump fast-uri from 3.1.7 to 3.1.9 in
/ecosystem-tests/vercel-edge
([openai#3032](openai#3032))
([5c02484](openai@5c02484))
* **deps-dev:** bump puppeteer from 25.13.0 to 25.14.0 in
/ecosystem-tests/browser-direct-import
([openai#3035](openai#3035))
([834ba3d](openai@834ba3d))
* **deps-dev:** bump puppeteer from 25.13.0 to 25.14.0 in
/ecosystem-tests/ts-browser-webpack
([openai#3048](openai#3048))
([64abe79](openai@64abe79))
* **deps-dev:** bump ts-jest from 29.4.14 to 29.4.15 in
/ecosystem-tests/cloudflare-worker
([openai#3038](openai#3038))
([83cc173](openai@83cc173))
* **deps-dev:** bump ts-jest from 29.4.14 to 29.4.15 in
/ecosystem-tests/node-ts-cjs
([openai#3041](openai#3041))
([a12706d](openai@a12706d))
* **deps-dev:** bump ts-jest from 29.4.14 to 29.4.15 in
/ecosystem-tests/node-ts-cjs-web
([openai#3043](openai#3043))
([c129750](openai@c129750))
* **deps-dev:** bump ts-jest from 29.4.14 to 29.4.15 in
/ecosystem-tests/node-ts-esm
([openai#3044](openai#3044))
([ac9ee21](openai@ac9ee21))
* **deps-dev:** bump ts-jest from 29.4.14 to 29.4.15 in
/ecosystem-tests/node-ts-esm-auto
([openai#3045](openai#3045))
([9489f4d](openai@9489f4d))
* **deps-dev:** bump ts-jest from 29.4.14 to 29.4.15 in
/ecosystem-tests/node-ts-esm-web
([openai#3047](openai#3047))
([c502053](openai@c502053))
* **deps-dev:** bump ts-jest from 29.4.14 to 29.4.15 in
/ecosystem-tests/vercel-edge
([openai#3049](openai#3049))
([b6c7bff](openai@b6c7bff))
* **deps-dev:** bump vitest from 5.0.3 to 5.0.5
([openai#3042](openai#3042))
([d4b8a2d](openai@d4b8a2d))
* **deps-dev:** bump wrangler from 4.149.0 to 4.151.1 in
/ecosystem-tests/cloudflare-worker
([openai#3039](openai#3039))
([24e750e](openai@24e750e))
* **deps:** bump undici from 7.30.0 to 7.30.1 in
/ecosystem-tests/node-ts-cjs
([openai#3053](openai#3053))
([364f0cb](openai@364f0cb))
* **deps:** bump undici from 8.11.2 to 8.12.2
([openai#3033](openai#3033))
([e63e09c](openai@e63e09c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: openai-sdks[bot] <284451331+openai-sdks[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant