{"answers":{"affected":"3 open source packages ship an affected version, including picklescan.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56315 exists.","fix":"Upgrade picklescan to 1.0.4 or later.","what":"CVE-2026-56315 is a critical code injection vulnerability in picklescan, published on 23 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-56315 and fix it if it is affected.\n\nWhat it is: CVE-2026-56315 is a critical code injection vulnerability in picklescan, published on 23 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56315 exists.\n\nAffected packages and fixed versions:\n- picklescan (PyPI): affected all versions; fixed in 1.0.4\n- picklescan (PyPI): affected all versions; fixed in 1.0.4\n- picklescan (PyPI): affected all versions; fixed in 1.0.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-56315/ (Markdown: https://insights.sbomify.com/CVE-2026-56315/index.md)","id":"CVE-2026-56315","markdown":"https://insights.sbomify.com/CVE-2026-56315/index.md","name":"CVE-2026-56315","record":{"aliases":["GHSA-g38g-8gr9-h9xp","PYSEC-2026-4134"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python security library","requires_auth":"none","summary":"Attackers can achieve remote code execution by crafting malicious pickle files that bypass picklescan's validation using unblocked standard library modules.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"description":"picklescan before 1.0.4 fails to block at least seven Python standard library modules (including uuid, _osx_support, _aix_support, _pyrepl.pager, and imaplib) exposing eight functions that provide direct arbitrary command execution. Attackers can craft malicious pickle files importing these unblocked modules to achieve remote code execution while bypassing picklescan's safety validation entirely.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"picklescan - Remote Code Execution via Unblocked Standard Library Modules","id":"CVE-2026-56315","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Cap-go - Job Existence Oracle via Unauthenticated OPTIONS /build/upload/:jobId/*","id":"CVE-2026-56316"},"packages":[{"ecosystem":"PyPI","fixed":["1.0.4"],"introduced":["0"],"last_affected":[],"package":"picklescan","purl":null,"source":"GHSA-g38g-8gr9-h9xp"},{"ecosystem":"PyPI","fixed":["1.0.4"],"introduced":["0"],"last_affected":[],"package":"picklescan","purl":"pkg:pypi/picklescan","source":"GHSA-g38g-8gr9-h9xp"},{"ecosystem":"PyPI","fixed":["1.0.4"],"introduced":["0"],"last_affected":[],"package":"picklescan","purl":"pkg:pypi/picklescan","source":"PYSEC-2026-4134"}],"prev":{"headline":"Capgo - Deleted Bundle Selection via Missing Deletion Filter in /updates Endpoint","id":"CVE-2026-56314"},"products":["picklescan"],"published":"2026-06-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-23","vendors":["picklescan"]},"summary":"Attackers can achieve remote code execution by crafting malicious pickle files that bypass picklescan's validation using unblocked standard library modules.","url":"https://insights.sbomify.com/CVE-2026-56315/"}