Description

A flaw in the curl command line tool's logic makes it only set SSH host verification options when interacting directly using SFTP or SCP, and not as a result of following a redirect.

Weaknesses

  • — CWE-297 Improper Validation of Certificate with Host Mismatch

Affected products

VendorProductVersions
curlcurl8.22.0 to <=8.22.0 [affected]; 8.21.0 to <=8.21.0 [affected]; 8.20.0 to <=8.20.0 [affected]; 8.19.0 to <=8.19.0 [affected]; 8.18.0 to <=8.18.0 [affected]; 8.17.0 to <=8.17.0 [affected]; 8.16.0 to <=8.16.0 [affected]; 8.15.0 to <=8.15.0 [affected]; 8.14.1 to <=8.14.1 [affected]; 8.14.0 to <=8.14.0 [affected]; 8.13.0 to <=8.13.0 [affected]; 8.12.1 to <=8.12.1 [affected]; 8.12.0 to <=8.12.0 [affected]; 8.11.1 to <=8.11.1 [affected]; 8.11.0 to <=8.11.0 [affected]; 8.10.1 to <=8.10.1 [affected]; 8.10.0 to <=8.10.0 [affected]; 8.9.1 to <=8.9.1 [affected]; 8.9.0 to <=8.9.0 [affected]; 8.8.0 to <=8.8.0 [affected]; 8.7.1 to <=8.7.1 [affected]; 8.7.0 to <=8.7.0 [affected]; 8.6.0 to <=8.6.0 [affected]; 8.5.0 to <=8.5.0 [affected]; 8.4.0 to <=8.4.0 [affected]; 8.3.0 to <=8.3.0 [affected]; 8.2.1 to <=8.2.1 [affected]; 8.2.0 to <=8.2.0 [affected]; 8.1.2 to <=8.1.2 [affected]; 8.1.1 to <=8.1.1 [affected]; 8.1.0 to <=8.1.0 [affected]; 8.0.1 to <=8.0.1 [affected]; 8.0.0 to <=8.0.0 [affected]; 7.88.1 to <=7.88.1 [affected]; 7.88.0 to <=7.88.0 [affected]; 7.87.0 to <=7.87.0 [affected]; 7.86.0 to <=7.86.0 [affected]; 7.85.0 to <=7.85.0 [affected]; 7.84.0 to <=7.84.0 [affected]; 7.83.1 to <=7.83.1 [affected]; 7.83.0 to <=7.83.0 [affected]; 7.82.0 to <=7.82.0 [affected]; 7.81.0 to <=7.81.0 [affected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 21 Oct 2026 07:04 UTC.