CVE-2026-129482
Received Received - Intake

Improper Certificate Validation in OkHttp via Trailing-Dot Hostnames

Vulnerability report for CVE-2026-129482, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-15

Last updated on: 2026-11-15

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-15
Last Modified
2026-11-15
Generated
2026-11-15
AI Q&A
2026-11-15
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Square OkHttp From 0 (inc) to 5.5.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-295 The product does not validate, or incorrectly validates, a certificate.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in OkHttp through 5.5.1 involves improper certificate validation in the CertificatePinner component. When a hostname includes a trailing dot (e.g., example.com.), the Pin.matchesHostname method fails to normalize it, allowing certificate pinning checks to be bypassed. Attackers with a CA-trusted certificate not matching configured pins can intercept or modify TLS traffic for applications using trailing-dot hostnames.

Detection Guidance

To detect this vulnerability, check if your OkHttp version is 5.5.1 or earlier. Use commands like 'mvn dependency:tree' for Maven or 'gradle dependencies' for Gradle to inspect OkHttp versions in your project. If using Android, check the app's build.gradle file for OkHttp dependencies.

Impact Analysis

If you use an application relying on OkHttp 5.5.1 or earlier with certificate pinning, attackers could intercept or alter your TLS traffic by exploiting trailing-dot hostnames. This could expose sensitive data like login credentials or personal information to man-in-the-middle attacks.

Compliance Impact

This vulnerability could undermine compliance with GDPR and HIPAA by enabling man-in-the-middle attacks that intercept or modify TLS traffic. Certificate pinning bypass allows unauthorized access to sensitive data, violating encryption requirements in both regulations.

Mitigation Strategies

Upgrade OkHttp to version 5.5.2 or later, which includes the fix for trailing-dot hostname normalization. If upgrading is not possible, avoid using trailing dots in hostnames for pinned certificates and ensure all hostname references are consistent.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-129482. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...