{"id":"CVE-2026-4851","published":"2026-03-29T00:22:22Z","modified":"2026-04-01T14:17:48Z","title":"GRID::Machine versions through 0.127 for Perl allows arbitrary code execution via unsafe deserialization","vendor":"CASIANO","product":"GRID::Machine","tier":"tail","description":{"text":"GRID::Machine versions through 0.127 for Perl allows arbitrary code execution via unsafe deserialization.\n\nGRID::Machine provides Remote Procedure Calls (RPC) over SSH for Perl. The client connects to remote hosts to execute code on them. A compromised or malicious remote host can execute arbitrary code back on the client through unsafe deserialization in the RPC protocol.\n\nread_operation() in lib/GRID/Machine/Message.pm deserialises values from the remote side using eval()\n\n  $arg .= '$VAR1';\n  my $val = eval \"no strict; $arg\"; # line 40-41\n\n$arg is raw bytes from the protocol pipe. A compromised remote host can embed arbitrary perl in the Dumper-formatted response:\n\n  $VAR1 = do { system(\"...\"); };\n\nThis executes on the client silently on every RPC call, as the return values remain correct.\n\nThis functionality is by design but the trust requirement for the remote host is not documented in the distribution.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00547,"percentile":0.46473,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"},{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"references":[{"url":"https://www.openwall.com/lists/oss-security/2026/03/26/6","tags":["third-party-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/03/26/6","tags":[]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":9.29},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"casiano","affectedVersions":[{"vendor":"CASIANO","product":"GRID::Machine","versions":["<= 0.127"]}],"workarounds":{"items":["There is no fix available. If used, only connect to trusted remote hosts."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-586","name":"Object Injection"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-01T14:17:04.307893Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-16957","exploited":false,"provenance":"source"}}