OkHttp certificate pinning bypass via trailing-dot hostnames
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-295.
Summary
Square OkHttp through 5.5.1 has an improper certificate validation flaw (CWE-295) in CertificatePinner. Hostname matching does not normalize trailing-dot hostnames, so pin checks are skipped for them. A network attacker holding a CA-trusted certificate that does not match the configured pins can intercept or modify TLS traffic when an application requests the trailing-dot form of a pinned host.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for OkHttp.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Timeline
- 2026-11-15 Threatist record created from CVE-2026-129482
- 2026-11-15 Alias added: GHSA-p22c-cv6w-qc6x
- 2026-11-16 CISA SSVC decision points changed
References
Patch 2
More square vulnerabilities
- TI-2026-45064 Integer overflow in square wire CVSS 3.1HIGH 7.5
- TI-2026-44167 Wire Swift runtime: negative LENGTH_DELIMITED length in skipGroup() crashes any protobuf-decoding service CVSS 3.1HIGH 7.5
- TI-2026-71027 Insecure YAML deserialization in Square Squash symbolication API CVSS 4.0CRITICAL 9.2
- TI-2024-38317 Uncontrolled recursion in square Wire CVSS 3.1MEDIUM 5.8
Sources
- CVE-2026-129482 · CVE Program
- CVE-2026-129482 · NVD
- FIRST EPSS
- GHSA-p22c-cv6w-qc6x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences