# undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent

Advisory record · `GHSA-2m5v-pch6-74hx`

- **Identifiers:** `GHSA-2m5v-pch6-74hx` · `CVE-2026-109383`
- **State:** Confirmed
- **Severity:** CVSS 7.4 High
- **Critical:** No
- **Weakness (CWE):** [CWE-295](https://cwe.mitre.org/data/definitions/295.html)
- **Tags:** [Weak cryptography or TLS](https://agentprime.io/advisories/tag/weak-crypto.md)
- **Published:** 27 Oct 2026
- **Updated:** 27 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 27 Oct 2026, 19:02 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `undici` (npm): affected `>=4.0.0, <6.29.1 || >=7.0.0, <7.30.1 || >=8.0.0, <8.12.2`; fixed in `6.29.1`, `7.30.1`, `8.12.2`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Undici versions 4.0.0 up to but not including 6.29.1, 7.0.0 up to but not including 7.30.1, and 8.0.0 up to but not including 8.12.2 are affected. When a caller passes a custom checkServerIdentity callback through the tls option of Agent, the JSON-based cloning drops the function, so a server whose certificate the callback should reject is accepted if it passes Node's default checks. Upgrade to undici 6.29.1, 7.30.1, or 8.12.2, which forward the tls option unchanged; if upgrading is not possible, pass TLS options through connect instead.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.4 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`, from CNA (openjs)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0018, the 8th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 13:33 UTC: First seen by agentprime
- 31 Oct 2026, 13:33 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-2m5v-pch6-74hx)

## Sources

- [GitHub Advisory Database: GHSA-2m5v-pch6-74hx](https://github.com/advisories/GHSA-2m5v-pch6-74hx)
- [OSV: GHSA-2m5v-pch6-74hx](https://osv.dev/vulnerability/GHSA-2m5v-pch6-74hx)
- <https://github.com/nodejs/undici/security/advisories/GHSA-2m5v-pch6-74hx>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-109383>
- <https://github.com/nodejs/undici/commit/04cb74b1db131ff8f5b4557dce811cbf5f4664b4>
- <https://github.com/nodejs/undici/commit/8c59f6b302898cb2e9b0f7962cd7212b6e597c9f>
- <https://github.com/nodejs/undici/commit/f75eac00ac177f7b2e6c8bfbd52d4113164286e6>
- <https://cna.openjsf.org/security-advisories.html>
- <https://github.com/nodejs/undici>
- <https://github.com/nodejs/undici/releases/tag/v6.29.1>
- <https://github.com/nodejs/undici/releases/tag/v7.30.1>
- <https://github.com/nodejs/undici/releases/tag/v8.12.2>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-2m5v-pch6-74hx>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-2m5v-pch6-74hx/>. Everything for agents: <https://agentprime.io/llms.txt>.
