← Back
CVE-2025-71325
critical
CVSS 9.8
Unsafe Deserialization in picklescan (CVE-2025-71325)
Summary
vulnerability in picklescan (CVE-2025-71325). Successful exploitation can lead to full system takeover. Exploitable via ``STACK_GLOBAL``. Mitigation: upgrade to `0.0.27` or later.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2025-71325** has been found in picklescan.
Attackers can target a specific entry point like ``STACK_GLOBAL`` over the network to misuse the product.
Successful exploitation can lead to full system takeover. CVSS score: 9.8/10.
What to do: upgrade picklescan to **0.0.27** or later.
If unsure, ask your IT team or search "picklescan CVE-2025-71325" on the vendor's site.
CVE-2025-71325 (picklescan) — CWE-502 / CVSS v3 9.8
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: `STACK_GLOBAL` / `_list_globals`
Patched: `0.0.27` — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**unsafe deserialization** (CWE-502) exists in picklescan. Attackers reach the vulnerable code path via ``STACK_GLOBAL`` without authentication.
📍 Affected scope
picklescan — . Attack surface: `STACK_GLOBAL` / `_list_globals`.
🔥 Severity
Severity: Critical (CVSS 9.8/10). Successful exploitation can lead to full system takeover
🔧 How to fix
Update to **0.0.27**.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'picklescan' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'picklescan' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `picklescan` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade picklescan to 0.0.27ステージング環境で 0.0.27 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
pip
picklescan
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.27"}]}]
References
- web https://github.com/mmaitre314/picklescan/security/advisories/GHSA-9gvj-pp9x-gcfr
- web https://nvd.nist.gov/vuln/detail/CVE-2025-71325
- web https://github.com/mmaitre314/picklescan/commit/2a8383cfeb4158567f9770d86597300c9e508d0f
- web https://www.vulncheck.com/advisories/picklescan-detection-bypass-via-stack-global-opcode-parsing-logic-flaw
- web https://github.com/advisories/GHSA-5rph-q42j-36j9
- web https://github.com/mmaitre314/picklescan/commit/58983e1c20973ac42f2df7ff15d7c8cd32f9b688
- web https://github.com/mmaitre314/picklescan/blob/2a8383cfeb4158567f9770d86597300c9e508d0f/src/picklescan/scanner.py#L255
- web https://github.com/mmaitre314/picklescan/blob/2a8383cfeb4158567f9770d86597300c9e508d0f/src/picklescan/scanner.py#L281
- web https://github.com/mmaitre314/picklescan/releases/tag/v0.0.27
- web https://github.com/advisories/GHSA-9gvj-pp9x-gcfr