Vulnerability in Square Okhttp
CVE-2026-129482
OkHttp through 5.5.1 contains an improper certificate validation vulnerability in CertificatePinner that skips pin checks because Pin.matchesHostname does not normalize trailing-dot hostnames. Network attackers with a CA-trusted certificate not matching configured pins can intercept or modify TLS traffic when applications request the trailing-dot form of pinned hosts.
Vulnerability class: Improper Certificate Validation
Published .
CVSS v3 metric
CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
FIRST.org has not scored this CVE yet. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/lysine-dev/okhttp/issues/9724 (issue-tracking)
- github.com/lysine-dev/okhttp/pull/9734 (issue-tracking, patch)
- github.com/lysine-dev/okhttp/commit/30aa589761a9b4f5fe84c00e21e5ab44b22bd7c1 (patch)
- github.com/lysine-dev/okhttp/blob/parent-5.5.1/okhttp/src/commonJvmAndroid/kotl… (technical-description)
- www.vulncheck.com/advisories/okhttp-through-5.5.1-certificate-pinning-bypass-vi… (third-party-advisory)