Read the docs

OkHttp certificate pinning bypass via trailing-dot hostnames

Priority MEDIUM 61CWE-295Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00131 2nd percentileScored 2026-11-16
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
squareOkHttpup to 5.5.1—No fix listedCNA
  • OkHttp Vendorsquare Affected up to 5.5.1 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for OkHttp.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Timeline

  1. 2026-11-15 Threatist record created from CVE-2026-129482
  2. 2026-11-15 Alias added: GHSA-p22c-cv6w-qc6x
  3. 2026-11-16 CISA SSVC decision points changed

References

  • 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