KeygraphLabs · CVE MCP

CVE-2016-2402 · mitre

CVE-2016-2402

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.

Published 2017-01-30, last changed 2026-06-17. Weakness: CWE-295.

CVSS
5.9
medium, from NVD
EPSS
1.96%
percentile 81.0%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: com.squareup.okhttp3:okhttp 2.7.4, 3.1.2 (Maven) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Timeline

2017-01-30Published
2022-05-13Package advisory GHSA-4hc2-jh7r-wrc3
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 1.96%

Affected packages

AdvisoryPackageFixed in
GHSA-4hc2-jh7r-wrc3com.squareup.okhttp3:okhttp (Maven)2.7.4
GHSA-4hc2-jh7r-wrc3com.squareup.okhttp3:okhttp (Maven)3.1.2

Also known as: GHSA-4hc2-jh7r-wrc3

Related

CVEPublishedCVSSSummary
CVE-2021-03412021-02-107.5same package: com.squareup.okhttp3:okhttp (Maven)
CVE-2026-886482026-10-083.7same weakness (CWE-295) from the same CNA (mitre)
CVE-2026-952102026-10-084.8same weakness (CWE-295) from the same CNA (mitre)
CVE-2026-906512026-09-138.1same weakness (CWE-295) from the same CNA (mitre)
CVE-2026-906472026-09-129.1same weakness (CWE-295) from the same CNA (mitre)
CVE-2026-877332026-09-096.2same weakness (CWE-295) from the same CNA (mitre)
CVE-2026-578262026-08-186.8same weakness (CWE-295) from the same CNA (mitre)
CVE-2026-389742026-07-155.3same weakness (CWE-295) from the same CNA (mitre)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-2402, or call /api/v1/vulnerabilities/CVE-2016-2402. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org