{"id":"CVE-2022-35411","published":"2022-07-08T18:07:40Z","modified":"2024-08-03T09:36:44Z","title":"rpc.py through 0.6.0 allows Remote Code Execution because an unpickle occurs when the \"serializer: pickle\" HTTP header…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.21446,"percentile":0.98137,"provenance":"source"},"cwes":[],"references":[{"url":"https://medium.com/%40elias.hohl/remote-code-execution-0-day-in-rpc-py-709c76690c30","tags":["x_refsource_MISC"]},{"url":"https://github.com/ehtec/rpcpy-exploit","tags":["x_refsource_MISC"]},{"url":"https://github.com/abersheeran/rpc.py/commit/491e7a841ed9a754796d6ab047a9fb16e23bf8bd","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/167872/rpc.py-0.6.0-Remote-Code-Execution.html","tags":["x_refsource_MISC"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.63},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2022-07-29"},"pocGithub":{"count":2,"skipped":0,"earliest":"2025-07-16","earliestUrl":"https://github.com/Neo-okami/CVE-2022-35411","repos":[{"name":"CSpanias/rpc-rce.py","url":"https://github.com/CSpanias/rpc-rce.py","stars":2,"created":"2025-07-28"},{"name":"Neo-okami/CVE-2022-35411","url":"https://github.com/Neo-okami/CVE-2022-35411","stars":0,"created":"2025-07-16"}]},"first":{"date":"2022-07-29","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/50983"},"provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"rpc.py","vulnerableRanges":[">=0.4.2, <=0.6.0"],"patched":[],"from":["GHSA-8rq8-f485-7v8x","PYSEC-2026-526"],"provenance":"source"}],"summary":{"text":"The flaw is in rpc.py, through version 0.6.0, where data is deserialized with Python's pickle module even though JSON is the default format. An unauthenticated remote client can trigger the pickle deserialization by sending a \"serializer: pickle\" HTTP header, which can lead to remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:42:06Z"},"euvd":{"id":"EUVD-2022-6297","exploited":false,"provenance":"source"},"exploits":[{"id":50983,"url":"https://www.exploit-db.com/exploits/50983","title":"rpc.py 0.6.0 - Unauthenticated Remote Code Execution (RCE)","date":"2022-07-29","verified":false,"provenance":"source"}],"exploitRefs":["https://github.com/ehtec/rpcpy-exploit","http://packetstormsecurity.com/files/167872/rpc.py-0.6.0-Remote-Code-Execution.html"]}