# CVE-2022-32210: ProxyAgent vulnerable to MITM

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-06-17T01:02:29.000Z
- Modified: 2026-07-08T06:29:56.512Z
- Also known as: GHSA-pgw7-wx7w-2w33
- Weaknesses: CWE-295
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- https://github.com/nodejs/undici: Fixed in version >= v5.5.1. Vulnerable between v4.8.2 and v5.5.0
- undici (npm): from 4.8.2 before 5.5.1
- nodejs undici: from 4.8.2 before 5.5.1

## Every score

- GitHub: 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`
- NVD: 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`

## References

- <https://hackerone.com/reports/1583680> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/nodejs/undici/security/advisories/GHSA-pgw7-wx7w-2w33> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-32210> (advisory)
- <https://github.com/nodejs/undici> (package)

## Sources

- CVE List: [CVE-2022-32210](https://www.cve.org/CVERecord?id=CVE-2022-32210), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-pgw7-wx7w-2w33](https://github.com/advisories/GHSA-pgw7-wx7w-2w33), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2022-32210](https://nvd.nist.gov/vuln/detail/CVE-2022-32210), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-32210 · Whole record: https://cve.day/CVE-2022-32210.json · Rebuilt by cve.day 2026-11-25T22:58:12.945Z
