CVE-2026-94140
AI summary
Rex for Perl through 1.16.1 hardcodes StrictHostKeyChecking=no in sync for remote rsync transfers, with no configuration to restore checking. An attacker able to redirect the connection can capture the password, receive uploaded files, or write attacker-supplied content on download. Critical (CVSS 9.1).
Official 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.
- Published
- 2026-10-21 22:16 UTC
- Modified
- 2026-10-30 16:18 UTC
- CVSS
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - EPSS
- 0.52% (percentile 37)
- ENISA EUVD
- EUVD-2026-107576
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
- CWE
- CWE-322
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- none
References
- NVD · CVE.org
- metacpan.org
https://metacpan.org/release/FERKI/Rex-1.16.1/source/lib/Rex/Commands/Rsync.pm - www.openwall.com
http://www.openwall.com/lists/oss-security/2026/10/21/28