SKOPS Card.get_model happily allows arbitrary code execution
CVE-2025-54886 · GHSA-378x-6p4f-8jgm · published 2025-08-07 · updated 2025-09-10
- Severity
- High
- CVSS score
- 8.4
- Chance of exploitation (EPSS)
- 0.25%
- Fixed in
- 0.13.0
- Exploitation Public proof of concept
- Automatable No
- Technical impact Total
- CISA SSVC
The Card class of skops, used for model documentation and sharing, allows arbitrary code execution. When a file other than .zip is provided to the Card class during instantiation, the internally invoked Card.get_model method silently falls back to joblib without warning. Unlike the .skops zip-based format, joblib permits unrestricted code execution, hence bypassing the security measures of skops and enabling the execution of malicious code.
Upgrade skops to 0.13.0 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| skops | PyPI | < 0.13.0 | 0.13.0 |
- CriticalLMDeploy has Remote Code Execution by Pickle Deserialization via handle_zmq_recv in lmdeploy/lmdeploy/pytorch/disagg/conn/engine_conn.pylmdeploy
- CriticalLMdeploy has Remote Code Execution by Pickle Deserialization via zmq_rpc.call_and_response() in InterLM/lmdeploylmdeploy
- CriticalSGLang: Unauthenticated RCE via --enable-custom-logit-processorsglang
- CriticalSGLanG: Multimodal scheduler deserializes untrusted pickle data on 0.0.0.0 ROUTER socketsglang
- Criticaln8n: HTTP Request Node Pagination Prototype Pollution to RCEn8n, n8n, n8n
- Criticaln8n Has an XML Node Prototype Pollution Patch Bypassn8n, n8n, n8n
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.