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

Advisory record · `GHSA-h5cg-53g7-gqjw`

- **Identifiers:** `GHSA-h5cg-53g7-gqjw` · `CVE-2024-27758` · `PYSEC-2024-44`
- **State:** Confirmed
- **Severity:** CVSS 8.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-306](https://cwe.mitre.org/data/definitions/306.html) · [CWE-358](https://cwe.mitre.org/data/definitions/358.html) · [CWE-913](https://cwe.mitre.org/data/definitions/913.html)
- **Tags:** [Authentication bypass](https://agentprime.io/advisories/tag/auth-bypass.md) · [CWE-358](https://agentprime.io/advisories/tag/cwe-358.md) · [CWE-913](https://agentprime.io/advisories/tag/cwe-913.md)
- **Published:** 6 Mar 2024
- **Updated:** 8 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 6 Mar 2024, 17:05 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `rpyc` (PyPI): affected `>=4.0.0, <6.0.0`; fixed in `6.0.0`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.0051, the 43rd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 6 Mar 2024. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-h5cg-53g7-gqjw](https://github.com/advisories/GHSA-h5cg-53g7-gqjw)
- [OSV: GHSA-h5cg-53g7-gqjw](https://osv.dev/vulnerability/GHSA-h5cg-53g7-gqjw)
- <https://github.com/tomerfiliba-org/rpyc/security/advisories/GHSA-h5cg-53g7-gqjw>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27758>
- <https://github.com/tomerfiliba-org/rpyc/commit/9f45f8269d4106905db61d82cd529cacdb178911>
- <https://github.com/tomerfiliba-org/rpyc/commit/bba1d3562e6f9f1256ec64048cc23001c0bb7516>
- <https://gist.github.com/renbou/957f70d27470982994f12a1d70153d09>
- <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>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-h5cg-53g7-gqjw>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-h5cg-53g7-gqjw/>. Everything for agents: <https://agentprime.io/llms.txt>.
