highCVE-2026-9547

CVE-2026-9547 curl vulnerability

When a libcurl-based application performs transfers via `SCP://` or `SFTP://` and utilizes the `CURLOPT_SSH_KEYFUNCTION` callback, it may silently accept an untrusted server. This vulnerability occurs when a server presents a host key type that does not match the specific key type already recorded for that host in the `known_hosts` file. Instead of rejecting the mismatch, the callback mechanism fails to properly enforce the restriction, allowing the connection to succeed without warning and risking a potential man-in-the-middle attack.

Productcurl
CVSS7.4
EPSS0.00508
UpdatedJuly 14, 2026

Quick answer

haxx curl should be reviewed and updated if it matches the affected versions. The recommended fix is to apply the vendor-supported patched version or the mitigation steps below, then retest the public website with Fixnx.

Who is affected

Affected versions

  • from 7.69.0 before 8.21.0

Fixed versions

  • 8.21.0

How to fix it

CVE-2026-9547 affects curl or libcurl. It may accept an untrusted server. Upgrade curl and libcurl to 8.21.0, or apply the vendor patch and rebuild affected apps.

  1. List every system, container, and app that uses curl or libcurl.
  2. Check the curl and libcurl versions on each system.
  3. Upgrade curl and libcurl to 8.21.0 or a distro backport that includes the fix.
  4. Rebuild apps and containers that statically link libcurl.
  5. Restart services that load libcurl after the update.
  6. Avoid risky options or workflows from the advisory until patched.
  7. Review proxy, TLS, SSH, and HTTP logs for unexpected data leaks.

Scan now. Google sign-in is only needed to unlock fix guidance.

Verify the fix

  • Run curl --version or package checks and confirm 8.21.0 or a patched vendor build.
  • Confirm rebuilt apps link to the patched libcurl.
  • Retest affected SCP, SFTP, proxy, TLS, or HTTP flows as relevant.
  • Confirm logs no longer show the unsafe behavior.
  • Record package versions and rebuild evidence.

Related categories

Trusted references

FAQ

What is affected by CVE-2026-9547?

haxx curl versions listed as affected should be reviewed: from 7.69.0 before 8.21.0.

What should I fix first?

Start with internet-facing sites, admin panels, login flows, plugins, themes, modules, packages, and systems that process user-controlled input or sensitive data.

How do I confirm the fix worked?

Apply the patched version or mitigation, clear caches where relevant, retest the affected workflow, and run a new Fixnx scan to verify public website exposure signals.

How are Fixnx security risk categories chosen?

Fixnx keeps one canonical risk page and assigns only broad, relevant categories such as ecosystem, technology area, or vulnerability class.