{"id":"CVE-2025-71361","aliases":["CVE-2025-71361","GHSA-8r4j-24qv-fmq9","PYSEC-2026-1786"],"related":[],"kind":"vulnerability","state":"published","title":"picklescan - Remote Code Execution via Undetected idlelib.calltip.Calltip.fetch_tip","summary":"picklescan before 0.0.29 fails to detect malicious idlelib.calltip.Calltip.fetch_tip calls in pickle files, allowing remote code execution. Attackers can embed undetected payloads in pickle files that execute arbitrary code when loaded via pickle.load().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"picklescan before 0.0.29 fails to detect malicious idlelib.calltip.Calltip.fetch_tip calls in pickle files, allowing remote code execution. Attackers can embed undetected payloads in pickle files that execute arbitrary code when loaded via pickle.load().","source":"cvelist"},{"lang":"en","text":"### Summary\n\nUsing idlelib.calltip.Calltip.fetch_tip, which is a built-in python library function to execute remote pickle file.\n\n### Details\n\nThe attack payload executes in the following steps:\n\nFirst, the attacker craft the payload by calling to idlelib.calltip.Calltip.fetch_tip function in reduce method\nThen when the victim after checking whether the pickle file is safe by using Picklescan library and this library doesn't dectect any dangerous functions, decide to pickle.load() this malicious pickle file, thus lead to remote code execution.\n\n### PoC\n\n```\nclass EvilCalltipFetchTip:\n    def __reduce__(self):\n        from idlelib.calltip import Calltip\n        # fetch_tip(expression) -> get_entity(expression) -> eval(expression)\n        return Calltip().fetch_tip, (\"__import__('os').system('whoami')\",)\n```\n\n### Impact\n\nWho is impacted? Any organization or individual relying on picklescan to detect malicious pickle files inside PyTorch models.\nWhat is the impact? Attackers can embed malicious code in pickle file that remains undetected but executes when the pickle file is loaded.\nSupply Chain Attack: Attackers can distribute infected pickle files across ML models, APIs, or saved Python objects.\n\n### Corresponding\n\nhttps://github.com/FredericDT\nhttps://github.com/Qhaoduoyu","format":"markdown","source":"ghsa"},{"lang":"es","text":"picklescan anterior a 0.0.29 no detecta llamadas maliciosas a idlelib.calltip.Calltip.fetch_tip en archivos pickle, lo que permite la ejecución remota de código. Los atacantes pueden incrustar cargas útiles no detectadas en archivos pickle que ejecutan código arbitrario cuando se cargan a través de pickle.load().","source":"nvd"}],"published":"2025-08-26T18:38:43.000Z","modified":"2026-10-12T21:10:00.227Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":7.6,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"HIGH"}],"cwes":["CWE-95"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.0.29","status":"affected"},{"type":"semver","version":"0.0.29","status":"unaffected"}],"vendor":"picklescan","product":"picklescan","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.0.29"}],"ecosystem":"PyPI","package":"picklescan","purl":"pkg:pypi/picklescan","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.0.29"}],"ecosystem":"PyPI","package":"picklescan","purl":"pkg:pypi/picklescan","source":"pysec"}],"references":[{"url":"https://github.com/mmaitre314/picklescan/security/advisories/GHSA-8r4j-24qv-fmq9","tags":["exploit","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.vulncheck.com/advisories/picklescan-remote-code-execution-via-undetected-idlelib-calltip-calltip-fetch-tip","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71361","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/mmaitre314/picklescan/commit/aecd11be98702caa9ba9b12189d91ad596a36114","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-8r4j-24qv-fmq9","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/mmaitre314/picklescan","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/picklescan/PYSEC-2026-1786.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/picklescan","tags":["package","web"],"sources":["ghsa","pysec"]}],"credits":["FredericDT"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-06-24T16:02:09.479Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71361","url":"https://www.cve.org/CVERecord?id=CVE-2025-71361","licence":"CVE Terms of Use","modified":"2026-06-24T16:02:42.842Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8r4j-24qv-fmq9","url":"https://github.com/advisories/GHSA-8r4j-24qv-fmq9","licence":"CC-BY-4.0","modified":"2026-07-20T21:46:41.453Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71361","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71361","licence":"Public domain","modified":"2026-10-12T21:10:00.227Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1786","url":"https://osv.dev/vulnerability/PYSEC-2026-1786","licence":"CC-BY-4.0","modified":"2026-07-07T17:48:02.298Z"}],"updatedAt":"2026-11-25T22:59:12.348Z","epss":{"score":0.0043,"percentile":0.39161,"date":"2026-12-01T12:00:22.000Z"}}