Live threats

All CVEs

CVE-2026-94140

Unknown SSH Host Key Acceptance in Rex for Perl

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Oct 21, 2026
Updated
Oct 30, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-322
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

Rex versions through 1.16.1 for Perl disables SSH host key verification in remote rsync transfers by hardcoding StrictHostKeyChecking=no. An attacker who redirects the connection before the real host key is known can present their own, intercepting credentials and transferred data.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available

Update Rex to version 1.16.2 or later to restore SSH host key verification in rsync transfers.

Vendor advisory · metacpan.org ↗

  1. Check whether you run any of the affected products and follow the vendor advisory.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Official sources

References

Links published by the sources. Open them with care.