CVE-2016-2402: Squareup Okhttp

Medium severity, CVSS 5.9. EPSS: 2.2% chance of exploitation in the next 30 days.

OkHttp before 2.7.4 and 3.x before 3.1.2 allows man-in-the-middle attackers to bypass certificate pinning by sending a certificate chain with a certificate from a non-pinned trusted CA and the pinned certificate.

Affected products

  • Squareup Okhttp: up to and including 2.7.3
  • Squareup OKHTTP3: version 3.0.0 only; version 3.0.1 only; version 3.1.0 only; version 3.1.1 only

Published 2017-01-30. Last modified 2026-06-17.