CVE-2025-71344: picklescan - Arbitrary Code Execution via Undetected ensurepip._run_pip Function

Published Jun 22, 2026
·
Updated

picklescan before 0.0.30 (affected versions 0.0.26 and earlier) fails to detect the ensurepip.runpip built-in function when scanning pickle files, allowing attackers to execute arbitrary code. Malicious pickle files embedding ensurepip.runpip calls in reduce methods bypass picklescan detection and achieve remote code execution upon pickle.load() invocation.

Affected Software

1 affected component
pypi/picklescan<=0.0.26

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade picklescan to a version that resolves this vulnerability.

    Fixed in 0.0.30

Event History

Jun 22, 2026
CVE Published
via MITRE·09:04 PM
Data Sourced
via MITRE·09:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-71344?

The severity of CVE-2025-71344 is rated high with a score of 7.6.

2

How do I fix CVE-2025-71344?

To mitigate CVE-2025-71344, upgrade picklescan to version 0.0.30 or later.

3

What does CVE-2025-71344 allow attackers to do?

CVE-2025-71344 allows attackers to execute arbitrary code via malicious pickle files that call the ensurepip._run_pip function.

4

Which versions of picklescan are affected by CVE-2025-71344?

Versions of picklescan that are affected by CVE-2025-71344 are 0.0.26 and earlier.

5

How can I prevent exploitation of CVE-2025-71344 in my application?

To prevent exploitation of CVE-2025-71344, ensure that your application uses the updated version of picklescan and avoid processing untrusted pickle files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203