Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for OkHttp by Square

    CVE-2026-129482 (GCVE-0-2026-129482)

    Vulnerability from nvd – Published: 2026-11-15 13:47 – Updated: 2026-11-15 13:47
    VLAI
    Title
    OkHttp through 5.5.1 Certificate Pinning Bypass via Trailing-Dot Hostname
    Summary
    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.
    CWE
    • CWE-295 - Improper Certificate Validation
    Assigner
    VulnCheck CNA under the mitre root
    CNA scorecard B 84/100 over 8193 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Square OkHttp Affected: 0 , ≤ 5.5.1 (semver)
        cpe:2.3:a:squareup:okhttp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-08-22 00:00
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageURL": "pkg:maven/com.squareup.okhttp3/okhttp",
              "product": "OkHttp",
              "repo": "https://github.com/lysine-dev/okhttp",
              "vendor": "Square",
              "versions": [
                {
                  "lessThanOrEqual": "5.5.1",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:squareup:okhttp:*:*:*:*:*:*:*:*",
                      "versionEndIncluding": "5.5.1",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Joshua Rogers"
            }
          ],
          "datePublic": "2026-08-22T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "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."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "LOW",
                "vulnIntegrityImpact": "LOW"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 4.8,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-295",
                  "description": "Improper Certificate Validation",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-15T13:47:24.248Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "tags": [
                "issue-tracking"
              ],
              "url": "https://github.com/lysine-dev/okhttp/issues/9724"
            },
            {
              "tags": [
                "patch",
                "issue-tracking"
              ],
              "url": "https://github.com/lysine-dev/okhttp/pull/9734"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/lysine-dev/okhttp/commit/30aa589761a9b4f5fe84c00e21e5ab44b22bd7c1"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/lysine-dev/okhttp/blob/parent-5.5.1/okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt#L293-L314"
            },
            {
              "name": "VulnCheck Advisory: OkHttp through 5.5.1 Certificate Pinning Bypass via Trailing-Dot Hostname",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/okhttp-through-5.5.1-certificate-pinning-bypass-via-trailing-dot-hostname"
            }
          ],
          "title": "OkHttp through 5.5.1 Certificate Pinning Bypass via Trailing-Dot Hostname",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-129482",
        "datePublished": "2026-11-15T13:47:24.248Z",
        "dateReserved": "2026-11-15T13:41:09.589Z",
        "dateUpdated": "2026-11-15T13:47:24.248Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-129482 (GCVE-0-2026-129482)

    Vulnerability from cvelistv5 – Published: 2026-11-15 13:47 – Updated: 2026-11-15 13:47
    VLAI
    Title
    OkHttp through 5.5.1 Certificate Pinning Bypass via Trailing-Dot Hostname
    Summary
    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.
    CWE
    • CWE-295 - Improper Certificate Validation
    Assigner
    VulnCheck CNA under the mitre root
    CNA scorecard B 84/100 over 8193 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Square OkHttp Affected: 0 , ≤ 5.5.1 (semver)
        cpe:2.3:a:squareup:okhttp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-08-22 00:00
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "packageURL": "pkg:maven/com.squareup.okhttp3/okhttp",
              "product": "OkHttp",
              "repo": "https://github.com/lysine-dev/okhttp",
              "vendor": "Square",
              "versions": [
                {
                  "lessThanOrEqual": "5.5.1",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:squareup:okhttp:*:*:*:*:*:*:*:*",
                      "versionEndIncluding": "5.5.1",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Joshua Rogers"
            }
          ],
          "datePublic": "2026-08-22T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "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."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "LOW",
                "vulnIntegrityImpact": "LOW"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 4.8,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-295",
                  "description": "Improper Certificate Validation",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-15T13:47:24.248Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "tags": [
                "issue-tracking"
              ],
              "url": "https://github.com/lysine-dev/okhttp/issues/9724"
            },
            {
              "tags": [
                "patch",
                "issue-tracking"
              ],
              "url": "https://github.com/lysine-dev/okhttp/pull/9734"
            },
            {
              "tags": [
                "patch"
              ],
              "url": "https://github.com/lysine-dev/okhttp/commit/30aa589761a9b4f5fe84c00e21e5ab44b22bd7c1"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/lysine-dev/okhttp/blob/parent-5.5.1/okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt#L293-L314"
            },
            {
              "name": "VulnCheck Advisory: OkHttp through 5.5.1 Certificate Pinning Bypass via Trailing-Dot Hostname",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/okhttp-through-5.5.1-certificate-pinning-bypass-via-trailing-dot-hostname"
            }
          ],
          "title": "OkHttp through 5.5.1 Certificate Pinning Bypass via Trailing-Dot Hostname",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-129482",
        "datePublished": "2026-11-15T13:47:24.248Z",
        "dateReserved": "2026-11-15T13:41:09.589Z",
        "dateUpdated": "2026-11-15T13:47:24.248Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }