CVE-2026-129482: OkHttp Improper Certificate Validation
Published 2026-11-15 · Updated 2026-11-16 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — apply the vendor fix or mitigation on your normal schedule.
What to do
- The advisory lists versions through 5.5.1 as affected and does not name a fixed release. Check the references below for a newer version of OkHttp or a vendor mitigation.
- Until it is patched, do not leave OkHttp reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Avoid using the affected client on untrusted networks until it is updated.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| OkHttp | ≤ 5.5.1 | Not stated in the advisory |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact is limited: confidentiality and integrity are rated low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | Low | Partial loss of confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness: Improper Certificate Validation
TLS certificates are not validated correctly, which allows an attacker on the network path to intercept or alter traffic.
Classified as CWE-295.
Description
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/lysine-dev/okhttp/commit/30aa589761a9b4f5fe84c00e21e5ab44b22bd7c1
- Patchhttps://github.com/lysine-dev/okhttp/pull/9734
- Advisoryhttps://www.vulncheck.com/advisories/okhttp-through-5.5.1-certificate-pinning-bypass-via-trailing-dot-hostname
- Referencehttps://github.com/lysine-dev/okhttp/blob/parent-5.5.1/okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt#L293-L314
- Referencehttps://github.com/lysine-dev/okhttp/issues/9724
- Referencehttps://github.com/lysine-dev/okhttp/issues/9724