CVE-2026-94140 Rex versions through 1.16.1 for Perl accept an unknown SSH host key for remote rsync transfers because sync hardcodes StrictHostKeyChecking=no
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- UbuntuDebian
Description
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.
Upgrade path
8 packages: 1 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/rex(Debian 12) | = 1.14.1-1; = 1.14.2-1; = 1.14.3-1; = 1.15.0-1 +4 more | No fix listed | No fix yet |
| debian/rex(Debian 13) | = 1.16.0-1; = 1.16.0-2; = 1.16.1-1; All versions | No fix listed | No fix yet |
| debian/rex(Debian 14) | = 1.16.0-1; = 1.16.0-2; = 1.16.1-1; All versions | No fix listed | No fix yet |
| ubuntu/rex(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/rex(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/rex(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/rex(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| cpan Rex | <= 1.16.1 | after 1.16.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cpan Rex | <= 1.16.1 | No fix listed |
| debian/rex(Debian:12) | All versions | No fix listed |
| debian/rex(Debian:12) | = 1.14.1-1 | No fix listed |
| debian/rex(Debian:12) | = 1.14.2-1 | No fix listed |
| debian/rex(Debian:12) | = 1.14.3-1 | No fix listed |
| debian/rex(Debian:12) | = 1.15.0-1 | No fix listed |
| debian/rex(Debian:12) | = 1.16.0-1 | No fix listed |
| debian/rex(Debian:12) | = 1.16.0-2 | No fix listed |
| debian/rex(Debian:12) | = 1.16.1-1 | No fix listed |
| debian/rex(Debian:13) | All versions | No fix listed |
| debian/rex(Debian:13) | = 1.16.0-1 | No fix listed |
| debian/rex(Debian:13) | = 1.16.0-2 | No fix listed |
| debian/rex(Debian:13) | = 1.16.1-1 | No fix listed |
| debian/rex(Debian:14) | All versions | No fix listed |
| debian/rex(Debian:14) | = 1.16.0-1 | No fix listed |
| debian/rex(Debian:14) | = 1.16.0-2 | No fix listed |
| debian/rex(Debian:14) | = 1.16.1-1 | No fix listed |
| ubuntu/rex(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/rex(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/rex(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/rex(Ubuntu:26.10) | All versions | No fix listed |
References
- metacpan.org technical-description
- www.openwall.com
- Debian Security Tracker CVE-2026-94140 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-107576 third-party-advisory