Improper Certificate Validation Affecting curl package, versions [7.69.1,8.23.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-CURL-21195705
  • published18 Oct 2026
  • disclosed14 Oct 2026
  • creditUnknown

Introduced: 14 Oct 2026

NewCVE-2026-87865  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade curl to version 8.23.0 or higher.

Overview

curl is a command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP. libcurl offers a myriad of powerful features.

Affected versions of this package are vulnerable to Improper Certificate Validation in the knownhost callback process. An attacker can cause the application to trust an unverified server by intercepting SSH network traffic and exploiting the mishandling of host key verification. This is only exploitable if libcurl is compiled with libssh2, a custom host key callback is configured, and hashed host records are used.

CVSS Base Scores

version 4.0
version 3.1