---
id: CVE-2026-9697
title: >-
  undici: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5
  proxy (CVE-2026-9697)
summary: >-
  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…
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'
cvssSource: vendor
cwe: CWE-295
vendor: Red Hat
product: Red Hat Openshift Data Foundation 4.20
affected:
  - cryostat 4
  - openshift_pipelines
  - build_of_podman_desktop
  - openshift_ai_rhoai
  - self_service_automation_portal 2
  - cryostat_4_on_rhel 9
  - enterprise_linux_appstream_v_10
  - enterprise_linux_appstream_v_8
  - enterprise_linux_appstream_v_9
  - cluster_observability_operator 1.5.0
  - developer_hub 1.10
  - developer_hub 1.9
  - hardened_images
  - openshift_ai 2.25
  - openshift_ai 3.4
  - openshift_container_platform 4.16
  - openshift_container_platform 4.17
  - openshift_dev_spaces 3.29
  - openshift_data_foundation 4.18
  - openshift_data_foundation 4.19
  - openshift_data_foundation 4.20
patched:
  - cryostat_4_on_rhel 9
  - enterprise_linux_appstream_v_10
  - enterprise_linux_appstream_v_8
  - enterprise_linux_appstream_v_9
  - cluster_observability_operator 1.5.0
  - developer_hub 1.10
  - developer_hub 1.9
  - hardened_images
  - openshift_ai 2.25
  - openshift_ai 3.4
  - openshift_container_platform 4.16
  - openshift_container_platform 4.17
  - openshift_dev_spaces 3.29
  - openshift_data_foundation 4.18
  - openshift_data_foundation 4.19
  - openshift_data_foundation 4.20
published: '2026-06-17'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T13:16:11+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9697.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9697.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-9697'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2490018'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-9697'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-9697'
  - url: 'https://cna.openjsf.org/security-advisories.html'
  - url: 'https://github.com/nodejs/undici/security/advisories/GHSA-vmh5-mc38-953g'
  - url: 'https://access.redhat.com/errata/RHSA-2026:48151'
  - url: 'https://access.redhat.com/errata/RHSA-2026:35841'
  - url: 'https://access.redhat.com/errata/RHSA-2026:39868'
  - url: 'https://access.redhat.com/errata/RHSA-2026:35891'
  - url: 'https://access.redhat.com/errata/RHSA-2026:34342'
  - url: 'https://access.redhat.com/errata/RHSA-2026:36754'
  - url: 'https://access.redhat.com/errata/RHSA-2026:41929'
  - url: 'https://access.redhat.com/errata/RHSA-2026:38236'
  - url: 'https://access.redhat.com/errata/RHSA-2026:7378'
  - url: 'https://access.redhat.com/errata/RHSA-2026:22380'
  - url: 'https://access.redhat.com/errata/RHSA-2026:22934'
  - url: 'https://access.redhat.com/errata/RHSA-2026:65126'
  - url: 'https://access.redhat.com/errata/RHSA-2026:60520'
  - url: 'https://access.redhat.com/errata/RHSA-2026:36621'
  - url: 'https://access.redhat.com/errata/RHSA-2026:47728'
  - url: 'https://access.redhat.com/errata/RHSA-2026:48124'
  - url: 'https://access.redhat.com/errata/RHSA-2026:36820'
  - url: 'https://access.redhat.com/errata/RHSA-2026:56431'
  - url: 'https://access.redhat.com/errata/RHSA-2026:56366'
  - url: 'https://access.redhat.com/errata/RHSA-2026:57013'
  - url: 'https://github.com/advisories/GHSA-vmh5-mc38-953g'
tags:
  - csaf
  - vex
  - red-hat
  - cve.org
  - nvd
  - ghsa
  - npm
epss: 0.00554
epssPercentile: 0.43894
ecosystem: npm
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-06-22T00:00:00+00:00'
ingestedAt: '2026-06-19T03:39:00.822Z'
---

## Overview

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.

## Vendor advisories

