UBUNTU-CVE-2026-129482: Medium severity ubuntu/libokhttp-java vulnerability

Published Nov 16, 2026
·
Updated

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.

Affected Software

6 affected components
ubuntu/libokhttp-java*
ubuntu/libokhttp-java*
ubuntu/libokhttp-java*
ubuntu/libokhttp-java*
ubuntu/libokhttp-java*
ubuntu/libokhttp-java*

Event History

Nov 16, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using OkHttp CertificatePinner are affected when they make requests to a pinned host using a hostname with a trailing dot. Requests using the normal non-trailing-dot hostname are not described as bypassing pin checks.

2

What does an attacker need to exploit the bypass?

An attacker must be positioned to intercept the application's network traffic and present a certificate trusted by the application's CA trust store. The certificate does not need to match the configured pins if the application requests the pinned host in trailing-dot form.

3

Is certificate pinning disabled globally by this vulnerability?

No. The described bypass is specific to trailing-dot hostname handling in Pin.matchesHostname and affects pin checks for requests made with that hostname form.

4

What can be done if an update cannot be applied immediately?

Avoid making requests to pinned hosts using trailing-dot hostnames. Ensure application URL and hostname construction uses the canonical hostname form without a trailing dot.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203