# CVE-2024-27758: RPyC's missing security check results in code execution when using numpy.array on the server-side.

- Severity: High 8.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-01)
- Published: 2024-03-06T17:05:30.000Z
- Modified: 2026-07-08T06:53:10.308Z
- Also known as: GHSA-h5cg-53g7-gqjw, PYSEC-2024-44
- Weaknesses: CWE-306, CWE-358, CWE-913
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- rpyc_project rpyc: before 6.0.0
- rpyc (PyPI): from 4.0.0 before 6.0.0; before 6.0.0

## Every score

- CISA-ADP: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N`

## References

- <https://gist.github.com/renbou/957f70d27470982994f12a1d70153d09> (web)
- <https://github.com/tomerfiliba-org/rpyc/security/advisories/GHSA-h5cg-53g7-gqjw> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27758> (advisory)
- <https://github.com/tomerfiliba-org/rpyc/commit/9f45f8269d4106905db61d82cd529cacdb178911> (web)
- <https://github.com/tomerfiliba-org/rpyc/commit/bba1d3562e6f9f1256ec64048cc23001c0bb7516> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/rpyc/PYSEC-2024-44.yaml> (web)
- <https://github.com/tomerfiliba-org/rpyc> (package)
- <https://github.com/tomerfiliba-org/rpyc/blob/5.3.1/rpyc/core/netref.py#L252-L255> (web)

## Sources

- CVE List: [CVE-2024-27758](https://www.cve.org/CVERecord?id=CVE-2024-27758), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-h5cg-53g7-gqjw](https://github.com/advisories/GHSA-h5cg-53g7-gqjw), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2024-27758](https://nvd.nist.gov/vuln/detail/CVE-2024-27758), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-44](https://osv.dev/vulnerability/PYSEC-2024-44), CC-BY-4.0, modified 2024-03-12

---

Page: https://cve.day/CVE-2024-27758 · Whole record: https://cve.day/CVE-2024-27758.json · Rebuilt by cve.day 2026-11-25T22:58:37.442Z
