Skip to main content

ESA AnomalyMatch CVE-2026-38950

| EUVDEUVD-2026-33701 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-06-01 mitre GHSA-84q4-pj7g-82qq
7.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local foothold or supply chain access
  2. Delivery
    Plant crafted .pth/.pkl in session checkpoints directory
  3. Exploit
    Victim opens AnomalyMatch session
  4. Install
    torch.load deserializes attacker pickle
  5. C2
    __reduce__ executes arbitrary Python
  6. Execute
    Code runs as analyst user
  7. Impact
    Pivot, 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).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

Vendor (mitre) PRIMARY 7.8 HIGH
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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Jun 01, 2026 - 21:22 NVD
7.8 (HIGH)
CVE Published
Jun 01, 2026 - 00:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 83% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2024-24919 HIGH POC
8.6 May 28

Potentially allowing an attacker to read certain information on Check Point Security Gateways once connected to the inte

CVE-2014-7169 CRITICAL POC
9.8 Sep 25

GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of

CVE-2017-1000083 HIGH POC
7.8 Sep 05

backend/comics/comics-document.c (aka the comic book backend) in GNOME Evince before 3.24.1 allows remote attackers to e

CVE-2026-85102 CRITICAL POC
9.8 Sep 09

Remote code execution in Check Point Quantum Security Gateway arises from improper certificate trust validation during V

CVE-2026-16232 CRITICAL POC
9.3 Jul 22

Authentication bypass in the Check Point SmartConsole login process lets an unauthenticated remote attacker mint a valid

CVE-2026-50751 CRITICAL POC
9.3 Jun 08

Authentication bypass in Check Point Quantum Security Gateway and Spark Firewalls allows unauthenticated remote attacker

CVE-2026-93616 CRITICAL POC
9.8 Sep 22

Unauthenticated attackers who can reach the file-upload interface of Check Point Management Server can combine directory

CVE-2026-123039 HIGH POC
7.8 Nov 12

Local privilege escalation in Check Point Gaia OS lets an authenticated local user execute commands as root by writing t

CVE-2021-3449 MEDIUM
5.9 Mar 25

An OpenSSL TLS server may crash if sent a maliciously crafted renegotiation ClientHello message from a client. Rated med

CVE-2026-85103 CRITICAL POC
9.8 Sep 09

Remote code execution in Check Point Quantum Security Gateway and Quantum Security Management stems from a heap-based bu

CVE-2026-91843 CRITICAL POC
9.8 Sep 16

Unauthenticated remote code execution affects Check Point Quantum Security Management, where a stack-based buffer overfl

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy