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
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Man‑in‑the‑Middle via SSH host key bypass
Action: Assess Impact
AI Analysis

Impact

Rex for Perl versions 1.16.1 and earlier build an SSH command for rsync transfers with the option StrictHostKeyChecking=no hard‑coded. As a result, the tool ignores any unknown or mismatched SSH host keys and never verifies the key presented by the remote server. If an attacker can intercept the initial connection and present a fabricated host key, the transfer will proceed using that key. Under password authentication the tool transmits the plain password over the channel, and under key authentication the attacker receives a copy of the data being uploaded or downloaded, enabling data theft or injection.

Affected Systems

The vulnerability affects the Rex framework for Perl, specifically versions 1.16.1 through 1.16.1 and earlier. No other vendors, products, or version details are listed.

Risk and Exploitability

Because a man‑in‑the‑middle can supply any host key prior to key exchange, the attack can be executed by simply controlling the network path to the target. No configuration option restores host key checking, making mitigation impossible until an official patch is released. The EPSS score of <1% indicates a low probability of exploitation, but the vulnerability is not listed in CISA’s KEV catalog, yet high risk remains due to the complete bypass of SSH host key validation and the potential for arbitrary data transfer.

Generated by OpenCVE AI on October 30, 2026 at 17:29 UTC.

Remediation

Vendor Solution

No fixed CPAN release is currently available.


OpenCVE Recommended Actions

  • Avoid using Rex sync for SSH transfers until a patched release is available.
  • Use a standard rsync or SCP command over SSH that enforces StrictHostKeyChecking for critical file operations.
  • If Rex must be used, manually verify the remote host key fingerprint with the server administrator before initiating the transfer and ensure it matches the expected key.

Generated by OpenCVE AI on October 30, 2026 at 17:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 22 Oct 2026 01:30:00 +0000

Type Values Removed Values Added
References

Wed, 21 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
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.
Title Rex versions through 1.16.1 for Perl accept an unknown SSH host key for remote rsync transfers because sync hardcodes StrictHostKeyChecking=no
Weaknesses CWE-322
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-30T15:52:33.360Z

Reserved: 2026-09-20T19:46:50.250Z

Link: CVE-2026-94140

cve-icon Vulnrichment

Updated: 2026-10-22T00:16:43.835Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-21T22:16:50.370

Modified: 2026-10-30T16:18:00.223

Link: CVE-2026-94140

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T17:30:13Z

Weaknesses
  • CWE-322

    Key Exchange without Entity Authentication