In RPyC before 6.0.0, when a server exposes a method that calls the attribute named __array__ for a client-provided netref (e.g., np.array(client_netref)), a remote attacker can craft a class that results in remote code execution
Affects rpycSource GCVE Database
Not known to be exploited · CVSS 8.4 High.
Data as of 24 Nov 2026, 19:26 UTC
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Mar 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10rpycpkg:deb/ubuntu/rpyc?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSrpycpkg:deb/ubuntu/rpyc?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10rpycpkg:deb/ubuntu/rpyc?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSrpycpkg:deb/ubuntu/rpyc?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSrpycpkg:deb/ubuntu/rpyc?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSrpycpkg:deb/ubuntu/rpyc?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
In RPyC before 6.0.0, when a server exposes a method that calls the attribute named __array__ for a client-provided netref (e.g., np.array(client_netref)), a remote attacker can craft a class that results in remote code execution.
References
- ubuntu.com/security/CVE-2024-27758 (opens in a new tab)
- github.com/tomerfiliba-org/rpyc/security/advisories/GHSA-h5cg-53g7-gqjw (opens in a new tab)
- github.com/tomerfiliba-org/rpyc/issues/551 (opens in a new tab)
- github.com/tomerfiliba-org/rpyc/commit/bba1d3562e6f9f1256ec64048cc23001c0bb7516 (opens in a new tab)
- gist.github.com/renbou/957f70d27470982994f12a1d70153d09 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-27758 (opens in a new tab)