HighCVE-2026-9697

    undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgent (CVE-2026-9697)

    Published Last modified Sources: Red Hat, BSI, Msrc Update Guide, OSV, CVE.org, Hersteller

    What is affected, what to do

    A flaw was found in undici. When undici's ProxyAgent is configured with a SOCKS5 proxy Uniform Resource Identifier (URI), it silently ignores Transport Layer Security (TLS) options, such as custom Certificate Authorities (CAs).

    Update Undici to version 7.28.0, Undici to version 8.5.0.

    Affected
    • Undici lt 7.23.0..7.28.0
    • Undici lt 8.0.0..8.5.0
    Fixed in
    • Undici 7.28.0
    • Undici 8.5.0

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    7.4

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: NVD, CVSS v3

    7.4

    CVSS v3

    Severity High on the scale from 0 to 10.

    Source: Red Hat, BSI, Msrc Update Guide, OSV, CVE.org, Hersteller

    0.5 %

    EPSS score

    Low — model estimates < 1% exploitation likelihood.

    Source: FIRST EPSS, percentile 39.7

    Show all metrics
    Severity
    High
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    68.68 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    no public PoC known
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    7.4 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    7.4
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    0.5 %
    Low — model estimates < 1% exploitation likelihood.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    39.7
    High — this CVE ranks above the median of all CVEs scored today (rank ≥ 36%).
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    —
    Published
    CISA assessment (SSVC)
    Exploitation: none known · not automatable · Technical impact: total
    Source: CISA Vulnrichment, as of 22 June 2026
    CWE

    CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.

    Read in glossary
    CWE-295

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    High technical severity: assess and remediate the vulnerability in vulnerability handling under Art. 21(2)(e) NIS2 and document the decision.
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    A flaw was found in undici. When undici's ProxyAgent is configured with a SOCKS5 proxy Uniform Resource Identifier (URI), it silently ignores Transport Layer Security (TLS) options, such as custom Certificate Authorities (CAs). This allows a remote attacker to perform a Man-in-the-Middle (MITM) attack, intercepting and tampering with HTTPS communications. The connection falls back to Node.js's default trust store, bypassing intended security configurations and potentially leading to information disclosure or arbitrary code execution.

    Source: redhat_csaf, BSI WID Portal, BSI CSAF, Microsoft Security Update Guide, OSV (Open Source Vulnerabilities), cvelistv5, NVD (NIST), GitHub Security Advisories, CVE.org (MITRE)

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    undiciundici
    • 7.23.0 – < 7.28.0
    • 8.0.0 – < 8.5.0
    • 7.28.0
    • 8.5.0
    nodejsundici
    • 8.0.0 – < 8.5.0
    • 7.23.0 – < 7.28.0
    • 8.5.0
    • 7.28.0
    IBMApp Connect Enterprise
    • < 12.0.12.28
    • < 13.0.8.1
    • 12.0.12.28
    • 13.0.8.1
    IBMApp Connect Enterprise CD
    • < 13.4.0
    • 13.4.0
    IBMApp Connect Enterprise LTS
    • < 13.4.0
    • < 12.0.26
    • 13.4.0
    • 12.0.26
    npmundici
    • 8.0.0
    • 7.23.0
    • —
    • —

    Vendors and products

    Weakness classes (CWE)

    • CWE-295Improper Certificate Validation

      Base

      The product does not validate, or incorrectly validates, a certificate.

      Entry at MITRE CWE-295

    References & sources

    Changes to this CVE

    Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).

    1. Record modifiedRed Hat ADP

      1 individual change: Affected versions (publisher)

      Show the original change
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Affected versions (publisher)added
      —
      Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/9xxx/CVE-2026-9697.json">CVE-2026-9697</a>

      Source identifier: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    2. Record modifiedRed Hat ADP

      Show 2 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Affected versions (publisher)added
      —
      Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/9xxx/CVE-2026-9697.json">CVE-2026-9697</a>
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:65126

      Source identifier: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    3. Record modifiedRed Hat ADP

      1 individual change: Affected versions (publisher)

      Show the original change
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Affected versions (publisher)added
      —
      Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/9xxx/CVE-2026-9697.json">CVE-2026-9697</a>

      Source identifier: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    4. Record modifiedOpenJS Foundation

      Show 6 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Referenceadded
      —
      https://cna.openjsf.org/security-advisories.html
      Referenceadded
      —
      https://github.com/nodejs/undici/security/advisories/GHSA-vmh5-mc38-953g
      Referenceremoved
      https://cna.openjsf.org/security-advisories.html
      —
      Referenceremoved
      https://github.com/nodejs/undici/security/advisories/GHSA-vmh5-mc38-953g
      —
      Reference typeremoved
      https://cna.openjsf.org/security-advisories.html Types: Vendor Advisory
      —
      Reference typeremoved
      https://github.com/nodejs/undici/security/advisories/GHSA-vmh5-mc38-953g Types: Mitigation, Vendor Advisory
      —

      Source identifier: ce714d77-add3-4f53-aff5-83d477b104bb

    5. Record modifiedRed Hat ADP

      Show 44 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Affected versions (publisher)added
      —
      Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/9xxx/CVE-2026-9697.json">CVE-2026-9697</a>
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:22380
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:22934
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:34342
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:35841
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:35891
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:36621
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:36754
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:36820
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:38236
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:39868
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:41929
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:47728
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:48124
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:48151
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:56366
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:56431
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:57013
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:60520
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:7378
      Referenceadded
      —
      https://access.redhat.com/security/cve/CVE-2026-9697
      Referenceadded
      —
      https://bugzilla.redhat.com/show_bug.cgi?id=2490018
      Referenceadded
      —
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9697.json
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:22380
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:22934
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:34342
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:35841
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:35891
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:36621
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:36754
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:36820
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:38236
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:39868
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:41929
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:47728
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:48124
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:48151
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:56366
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:56431
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:57013
      —
      Referenceremoved
      https://access.redhat.com/errata/RHSA-2026:7378
      —
      Referenceremoved
      https://access.redhat.com/security/cve/CVE-2026-9697
      —
      Referenceremoved
      https://bugzilla.redhat.com/show_bug.cgi?id=2490018
      —
      Referenceremoved
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9697.json
      —

      Source identifier: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    Show 11 older changes
    1. Record modifiedRed Hat ADP

      1 individual change: Affected versions (publisher)

      Show the original change
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Affected versions (publisher)changed
      Cryostat 4 on RHEL 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8 (+106)
      Cryostat 4 on RHEL 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8 (+106)

      Source identifier: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    2. Record modifiedRed Hat ADP

      Show 2 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:57013
      Affected versions (publisher)changed
      Cryostat 4 on RHEL 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8 (+84)
      Cryostat 4 on RHEL 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8 (+106)

      Source identifier: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    3. Record modifiedRed Hat ADP

      Show 3 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:56366
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:56431
      Affected versions (publisher)changed
      Cryostat 4 on RHEL 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8 (+48)
      Cryostat 4 on RHEL 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8 (+84)

      Source identifier: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    4. Record modifiedRed Hat ADP

      Show 2 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:47728
      Affected versions (publisher)changed
      Cryostat 4 on RHEL 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8 (+47)
      Cryostat 4 on RHEL 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8 (+48)

      Source identifier: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    5. Record modifiedRed Hat ADP

      Show 3 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:48124
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:48151
      Affected versions (publisher)changed
      Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 (+47)
      Cryostat 4 on RHEL 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8 (+47)

      Source identifier: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    6. Record modifiedRed Hat ADP

      Show 2 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:41929
      Affected versions (publisher)changed
      Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 (+46)
      Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 (+47)

      Source identifier: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    7. Record modifiedRed Hat ADP

      Show 3 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:36754
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:36820
      Affected versions (publisher)changed
      Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux AppStream (v. 9), Cluster Observability Operator 1.5.0 (+14)
      Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux AppStream (v. 9), Cluster Observability Operator 1.5.0 (+15)

      Source identifier: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    8. Record modifiedRed Hat ADP

      Show 2 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Referenceadded
      —
      https://access.redhat.com/errata/RHSA-2026:35841
      Affected versions (publisher)changed
      Cluster Observability Operator 1.5.0, Red Hat Hardened Images, Cryostat 4 (+12)
      Red Hat Enterprise Linux AppStream (v. 10), Cluster Observability Operator 1.5.0, Red Hat Hardened Images (+13)

      Source identifier: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    9. Initial analysis by NVDNVD

      Newly listed as affected:
      Show 3 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Product configurationadded
      —
      OR *cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* versions from (including) 7.23.0 up to (excluding) 7.28.0 *cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* versions from (including) 8.0.0 up to (excluding) 8.5.0
      Reference typeadded
      —
      openjs: https://cna.openjsf.org/security-advisories.html Types: Vendor Advisory
      Reference typeadded
      —
      openjs: https://github.com/nodejs/undici/security/advisories/GHSA-vmh5-mc38-953g Types: Mitigation, Vendor Advisory

      Source identifier: nvd@nist.gov

    10. Record modifiedCISA ADP

      CISA assessment (SSVC): exploitation: none known, automatable: no

      Show the original change
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      SSVC assessmentchanged
      {"id":"CVE-2026-9697","role":"CISA Coordinator","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-06-17T18:34:18.472294Z"}
      {"id":"CVE-2026-9697","role":"CISA Coordinator","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"version":"2.0.3","timestamp":"2026-06-22T00:00:00+00:00"}

      Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0

    11. ReceivedOpenJS Foundation

      CVSS V3.1: AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

      Weakness type: CWE-295

      Description added or changed

      Show 6 original changes
      Individual changes of this event as published by NVD
      TypeActionBeforeAfter
      Affected versions (publisher)added
      —
      undici
      Descriptionadded
      —
      Impact: undici's ProxyAgent silently drops the requestTls option when configured with a SOCKS5 proxy URI (socks5:// or socks://). The target HTTPS connection through the SOCKS5 tunnel falls back to Node's default trust store, ignoring user-configured ca, cert, key, rejectUnauthorized, and servername settings. Applications that pin to an internal or corporate CA via requestTls.ca will, when their proxy URI is SOCKS5, get the default Mozilla CA bundle as the trust anchor instead. Any cert signed by any publicly-trusted CA for the target hostname is accepted, breaking the intended pin and enabling MITM read and tamper of the HTTPS exchange. Affected applications are those that use undici's ProxyAgent (or Socks5ProxyAgent directly) with SOCKS5 AND rely on requestTls for TLS scope restriction. The bug was introduced in undici 7.23.0 when SOCKS5 support was added. Patches: Upgrade to undici v7.28.0 or v8.5.0. Workarounds: No workaround is available within the SOCKS5 path. If a SOCKS5 proxy with TLS scope restriction is required and an upgrade is not yet possible, route the traffic through an HTTP-proxy ProxyAgent instead, where requestTls is honored correctly.
      CVSSadded
      —
      AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
      Weakness type (CWE)added
      —
      CWE-295
      Referenceadded
      —
      https://cna.openjsf.org/security-advisories.html
      Referenceadded
      —
      https://github.com/nodejs/undici/security/advisories/GHSA-vmh5-mc38-953g

      Source identifier: ce714d77-add3-4f53-aff5-83d477b104bb

    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2026-9697
    <a href="https://intel.neosec.eu/en/cve/CVE-2026-9697"><img src="https://intel.neosec.eu/badge/cve/CVE-2026-9697.svg?lang=en" alt="CVE-2026-9697 – NEOSEC Intel" height="20"></a>