Skip to main content
VulnerabilityPublished Updated

CVE-2024-27758: rpyc · Missing Authentication

Affects rpycSource CVE Database V5

0

Not known to be exploited · CVSS 8.4 High : upgrade to 6.0.0 soon.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.0.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Mar 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 26 Oct 2026.

What to do

Upgrade rpyc to 6.0.0.

Affected software

ProductAffectedFixed in
PyPIrpycpkg:pypi/rpycOther threatsAffected
  • <6.0.0
Fixed in
  • 6.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade RPyC to version 6.0.0 or later, where this vulnerability is addressed.
  2. If immediate upgrade is not possible, restrict network access to RPyC servers using firewalls or network segmentation to trusted clients only.
  3. Implement strict input validation and sanitization on all client-provided objects before invoking methods like __array__.
  4. Avoid exposing server methods that directly call __array__ or other special attributes on client-supplied netref objects.
  5. Monitor network traffic and logs for unusual or unexpected remote procedure calls that may indicate exploitation attempts.
  6. Employ runtime application self-protection (RASP) or endpoint detection and response (EDR) tools to detect anomalous code execution patterns.
  7. Educate developers and administrators about the risks of exposing unsafe remote methods and enforce secure coding practices in distributed Python applications.

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

Community reviews

Loading reviews…