CVE-2025-71322: PickleScan - Unsafe Globals Check Bypass via pty.spawn Function

Published Jun 17, 2026
·
Updated

PickleScan before 0.0.33 fails to include the pty.spawn function in its unsafe globals list, allowing attackers to bypass security checks. Malicious actors can craft pickle payloads using pty.spawn to achieve arbitrary code execution when files are processed by PickleScan.

Affected Software

1 affected component
pypi/picklescan<0.0.33

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.33
  2. Configuration

    Add 'pty.spawn' to PickleScan's unsafe_globals list so that pty.spawn is treated as unsafe and cannot be used in processed pickle payloads.

    PickleScan unsafe_globals = include pty.spawn

Event History

Jun 17, 2026
CVE Published
via MITRE·03:04 PM
Data Sourced
via MITRE·03:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05: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-71322?

The severity of CVE-2025-71322 is high with a score of 8.7.

2

How do I fix CVE-2025-71322?

To fix CVE-2025-71322, upgrade PickleScan to version 0.0.33 or later.

3

What type of vulnerability is CVE-2025-71322?

CVE-2025-71322 is an unsafe globals check bypass vulnerability.

4

What impact does CVE-2025-71322 have on security?

CVE-2025-71322 allows an attacker to achieve arbitrary code execution through crafted pickle payloads.

5

Which function is related to CVE-2025-71322?

The pty.spawn function is related to CVE-2025-71322 and is missing from the unsafe globals list.

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