CVE-2026-129482 OkHttp through 5.5.1 Certificate Pinning Bypass via Trailing-Dot Hostname

Medium 6.3 Published Updated

Network attackers with a trusted certificate can intercept or modify OkHttp TLS traffic when applications request trailing-dot pinned hostnames.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Harmful if only installed
No
Needs a specific call
Yes
Fix
None listed

What is CVE-2026-129482?

CVE-2026-129482 is a medium-severity security feature bypass vulnerability in Square OkHttp, published on 15 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-295

Which versions are affected by CVE-2026-129482?

1 open source package ship an affected version, including com.squareup.okhttp3/okhttp.

An affected version is only exploitable if your software calls Pin.matchesHostname. Many projects that include it are not exposed.

PackageAffectedFixed in
com.squareup.okhttp3/okhttp Maven
pkg:maven/com.squareup.okhttp3/okhttp
All versions to 5.5.1None

How do I fix CVE-2026-129482?

No fix has been published for CVE-2026-129482 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version, and do not rely on a single control for protection. More about Security feature bypass.

Is CVE-2026-129482 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-129482 exists.

Sources

Also known as GHSA-p22c-cv6w-qc6x, UBUNTU-CVE-2026-129482.

Is CVE-2026-129482 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free