Description
When `CURLOPT_PINNEDPUBLICKEY` is configured alongside options that disable
standard peer verification (`CURLOPT_SSL_VERIFYPEER = 0` and
`CURLOPT_SSL_VERIFYHOST = 0`), libcurl fails to enforce public key pinning on
connections established without a presented server certificate. Bypassing the
pinning check under these disabled-verification conditions allows
unauthenticated connections to succeed when they should be rejected.
Published: 2026-09-06
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs when libcurl is configured with CURLOPT_PINNEDPUBLICKEY together with disabled standard peer verification; under these circumstances the library mistakenly skips public key pinning enforcement, allowing a connection that presents no server certificate to succeed and effectively neutralizing the pinning protection. An attacker could thus trick the client into communicating with a malicious server, enabling man‑in‑the‑middle attacks that compromise confidentiality and integrity.

Affected Systems

This defect is present in the libcurl component of the curl project (curl:curl). No specific product versions are listed; all builds containing the affected libcurl code are potentially impacted. The vulnerability is client‑side and any application using libcurl with the offending configuration is susceptible.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, indicating no public exploitation at the time of writing. However, the risk materializes only when an application intentionally disables certificate verification, which often indicates insecure or legacy code. In such environments, an attacker can exploit the bypass to establish a forged TLS session. Because the flaw resides in local configuration, it cannot be triggered remotely without compromising the application runtime, so the exploitation likelihood is moderate to high for applications that misuse the verification options. The impact level would be considered high due to potential man‑in‑the‑middle and credential compromise.

Generated by OpenCVE AI on September 6, 2026 at 19:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update libcurl to the latest release that fixes the bug
  • Ensure CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST are not disabled and remain enabled in all configurations
  • Avoid combining CURLOPT_PINNEDPUBLICKEY with disabled verification; enable pinning only when standard verification is active
  • If updating libcurl is not immediately possible, enforce certificate verification programmatically or through external configuration so that verification options cannot be disabled

Generated by OpenCVE AI on September 6, 2026 at 19:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 06 Sep 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-295

Sun, 06 Sep 2026 18:00:00 +0000

Type Values Removed Values Added
Description When `CURLOPT_PINNEDPUBLICKEY` is configured alongside options that disable standard peer verification (`CURLOPT_SSL_VERIFYPEER = 0` and `CURLOPT_SSL_VERIFYHOST = 0`), libcurl fails to enforce public key pinning on connections established without a presented server certificate. Bypassing the pinning check under these disabled-verification conditions allows unauthenticated connections to succeed when they should be rejected.
Title OpenSSL pinning bypass
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2026-09-06T17:48:16.262Z

Reserved: 2026-08-26T04:24:25.568Z

Link: CVE-2026-80230

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-06T18:17:22.327

Modified: 2026-09-06T18:17:22.327

Link: CVE-2026-80230

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-06T19:30:11Z

Weaknesses
  • CWE-295

    Improper Certificate Validation