# CVE-2022-35411: rpc.py vulnerable to Deserialization of Untrusted Data

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/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): 46.6%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2022-07-08T18:07:40.000Z
- Modified: 2026-07-01T20:23:04.195Z
- Also known as: GHSA-8rq8-f485-7v8x, PYSEC-2026-526
- Weaknesses: CWE-502, CWE-522
- Assigned by: mitre

## Description

rpc.py through 0.6.0 allows Remote Code Execution because an unpickle occurs when the "serializer: pickle" HTTP header is sent. In other words, although JSON (not Pickle) is the default data format, an unauthenticated client can cause the data to be processed with unpickle.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- rpc-py (PyPI): from 0.4.2 up to 0.6.0
- rpc.py_project rpc.py: from 0.4.2 up to 0.6.0

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://medium.com/%40elias.hohl/remote-code-execution-0-day-in-rpc-py-709c76690c30> (exploit, web)
- <https://github.com/ehtec/rpcpy-exploit> (exploit, third-party-advisory, web)
- <http://packetstormsecurity.com/files/167872/rpc.py-0.6.0-Remote-Code-Execution.html> (exploit, third-party-advisory, vdb-entry, web)
- <https://github.com/abersheeran/rpc.py/commit/491e7a841ed9a754796d6ab047a9fb16e23bf8bd> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-35411> (advisory)
- <https://github.com/abersheeran/rpc.py/issues/22> (web)
- <https://github.com/abersheeran/rpc.py> (package)
- <https://medium.com/@elias.hohl/remote-code-execution-0-day-in-rpc-py-709c76690c30> (web)
- <https://pypi.org/project/rpc-py> (package)
- <https://github.com/advisories/GHSA-8rq8-f485-7v8x> (advisory)

## Sources

- CVE List: [CVE-2022-35411](https://www.cve.org/CVERecord?id=CVE-2022-35411), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-8rq8-f485-7v8x](https://github.com/advisories/GHSA-8rq8-f485-7v8x), CC-BY-4.0, modified 2026-06-29
- NVD: [CVE-2022-35411](https://nvd.nist.gov/vuln/detail/CVE-2022-35411), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-526](https://osv.dev/vulnerability/PYSEC-2026-526), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2022-35411 · Whole record: https://cve.day/CVE-2022-35411.json · Rebuilt by cve.day 2026-11-25T22:58:12.768Z