- **RHSA-2026:48151** · Red Hat · fixed in: Cryostat 4 on RHEL 9 · released 2026-07-29 · [advisory](https://access.redhat.com/errata/RHSA-2026:48151)
- **RHSA-2026:35841** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10) · released 2026-07-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:35841)
- **RHSA-2026:39868** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8) · released 2026-07-15 · [advisory](https://access.redhat.com/errata/RHSA-2026:39868)
- **RHSA-2026:35891** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 9) · released 2026-07-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:35891)
- **RHSA-2026:34342** · Red Hat · fixed in: Cluster Observability Operator 1.5.0 · released 2026-07-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:34342)
- **RHSA-2026:36754** · Red Hat · fixed in: Red Hat Developer Hub 1.10 · released 2026-07-08 · [advisory](https://access.redhat.com/errata/RHSA-2026:36754)
- **RHSA-2026:41929** · Red Hat · fixed in: Red Hat Developer Hub 1.9 · released 2026-07-20 · [advisory](https://access.redhat.com/errata/RHSA-2026:41929)
- **RHSA-2026:38236** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-07-11 · [advisory](https://access.redhat.com/errata/RHSA-2026:38236)
- **RHSA-2026:7378** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-04-10 · [advisory](https://access.redhat.com/errata/RHSA-2026:7378)
- **RHSA-2026:22380** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-06-02 · [advisory](https://access.redhat.com/errata/RHSA-2026:22380)
- **RHSA-2026:22934** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-06-03 · [advisory](https://access.redhat.com/errata/RHSA-2026:22934)
- **Red Hat VEX** · Important · affected: Cryostat 4, OpenShift Pipelines, Red Hat Build of Podman Desktop, Red Hat OpenShift AI (RHOAI), Self-service automation portal 2 · no fix planned: Cryostat 4, OpenShift Pipelines, Red Hat Build of Podman Desktop, Red Hat OpenShift AI (RHOAI), … · updated 2026-09-18 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9697.json)

**undici: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy** — rated Important by Red Hat. Released 2026-06-17, updated 2026-09-18.

Affected:

- Cryostat 4
- OpenShift Pipelines
- Red Hat Build of Podman Desktop
- Red Hat OpenShift AI (RHOAI)
- Self-service automation portal 2

Fixed:

- Cryostat 4 on RHEL 9
- Red Hat Enterprise Linux AppStream (v. 10)
- Red Hat Enterprise Linux AppStream (v. 8)
- Red Hat Enterprise Linux AppStream (v. 9)
- Cluster Observability Operator 1.5.0
- Red Hat Developer Hub 1.10
- Red Hat Developer Hub 1.9
- Red Hat Hardened Images
- Red Hat OpenShift AI 2.25
- Red Hat OpenShift AI 3.4
- Red Hat OpenShift Container Platform 4.16
- Red Hat OpenShift Container Platform 4.17
- Red Hat OpenShift Dev Spaces 3.29
- Red Hat Openshift Data Foundation 4.18
- Red Hat Openshift Data Foundation 4.19
- Red Hat Openshift Data Foundation 4.20

No fix planned:

- Cryostat 4
- OpenShift Pipelines
- Red Hat Build of Podman Desktop
- Red Hat OpenShift AI (RHOAI)
- Self-service automation portal 2

Not affected:

- Cryostat 4 on RHEL 9
- Cluster Observability Operator 1.5.0
- Red Hat Developer Hub 1.10
- Red Hat Developer Hub 1.9
- Red Hat OpenShift AI 2.25
- Red Hat OpenShift AI 3.4
- Red Hat OpenShift Container Platform 4.16
- Red Hat OpenShift Container Platform 4.17
- Red Hat OpenShift Dev Spaces 3.29
- Red Hat Openshift Data Foundation 4.18

## Remediation

Before applying this update, make sure all previously released errata relevant to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258 https://access.redhat.com/errata/RHSA-2026:48151
For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258 https://access.redhat.com/errata/RHSA-2026:35841
For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258 https://access.redhat.com/errata/RHSA-2026:39868

Workarounds / mitigations:

- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

## Package advisory (CVE-2026-9697)

Affected packages:

- `undici >= 7.23.0, < 7.28.0`
- `undici >= 8.0.0, < 8.5.0`

Patched in:

- `undici 7.28.0`
- `undici 8.5.0`

Source: https://github.com/advisories/GHSA-vmh5-mc38-953g
