CVE-2026-129482
published medium CVSS 4.0 · 6.3OkHttp through 5.5.1 Certificate Pinning Bypass via Trailing-Dot Hostname
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Square | — | OkHttp0 through 5.5.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.8 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Square | OkHttp | 0 through 5.5.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-295 Improper Certificate Validation
References
5- https://github.com/lysine-dev/okhttp/blob/parent-5.5.1/okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt#L293-L314
- https://github.com/lysine-dev/okhttp/commit/30aa589761a9b4f5fe84c00e21e5ab44b22bd7c1
- https://github.com/lysine-dev/okhttp/issues/9724
- https://github.com/lysine-dev/okhttp/pull/9734
- VulnCheck Advisory: OkHttp through 5.5.1 Certificate Pinning Bypass via Trailing-Dot Hostname https://www.vulncheck.com/advisories/okhttp-through-5.5.1-certificate-pinning-bypass-via-trailing-dot-hostname
Provider assertions
2VulnCheck · cna
OkHttp through 5.5.1 Certificate Pinning Bypass via Trailing-Dot Hostname
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2d91274199dbe31a01187cf5974061670157fd1a59f097d979a3622babec07a9
- Ingested
- 16 Nov 2026, 20:16:43 UTC
- Source record
- Official CVE record