Joan eduki nagusira
WebguneWebgunebeta
Tarifak
Toutes les failles

ÉlevéeCVE-2026-1093832026(e)ko urriaren 27(a)

undici vulnérable à la contournement de validation du certificat TLS via des options TLS abandonnées dans Agent

Conséquences sérieuses, souvent sous quelques conditions : à corriger rapidement.

Sévérité
Élevée7.4 / 10
Publiée le
2026(e)ko urriaren 27(a)
Mise à jour
2026(e)ko urriaren 27(a)

L'avis

Traduction automatique de l'avis officiel. En cas de doute, l'avis d'origine, plus bas, fait foi.

Impact

L'Agent d'undici transmet ses options de constructeur à chaque Pool par origine via un clonage profond basé sur JSON (JSON.parse(JSON.stringify(...))). JSON ne pouvant pas représenté de fonctions, une option tls fournie par l'appelant contenant un rappel checkServerIdentity est silencieusement abandonnée avant d'arriver à la couche TLS. En conséquence, un pair TLS dont le certificat a été écrit pour être rejeté par un checkServerIdentity personnalisé, mais qui passe les vérifications de nom d'hôte et de chaîne par défaut de Node, est silencieusement accepté lorsque la demande est effectuée via Agent. Puisque Agent est le dispatcheur par défaut derrière request, fetch, et setGlobalDispatcher, c'est le chemin utilisé par la plupart des applications. EnvHttpProxyAgent est également affecté sur ses routes directes et NO_PROXY, qui déléguent à un Agent interne.

Seules les applications qui passent une option tls de valeur fonction (comme un checkServerIdentity personnalisé pour la validation de certificat ou l'ancrage de clé publique) sont affectées. Le passage des mêmes options via connect n'est pas affecté. C'est l'équivalent Agent de la contournement de validation de certificat BalancedPool corrigée dans CVE-2026-84961.

Correctifs

Mettez à jour vers undici 6.29.1, 7.30.1, ou 8.12.2. Agent préserve maintenant l'option tls en dehors du clonage JSON, de sorte que les rappels de vérification TLS personnalisés sont transmis à chaque origine inchangés.

Contournements

Passez les options TLS via connect au lieu de tls. Pour les destinations EnvHttpProxyAgent proxyfées, utilisez requestTls / proxyTls.

Composants touchés

ComposantVersions touchéesCorrigé en
undiciJavaScript (npm)>= 4.0.0, < 6.29.16.29.1
undiciJavaScript (npm)>= 7.0.0, < 7.30.17.30.1
undiciJavaScript (npm)>= 8.0.0, < 8.12.28.12.2

Vous utilisez une version touchée ? Passez à la version corrigée, puis redéployez.

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

Impact

undici's Agent passes its constructor options through a JSON-based deep clone (JSON.parse(JSON.stringify(...))) before forwarding them to each per-origin Pool. JSON cannot represent functions, so a caller-supplied tls option containing a checkServerIdentity callback is silently dropped before it reaches the TLS layer. As a result, a TLS peer whose certificate a custom checkServerIdentity was written to reject, but which passes Node's default hostname and chain checks, is silently accepted when the request is made through Agent. Because Agent is the default dispatcher behind request, fetch, and setGlobalDispatcher, this is the path most applications use. EnvHttpProxyAgent is also affected on its direct and NO_PROXY routes, which delegate to an internal Agent.

Only applications that pass a function-valued tls option (such as a custom checkServerIdentity for certificate or public-key pinning) are affected. Passing the same options through connect is not affected. This is the Agent counterpart of the BalancedPool certificate validation bypass fixed in CVE-2026-84961.

Patches

Upgrade to undici 6.29.1, 7.30.1, or 8.12.2. Agent now preserves the tls option outside the JSON clone, so custom TLS verification callbacks are forwarded to each origin unchanged.

Workarounds

Pass the TLS options through connect instead of tls. For proxied EnvHttpProxyAgent destinations, use requestTls / proxyTls.

Catégorie : Improper Certificate Validation (CWE-295)

Vecteur CVSS : CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

  • github.comhttps://github.com/nodejs/undici/security/advisories/GHSA-2m5v-pch6-74hx
  • nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-109383
  • github.comhttps://github.com/nodejs/undici/commit/04cb74b1db131ff8f5b4557dce811cbf5f4664b4
  • github.comhttps://github.com/nodejs/undici/commit/8c59f6b302898cb2e9b0f7962cd7212b6e597c9f
  • github.comhttps://github.com/nodejs/undici/commit/f75eac00ac177f7b2e6c8bfbd52d4113164286e6
  • cna.openjsf.orghttps://cna.openjsf.org/security-advisories.html
  • github.comhttps://github.com/nodejs/undici/releases/tag/v6.29.1
  • github.comhttps://github.com/nodejs/undici/releases/tag/v7.30.1
  • github.comhttps://github.com/nodejs/undici/releases/tag/v8.12.2
  • github.comhttps://github.com/advisories/GHSA-2m5v-pch6-74hx
WebguneWebgune

Hodei burujabe osoa, Frantzian diseinatua eta ostatatua.

DiscordDiscordGitHubGitHub
+33 (0)9 72 23 25 00support@webgune.cloud

Produktua

  • Ezaugarriak
  • Tarifak
  • Konparaketa
  • Changelog
  • Egoera
  • Ahuleziak (CVE)
  • Harremanetarako

Garatzaileak

  • Dokumentazioa
  • Frameworkak
  • API erreferentzia
  • Adibideak
  • CLI
  • Tresnak & VS Code

Legala

  • Erabilera baldintzak
  • Pribatutasun politika
  • Ohar legalak
  • Irisgarritasuna
  • RGPD
  • DPA
  • Erabilera onargarriaren politika

© 2026 KX712. Eskubide guztiak erreserbatuta. Webgune KX712-ren zerbitzu bat da.

Ordainketak:VisaMasterCardAmerican ExpressApple PayGoogle PaySEPABancontact