CVE-2025-1716CWE-184

picklescan - Security scanning bypass via 'pip main'

Medium · published February 26, 2025

CVSS v4.0
5.3
EPSS
2%
Percentile
77.3
In the wild
Unconfirmed
What it is

⚠️ A sneaky little oversight in picklescan could let attackers play tricks with your models — all thanks to a simple global! 🤯 Think of it like a restaurant that forgets to check if a chef is certified — while the food looks delicious, it might just be hiding some unsavory ingredients. That's what happens when picklescan doesn’t flag 'pip' as unsafe; attackers can sneak in malicious packages while everyone thinks it's business as usual. If exploited, an attacker could craft a malicious model that leverages 'pip' to fetch and execute harmful PyPI packages, potentially compromising your system. This could lead to unauthorized data access or even a complete takeover of your environment, leaving you in a sticky situation!

Put simply

Think of it like a restaurant that forgets to check if a chef is certified — while the food looks delicious, it might just be hiding some unsavory ingredients. That's what happens when picklescan doesn’t flag 'pip' as unsafe; attackers can sneak in malicious packages while everyone thinks it's business as usual. CVE-2025-1716 reveals that picklescan versions prior to 0.0.21 fail to recognize 'pip' as an unsafe global. This allows crafted Pickle models to bypass security checks and import malicious packages without raising any alarms.

What to do

If exploited, an attacker could craft a malicious model that leverages 'pip' to fetch and execute harmful PyPI packages, potentially compromising your system. This could lead to unauthorized data access or even a complete takeover of your environment, leaving you in a sticky situation! Upgrade picklescan to version 0.0.21 or later immediately to ensure 'pip' is treated as an unsafe global. Additionally, audit your models for any dependencies on external packages to prevent potential exploits. Stay vigilant about package sources! You've got this! With a quick update, you'll significantly strengthen your defenses and keep those sneaky attackers at bay! 🛡️

The record
Technical detail
CVSS v4.0
5.3 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS
0.01723 · 77.3th percentile
Weakness
CWE-184 · Incomplete List of Disallowed Inputs
Published
2025-02-26T14:51Z
EPSS history
Timeline
  • 26 FEB 14:51Z
    picklescan - Security scanning bypass via 'pip main'
    cvelistv5