{"cve":"CVE-2016-2402","nvd":{"published":"2017-01-30T22:59:00.390","modified":"2026-06-17T00:43:59.843","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9},"cwes":["CWE-295"],"references":["http://www.openwall.com/lists/oss-security/2016/02/10/8","http://www.openwall.com/lists/oss-security/2016/02/18/7","https://koz.io/pinning-cve-2016-2402/","https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E","https://publicobject.com/2016/02/11/okhttp-certificate-pinning-vulnerability/"],"products":["squareup:okhttp","squareup:okhttp3"],"source":"nvd","synced_at":"2026-10-19T20:41:25.729257544+00:00"},"epss":{"cve":"CVE-2016-2402","score":0.0194,"percentile":0.80119,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4hc2-jh7r-wrc3","url":"https://osv.dev/vulnerability/GHSA-4hc2-jh7r-wrc3","summary":"Improper Certificate Validation in OkHttp","modified":"2024-02-20T05:22:26.866493Z","packages":[{"ecosystem":"Maven","name":"com.squareup.okhttp3:okhttp","purl":"pkg:maven/com.squareup.okhttp3/okhttp","ranges":["<2.7.4"],"fixed":["2.7.4"]},{"ecosystem":"Maven","name":"com.squareup.okhttp3:okhttp","purl":"pkg:maven/com.squareup.okhttp3/okhttp","ranges":[">=3.0.0 <3.1.2"],"fixed":["3.1.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}