CVE-2026-94140

Source
https://cve.org/CVERecord?id=CVE-2026-94140
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-94140.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-94140
Downstream
Published
2026-10-21T21:22:19Z
Modified
2026-10-22T10:46:38Z
Summary
Rex versions through 1.16.1 for Perl accept an unknown SSH host key for remote rsync transfers because sync hardcodes StrictHostKeyChecking=no
Details

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.

Database specific
{
    "cna_assigner":  "CPANSec",
    "cwe_ids":  [
        "CWE-322"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/94xxx/CVE-2026-94140.json"
}
References

Affected packages

Git / github.com/rexops/rex

Affected ranges

Type
GIT
Repo
https://github.com/rexops/rex
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "1.16.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

0.*
0.0.1
0.0.2
0.0.3
0.0.4
0.0.5
0.1.0
0.1.2
0.10.0.2
0.11.0
0.13.0
0.14.0
0.15.0
0.17.0
0.18.0
0.2.0
0.2.1
0.2.2
0.22.0
0.24.0
0.24.1
0.25.2
0.25.3
0.26.0
0.26.1
0.29.0
0.3.0
0.3.1
0.30.0
0.31.4
0.33.1
0.34.0
0.34.1
0.35.1
0.37.0
0.38.0
0.39.0
0.4.0
0.4.1
0.4.2
0.40.0
0.40.1
0.40.2
0.40.3
0.40.4
0.41.0
0.41.1
0.42.0
0.42.1
0.42.2
0.43.2
0.44.0
0.44.1
0.44.2
0.44.3
0.46.0
0.49.1
0.5.0
0.50.0
0.51.1
0.51.2
0.52.0
0.52.1
0.54.1
0.54.3
0.55.0
0.55.1
0.55.2
0.55.3
0.56.0
0.57.0
0.7.0
0.7.1
0.8.0
0.9.0
1.*
1.0.0
1.1.0
1.10.0
1.10.0.1
1.11.0
1.11.0.1
1.11.0.2
1.11.0.3
1.11.0.4
1.12.0
1.12.0.1
1.12.1
1.12.1.1
1.12.1.2
1.12.1.3
1.12.2
1.12.2.1
1.12.2.2
1.12.2.3
1.13.0
1.13.0.1
1.13.0.2
1.13.0.3
1.13.1
1.13.2
1.13.3
1.13.3.1
1.13.3.2
1.13.4
1.13.4.1
1.14.0
1.14.0.1
1.14.1
1.14.2
1.14.2.1
1.14.2.2
1.14.2.3
1.14.3
1.14.3.1
1.14.3.2
1.15.0
1.15.0.1
1.15.0.2
1.16.0
1.16.0.1
1.16.0.2
1.16.0.3
1.16.1
1.2.0
1.3.0
1.3.0-rc1
1.3.1
1.3.3
1.8.0_01
1.8.1
1.8.2
1.8.2_01
1.8.2_02
1.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-94140.json"