CVEfocus › CVE database › CVE-2026-94140

CVE-2026-94140Rex versions through 1.16.1 for Perl accept an unknown SSH host key for remote rsync…

CVSS 9.1 CriticalEPSS 0.5% (higher than 37% of CVEs)Published 2026-10-21Updated 2026-10-30Assigner: CPANSec

Rex versions through 1.16.1 for Perl accept an unknown SSH host key for remote rsync transfers because sync hardcodes StrictHostKeyChecking=no. Every remote branch of sync builds its ssh command with that option, for password authentication, for private-key authentication and for the fallback. The ssh options a caller sets through set_openssh_opt reach the OpenSSH transport but not this command, so there is no configuration that restores host key checking for the transfer. An attacker who can redirect the connection before the real host key is known presents their own and the transfer proceeds: under password authentication sync sends the connection password to that server, an upload writes the selected local files to it, and a download writes what it returns to the local destination.

CWE-322

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10rexFix pendingUBUNTU-CVE-2026-94140
Ubuntu 26.04rexUnder investigationUBUNTU-CVE-2026-94140
Ubuntu 24.04rexUnder investigationUBUNTU-CVE-2026-94140
Ubuntu 22.04rexUnder investigationUBUNTU-CVE-2026-94140
Ubuntu 20.04rexFix pendingUBUNTU-CVE-2026-94140
Ubuntu 18.04rexFix pendingUBUNTU-CVE-2026-94140
Ubuntu 16.04rexFix pendingUBUNTU-CVE-2026-94140
Debian 14rexFix pendingDEBIAN-CVE-2026-94140
Debian 13rexFix pendingDEBIAN-CVE-2026-94140
Debian 12rexFix pendingDEBIAN-CVE-2026-94140

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: No fixed CPAN release is currently available.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.