CVE-2022-32210
ProxyAgent vulnerable to MITM
Undici.ProxyAgent never verifies the remote server's certificate, and always exposes all request & response data to the proxy. This unexpectedly means that proxies can MitM all HTTPS traffic, and if the proxy's URL is HTTP then it also means that nominally HTTPS requests are actually sent via plain-text HTTP between Undici and the proxy server.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.5
Undici.ProxyAgent never verifies the remote server's certificate, and always exposes all request & response data to the proxy. This unexpectedly means that proxies can MitM all HTTPS traffic, and if the proxy's URL is HTTP then it also means that nominally HTTPS requests are actually sent via plain-text HTTP between Undici and the proxy server.
- Record
CVE-2022-32210- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
CVE List No score
Undici.ProxyAgent never verifies the remote server's certificate, and always exposes all request & response data to the proxy. This unexpectedly means that proxies can MitM all HTTPS traffic, and if the proxy's URL is HTTP then it also means that nominally HTTPS requests are actually sent via plain-text HTTP between Undici and the proxy server.
- Record
CVE-2022-32210- Weakness
- CWE-295
- Updated
- 2026-11-02
EUVDEUVD-2022-6112 No score
Undici.ProxyAgent never verifies the remote server's certificate, and always exposes all request & response data to the proxy. This unexpectedly means that proxies can MitM all HTTPS traffic, and if the proxy's URL is HTTP then it also means that nominally HTTPS requests are actually sent via plain-text HTTP between Undici and the proxy server.
- Record
EUVD-2022-6112- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-pgw7-wx7w-2w33
7.7
ProxyAgent vulnerable to MITM
Description
Undici.ProxyAgent never verifies the remote server's certificate, and always exposes all request & response data to the proxy. This unexpectedly means that proxies can MitM all HTTPS traffic, and if the proxy's URL is HTTP then it also means that nominally HTTPS requests are actually sent via plain-text HTTP between Undici and the proxy server.
Impact
This affects all use of HTTPS via HTTP proxy using Undici.ProxyAgent with Undici or Node's global fetch. In this case, it removes all HTTPS security from all requests sent using Undici's ProxyAgent, allowing trivial MitM attacks by anybody on the network path between the client and the target server (local network users, your ISP, the proxy, the target server's ISP, etc).
This less seriously affects HTTPS via HTTPS proxies. When you send HTTPS via a proxy to a remote server, the proxy can freely view or modify all HTTPS traffic unexpectedly (but only the proxy).
Patches
This issue was patched in Undici v5.5.1.
Workarounds
At the time of writing, the only workaround is to not use ProxyAgent as a dispatcher for TLS Connections.
- Record
GHSA-pgw7-wx7w-2w33- CVSS 3.1
- 7.7 High
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
OSVGHSA-pgw7-wx7w-2w33
7.7
ProxyAgent vulnerable to MITM
Description
Undici.ProxyAgent never verifies the remote server's certificate, and always exposes all request & response data to the proxy. This unexpectedly means that proxies can MitM all HTTPS traffic, and if the proxy's URL is HTTP then it also means that nominally HTTPS requests are actually sent via plain-text HTTP between Undici and the proxy server.
Impact
This affects all use of HTTPS via HTTP proxy using Undici.ProxyAgent with Undici or Node's global fetch. In this case, it removes all HTTPS security from all requests sent using Undici's ProxyAgent, allowing trivial MitM attacks by anybody on the network path between the client and the target server (local network users, your ISP, the proxy, the target server's ISP, etc).
This less seriously affects HTTPS via HTTPS proxies. When you send HTTPS via a proxy to a remote server, the proxy can freely view or modify all HTTPS traffic unexpectedly (but only the proxy).
Patches
This issue was patched in Undici v5.5.1.
Workarounds
At the time of writing, the only workaround is to not use ProxyAgent as a dispatcher for TLS Connections.
- Record
GHSA-pgw7-wx7w-2w33- CVSS 3.1
- 7.7 High
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
OSV No score
Undici.ProxyAgent never verifies the remote server's certificate, and always exposes all request & response data to the proxy. This unexpectedly means that proxies can MitM all HTTPS traffic, and if the proxy's URL is HTTP then it also means that nominally HTTPS requests are actually sent via plain-text HTTP between Undici and the proxy server.
- Record
CVE-2022-32210- Weakness
- CWE-295
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-32210 No score
Undici.ProxyAgent never verifies the remote server's certificate, and always exposes all request & response data to the proxy. This unexpectedly means that proxies can MitM all HTTPS traffic, and if the proxy's URL is HTTP then it also means that nominally HTTPS requests are actually sent via plain-text HTTP between Undici and the proxy server.
- Record
DEBIAN-CVE-2022-32210- Updated
- 2026-11-03
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
undicinpm |
4.8.2 to 5.5.0 | 5.5.1 |
node-undiciDebian:12 |
before 5.6.1+dfsg1+~cs18.9.16-1 | 5.6.1+dfsg1+~cs18.9.16-1 |
node-undiciDebian:13 |
before 5.6.1+dfsg1+~cs18.9.16-1 | 5.6.1+dfsg1+~cs18.9.16-1 |
node-undiciDebian:14 |
before 5.6.1+dfsg1+~cs18.9.16-1 | 5.6.1+dfsg1+~cs18.9.16-1 |
undicinpm |
4.8.2 up to 5.5.1 | 5.5.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-32210 is a medium vulnerability (CVSS 6.5) in Nodejs Undici, published June 17, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.47%, the 40th percentile. Fixed in undici 5.5.1.
References
hackerone.com/reports/1583680
github.com/nodejs/undici/security/advisories/GHSA-pgw7-wx7w-2w33
nvd.nist.gov/vuln/detail/CVE-2022-32210
github.com/advisories/GHSA-pgw7-wx7w-2w33
github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32210.json
security-tracker.debian.org/tracker/CVE-2022-32210
github.com/nodejs/undici