In RPyC before 6.0.0, when a server exposes a method that calls the attribute named…
Priority HIGH 72CWE-306Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-306.
Summary
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00507 43rd percentileScored 2026-11-07
Fix Fixed rpyc (PyPI): 6.0.0
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | rpyc (PyPI) | 4.0.0 to before 6.0.0 | 6.0.0 | Patch available | GHSA-h5cg-53g7-gqjw |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- rpyc (PyPI) Vendor— Affected 4.0.0 to before 6.0.0 Fixed in 6.0.0 Patch available GHSA-h5cg-53g7-gqjw
CPE names CISA-ADP · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:rpyc_project:rpyc:*:*:*:*:*:*:*:* | — | — | Rpyc Project |
- cpe:2.3:a:rpyc_project:rpyc:*:*:*:*:*:*:*:* Versions — — ·Rpyc Project
Remediation
- Fix · GHSA-h5cg-53g7-gqjw rpyc (PyPI) Fixed in 6.0.0 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2024-27758
- 2026-10-03 Alias added: GHSA-h5cg-53g7-gqjw
References
Other 7
- https://gist.github.com/renbou/957f70d27470982994f12a1d70153d09
- https://github.com/tomerfiliba-org/rpyc/security/advisories/GHSA-h5cg-53g7-gqjw
- https://github.com/tomerfiliba-org/rpyc/commit/9f45f8269d4106905db61d82cd529cacdb178911
- https://github.com/tomerfiliba-org/rpyc/commit/bba1d3562e6f9f1256ec64048cc23001c0bb7516
- https://github.com/pypa/advisory-database/tree/main/vulns/rpyc/PYSEC-2024-44.yaml
- https://github.com/tomerfiliba-org/rpyc
- https://github.com/tomerfiliba-org/rpyc/blob/5.3.1/rpyc/core/netref.py#L252-L255
Sources
- CVE-2024-27758 · CVE Program
- CVE-2024-27758 · NVD
- FIRST EPSS
- GHSA-h5cg-53g7-gqjw · GitHub Advisory Database · CC BY 4.0
- CVE-2024-27758 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences