CVE Database›Document archive›CVE-2026-80230

CVE-2026-80230

curl: curl: Public key pinning bypass allows unauthenticated connections

Loading…

Severity

Low

Red Hat Product Security

3.7

CVSS 3.1

Review impact separately from score.

Published · September 7, 2026

Updated · October 31, 2026

Description

A flaw was found in libcurl, a client-side URL transfer library. When public key pinning is configured, but standard peer verification is explicitly disabled, libcurl incorrectly allows connections to proceed without enforcing the public key pinning. This bypass enables unauthenticated connections that should have been rejected, potentially compromising the integrity of the connection.

Statement

This Low impact flaw in curl arises when public key pinning is enabled alongside explicitly disabled SSL/TLS peer verification. In such an atypical and insecure configuration, libcurl fails to enforce the public key pinning, allowing unauthenticated connections to proceed without proper certificate validation. Red Hat products typically employ secure default configurations that enable full peer verification, thus reducing exposure to this issue.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, ensure that SSL/TLS peer verification is enabled by setting CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST to 1 (or not explicitly disabling them). This ensures that libcurl properly enforces public key pinning and validates server certificates.

CVSS / CWE

CVSS 3.1 · 3.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

CWE-303 · Incorrect Implementation of Authentication Algorithm