Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain local foothold or supply chain access
-
DeliveryPlant crafted .pth/.pkl in session checkpoints directory
-
ExploitVictim opens AnomalyMatch session
-
Installtorch.load deserializes attacker pickle
-
C2__reduce__ executes arbitrary Python
-
ExecuteCode runs as analyst user
-
ImpactPivot, persist, or exfiltrate data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to place a malicious model checkpoint file (.pth or .pkl) into a path AnomalyMatch will load - specifically the session's checkpoints/ subdirectory referenced by SessionIOHandler.load_model or load_model_checkpoint - and then have a legitimate user (or automated job) open that session so torch.load(..., weights_only=False) or pickle.load() is invoked on the attacker file. Concrete prerequisites: (1) AnomalyMatch version prior to 1.3.1; (2) local write access to the target user's session directory, OR ability to deliver a checkpoint that the victim chooses to import (e.g., shared model artifact, collaborator hand-off, downloaded pretrained file); (3) the victim subsequently triggers a session/model load. Limiting factors per the CVSS vector: AV:L confines the canonical attack to local file-system reach, and PR:L requires the attacker already hold an unprivileged account on the host - drive-by remote exploitation against a default network-exposed service is NOT in scope, but multi-user research clusters and ML pipelines that ingest external checkpoints are the realistic exposure. |
| Impact | The CVSS 7.8 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) frames this as a local, low-complexity, low-privilege exploit with full CIA impact - consistent with a researcher dropping a poisoned checkpoint into a shared session directory on a multi-user analysis host or shared HPC node. KEV status is NOT listed and no EPSS score was supplied, so there is no signal of active exploitation; this should be treated as a credible but not urgent issue for typical single-user installs, and a higher priority where AnomalyMatch sessions are shared across analysts or pulled from untrusted sources (e.g., model zoos, collaborators). A conflict to note: the description and CWE-502 imply attacker-supplied files reach the loader, but the CVSS PR:L assumes the attacker already has a local foothold able to write into the session directory - defenders evaluating risk where checkpoint files originate from network sources (Git, shared drives, web downloads) should treat the practical attack surface as broader than AV:L suggests. |
| Exploit ScenarioDerived | An attacker with low-privileged access on a shared analysis workstation (or who can drop a file into a network-mounted session directory used by AnomalyMatch) places a crafted .pth checkpoint whose pickle stream contains a __reduce__ payload invoking os.system or similar. When an analyst later opens that session in AnomalyMatch, SessionIOHandler.load_model calls torch.load(..., weights_only=False) and the payload executes with the analyst's privileges. No user interaction beyond normal session reload is required (UI:N). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
Arbitrary code execution in ESA AnomalyMatch before 1.3.1 allows local attackers with low privileges to run code under the application's process by planting a malicious PyTorch checkpoint into a session directory, which is loaded via torch.load() with weights_only=False. No public exploit is identified at time of analysis, but the upstream fix (PR #9) and a third-party advisory (imlabs.info) confirm the unsafe-deserialization root cause and the migration to safetensors.
RemediationAI
Upgrade to ESA AnomalyMatch 1.3.1 or later, which replaces torch.save/torch.load and pickle.load with safetensors via the new anomaly_match/data_io/checkpoint_io module (see PR https://github.com/esa/AnomalyMatch/pull/9). Until the upgrade is applied, treat any pre-existing .pth or .pkl checkpoint as executable code: store session directories on per-user paths with restrictive POSIX permissions (chmod 700), never open sessions or checkpoints received from other users, collaborators, or public model repositories, and verify checksums against a known-good source before loading. If you must keep the unpatched version running, a stopgap is to patch the local load paths to call torch.load(..., weights_only=True) (PyTorch ≥2.0) or to refuse any checkpoint not matching an allowlisted SHA-256 - note that weights_only=True will break loading of legacy checkpoints that embedded non-tensor Python objects, so retraining or re-saving may be required.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AnomalyMatch is the European Space Agency's semi-supervised anomaly-detection toolkit built on PyTorch. The vulnerability is a classic CWE-502 (Deserialization of Untrusted Data): SessionIOHandler.load_model and load_model_checkpoint invoked torch.load(load_path, weights_only=False) - and fell back to pickle.load() - on files inside the session checkpoints directory. Both torch.load (pre-2.6 default) and pickle.load execute arbitrary Python via __reduce__ during unpickling, so any attacker-controlled .pth or .pkl file becomes a code-execution primitive the moment a session is reopened. The upstream remediation replaces torch.save/torch.load with a new checkpoint_io module that uses HuggingFace safetensors (a tensor-only format with no executable payload) plus JSON-encoded metadata.
Know when Checkpoint gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (mitre) · only source for this CVE.
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
An issue in ESA AnomalyMatch before 1.3.1 allow attackers to execute arbitrary code via crafted model checkpoint files. The affected components load model files from session directories using torch.load() with unrestricted deserialization.
Executive ViewAI
ESA AnomalyMatch before version 1.3.1 is vulnerable to arbitrary code execution through unsafe PyTorch model deserialization. Local system users with low privileges can plant malicious checkpoint files in the application's session directory, causing the application to execute arbitrary code with its own process privileges. This enables attackers to compromise application data and system integrity.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict filesystem permissions on session directories to 0700 (application service account only); (2) Implement file integrity monitoring on session directories to detect unauthorized checkpoint file creation; (3) Remove and quarantine any existing .pt or .pth checkpoint files not explicitly required; (4) Audit system access logs for local account activity in session directories; (5) Isolate deployments to network segments with restricted local access.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Checkpoint
View allGNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which
Potentially allowing an attacker to read certain information on Check Point Security Gateways once connected to the inte
GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of
backend/comics/comics-document.c (aka the comic book backend) in GNOME Evince before 3.24.1 allows remote attackers to e
Remote code execution in Check Point Quantum Security Gateway arises from improper certificate trust validation during V
Authentication bypass in the Check Point SmartConsole login process lets an unauthenticated remote attacker mint a valid
Authentication bypass in Check Point Quantum Security Gateway and Spark Firewalls allows unauthenticated remote attacker
Unauthenticated attackers who can reach the file-upload interface of Check Point Management Server can combine directory
Local privilege escalation in Check Point Gaia OS lets an authenticated local user execute commands as root by writing t
An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med
Remote code execution in Check Point Quantum Security Gateway and Quantum Security Management stems from a heap-based bu
Unauthenticated remote code execution affects Check Point Quantum Security Management, where a stack-based buffer overfl
EUVD-2026-33701
GHSA-84q4-pj7g-82qq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB