CVE-2022-35411
CRITICAL 9.8CVSS 3.1rpc.py vulnerable to Deserialization of Untrusted Data
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.
- Published
- 8 Jul 2022
- Last modified
- 1 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-502CWE-522
- Also known as
- GHSA-8rq8-f485-7v8xPYSEC-2026-526
- Sources
- NVDJSONOSV GHSA-8rq8-f485-7v8xJSONOSV PYSEC-2026-526JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rpc.py_project | rpc.pycpe:2.3:a:rpc.py_project:rpc.py:*:*:*:*:*:*:*:* |
>= 0.4.2, <= 0.6.0 | |
| OSV | PyPI | rpc-py | >= 0.4.2, <= 0.6.0 |
References
- 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://github.com/ehtec/rpcpy-exploit · Exploit, Third Party Advisory, WEB
- https://medium.com/%40elias.hohl/remote-code-execution-0-day-in-rpc-py-709c76690c30 · Exploit, 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
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 8 Jul 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Jul 2022)