CVE-2026-94140Rex versions through 1.16.1 for Perl accept an unknown SSH host key for remote rsync…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rex | Fix pending | UBUNTU-CVE-2026-94140 | |
| Ubuntu 26.04 | rex | Under investigation | UBUNTU-CVE-2026-94140 | |
| Ubuntu 24.04 | rex | Under investigation | UBUNTU-CVE-2026-94140 | |
| Ubuntu 22.04 | rex | Under investigation | UBUNTU-CVE-2026-94140 | |
| Ubuntu 20.04 | rex | Fix pending | UBUNTU-CVE-2026-94140 | |
| Ubuntu 18.04 | rex | Fix pending | UBUNTU-CVE-2026-94140 | |
| Ubuntu 16.04 | rex | Fix pending | UBUNTU-CVE-2026-94140 | |
| Debian 14 | rex | Fix pending | DEBIAN-CVE-2026-94140 | |
| Debian 13 | rex | Fix pending | DEBIAN-CVE-2026-94140 | |
| Debian 12 | rex | Fix pending | DEBIAN-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.
- Rex: affected: up to 1.16.1
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.