Intel

AIKIDO-2026-688264

libcurl is vulnerable to Improper Certificate Validation

Improper Certificate ValidationCVE-2026-9547 Published 6 days ago

37

Low Risk

This Affects:

C++libcurl
7.69.0 - 8.20.0
Fixed in 8.21.0
Are you affected? Scan for Free

TL;DR

For scp and sftp transfers that use CURLOPT_SSH_KEYFUNCTION, a server host key whose type does not match the type already stored for that host in known_hosts is still accepted. The callback path does not fail the mismatch, so the transfer continues to an unverified host. The fix maps that mismatch to a failed host check.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use CURLOPT_SSH_KEYFUNCTION for SCP or SFTP.

Background info

libcurl is vulnerable to Improper Certificate Validation in versions 7.69.0 - 8.20.0.

How to fix this

Upgrade the libcurl and/or the curl.curl library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform