SecurityContext

CVE-2026-4851: GRID::Machine - Insecure Deserialization

  • Cve: CVE-2026-4851
  • Name: GRID::Machine - Insecure Deserialization
  • Description: GRID::Machine versions through 0.127 for Perl allows arbitrary code execution via unsafe deserialization. GRID::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. read_operation() in lib/GRID/Machine/Message.pm deserialises values from the remote side using eval() $arg .= '$VAR1'; my $val = eval "no strict; $arg"; # line 40-41 $arg is raw bytes from the protocol pipe. A compromised remote host can embed arbitrary perl in the Dumper-formatted response: $VAR1 = do { system("..."); }; This executes on the client silently on every RPC call, as the return values remain correct. This functionality is by design but the trust requirement for the remote host is not documented in the distribution.
  • Impact: A malicious remote host can execute arbitrary code on the client, leading to full client compromise.
  • Remediation: Update to the latest version with safer deserialization or apply patches to avoid unsafe eval usage.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirements: Attacker must control a remote host trusted by the client
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00488
  • Epss percentile: 0.42864
  • Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  • Published at: 2026-03-29T01:15:56Z
  • Age in days: 240
  • Modified at: 2026-06-17T10:57:20Z
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-4851
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code

References

UrlSourceTags
https://www.openwall.com/lists/oss-security/2026/03/26/6nvdMailing List
http://www.openwall.com/lists/oss-security/2026/03/26/6nvdMailing List

Products

ProductAffectedPlatform boundSourcesUrl
casiano:grid::machine<= 0.127nonvd/v1/products/casiano/grid::machine

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts