CVE-2026-94140: CWE-322 Key Exchange without Entity Authentication
Description
Rex versions through 1.16.1 for Perl have a vulnerability where the SSH host key is not properly authenticated during remote rsync transfers. This occurs because the sync tool hardcodes the SSH option StrictHostKeyChecking=no, which disables host key verification. As a result, an attacker able to redirect the connection can present a malicious host key, causing the client to trust the attacker’s server. This can lead to password disclosure and unauthorized file uploads or downloads during the transfer.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Rex versions up to 1.16.1 arises from the sync tool's use of SSH with StrictHostKeyChecking disabled, preventing verification of the remote host's SSH key. The ssh command used for remote rsync transfers is constructed with this option hardcoded, and user-supplied SSH options do not override it. Consequently, an attacker who can intercept or redirect the connection before the legitimate host key is known can impersonate the server. Under password authentication, the client may send credentials to the attacker-controlled server. Additionally, file uploads and downloads can be manipulated, potentially leading to unauthorized data exposure or modification.
Potential Impact
An attacker capable of redirecting the SSH connection can impersonate the remote server by presenting a forged SSH host key. This leads to the client accepting the attacker as a trusted host, resulting in the disclosure of passwords during authentication and unauthorized file transfers. This compromises confidentiality and integrity of the data transferred via rsync in Rex. The vulnerability undermines the trust model of SSH host key verification.
Mitigation Recommendations
No official patch or fix is currently documented. Users should avoid using vulnerable versions of Rex (up to 1.16.1) for remote rsync transfers in untrusted networks. Until a fix is available, consider using alternative methods that enforce strict host key checking or manually verify host keys. Monitor vendor advisories for updates regarding remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-09-20T19:46:50.250Z
- State
- PUBLISHED
Threat ID: 6ad932a14d27ba8daa058c06
Added to database: 10/21/2026, 21:46:09 UTC
Last enriched: 10/21/2026, 22:00:45 UTC
Last updated: 10/21/2026, 22:00:45 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.