Skip to main content

ESPectre CVE-2026-102739

| EUVDEUVD-2026-117576 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-11-05 GitHub_M
7.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Submit malicious .npz via PR to micro-espectre/data
  2. Delivery
    Maintainer runs documented analysis tool
  3. Exploit
    np.load allow_pickle=True unpickles object array
  4. Execution
    __reduce__ executes attacker code
  5. Impact
    Code runs as developer, steals SSH/GitHub/.env credentials

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 that a maintainer or developer run one of the documented Micro-ESPectre host-side analysis tools (tools/6_optimize_filter_params.py, tools/1_analyze_raw_data.py, or tools/10_train_ml_model.py) - or any loader routed through micro-espectre/tools/csi_utils.py - against an attacker-supplied .npz dataset placed under micro-espectre/data, on a version prior to 3.0.0-rc1 where loaders use np.load(allow_pickle=True). The payload must be an object-typed array stored in a field the tool actually reads (e.g. 'chip' or 'csi_data'); accessing that field unpickles it and triggers __reduce__. Limiting factors that reduce real-world risk: the attack is local (AV:L) and cannot fire remotely or on default idle systems; it is fully gated on human action (UI:R) - a maintainer must choose to run the tooling on the untrusted dataset; it depends on the attacker getting a malicious .npz merged or placed into the repo/data directory; and it is eliminated by upgrading to 3.0.0-rc1, which sets allow_pickle=False and rejects pickle-backed object arrays (per the vendor, upgrading is the fix).

Impact

This is a genuine, actionable risk for the specific population that develops or maintains ESPectre, but not a mass-exploitation threat. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 7.8 HIGH) correctly captures a local, user-interaction-gated code-execution flaw with full confidentiality, integrity and availability impact on the victim's account. PR:N reflects that the attacker needs no privileges on the target system - they act as an outside dataset/PR contributor - while UI:R reflects the hard requirement that a maintainer or developer actually run a documented analysis tool against the malicious .npz. The vuln.today decision label is 'this_week', consistent with a patched, PoC-backed developer-tooling RCE rather than an internet-facing emergency. A complete, demonstrated PoC exists in the GHSA advisory (achieving code execution with observed 'id'/'uname -a' output), so exploitability is not theoretical. However, the CVE is NOT in CISA KEV and no EPSS score is provided in the input, so there is no evidence of active or widespread exploitation; the realistic threat model is a targeted supply-chain/social-engineering attack against project maintainers, not opportunistic scanning. Net: a real priority to patch for anyone running the analysis tooling on untrusted datasets, but the local/UI-gated nature and niche product footprint keep real-world blast radius narrow.

Exploit ScenarioDerived

A malicious pull-request author or dataset contributor adds or replaces a .npz file under micro-espectre/data containing an object-typed NumPy array (e.g. in the 'chip' or 'csi_data' field). When a maintainer later runs a documented analysis tool such as tools/6_optimize_filter_params.py, the loader calls np.load(..., allow_pickle=True) and unpickling the object array invokes the attacker's __reduce__, executing arbitrary code as the maintainer. A full working PoC demonstrating this (running 'id'/'uname -a') is published in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 05, 2026

Pickle-based deserialization in the Micro-ESPectre host-side analysis tooling shipped with ESPectre before 3.0.0-rc1 allows an attacker who contributes a crafted .npz dataset to execute arbitrary code as the maintainer or developer who opens it. Loaders in micro-espectre/tools/csi_utils.py and the direct loader in tools/6_optimize_filter_params.py call np.load(..., allow_pickle=True), so an object-typed array stored in a field the tool reads (for example 'chip' or 'csi_data') is unpickled and triggers __reduce__ when documented tools such as 6_optimize_filter_params.py, 1_analyze_raw_data.py or 10_train_ml_model.py process the file. The issue is local and fully gated on a person choosing to run the tooling against the untrusted dataset (CVSS 3.1 AV:L/AC:L/PR:N/UI:R, 7.8), so it is not a mass-exploitation threat; the GitHub security advisory includes a public proof-of-concept script whose demonstrated run writes id and uname output to a file, and the flaw is not listed in CISA KEV. It is fixed in ESPectre 3.0.0-rc1.

RemediationAI

Vendor-released patch: upgrade to ESPectre 3.0.0-rc1 or later (https://github.com/francescopace/espectre/releases/tag/3.0.0-rc1), which is the release containing commit adf495ceed41840497347f0196ba4a6968fc4ee1 (merged as PR https://github.com/francescopace/espectre/pull/154); the vendor states that upgrading is the fix and that users of the analysis tools should upgrade to 3.0.0-rc1 or later before loading untrusted .npz datasets. The patched loaders set allow_pickle=False and reject pickle-backed object arrays with an 'Unsafe NPZ dataset' ValueError, so datasets that previously relied on object-typed fields will now fail to load until they are re-saved with numeric or string dtypes - plan for that compatibility impact when converting existing corpora. On unpatched versions, the vendor's guidance is to avoid running the documented analysis tools against untrusted .npz datasets, which in practice means reviewing contributed dataset files under micro-espectre/data before any maintainer or PR reviewer executes tools/6_optimize_filter_params.py, tools/1_analyze_raw_data.py or tools/10_train_ml_model.py against them. Exploitation requires the human-run tooling step, so treat the tool execution as the security boundary it is; the advisory did not demonstrate exfiltration or CI secret access, but notes that a compromised developer workstation exposes SSH keys, GitHub tokens, Home Assistant credentials, .env files and repository write credentials available to that user.

Affected VersionsENISA

espectre < 3.0.0-rc1

Affected Packages

euvd espectre fix: 3.0.0-rc1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is CWE-502 (Deserialization of Untrusted Data) in the Python/NumPy data pipeline used by the ESPectre Wi-Fi motion sensing platform's host-side tooling. NumPy stores object-dtype arrays in .npy/.npz containers as pickled byte streams, so np.load() with allow_pickle=True will reconstruct arbitrary Python objects, invoking attacker-controlled __reduce__ methods. The shared dataset helpers in micro-espectre/tools/csi_utils.py (dataset directory scanning around lines 861-864, the 'gain_locked' read around 893-895, and the 'csi_data' read around 912-916) enabled pickle support for every .npz file they touched, and tools/6_optimize_filter_params.py carried its own direct loader (around lines 220-228) with the same setting when reading baseline_meta['chip']. Consequently any field the tooling actually reads can serve as the trigger; the trigger mechanics are described in the advisory and reproduced by its PoC rather than inferred. The fix in commit adf495ce (merged via PR #154, released as 3.0.0-rc1) switches every loader to allow_pickle=False and adds a load_npz_arrays helper in tools/lib/csi_io.py that raises ValueError('Unsafe NPZ dataset ...') when a field cannot be materialized without pickle or resolves to dtype kind 'O'; the commit also adds regression tests for load_npz_as_packets, load_npz_csi_data, the file-integrity validator, and a pickle-free feature-cache round trip used by ML training.

Know when Espectre 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 (GitHub_M) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Code executes locally when a maintainer runs the tool on an attacker-contributed file, so AV:L and UI:R; attacker needs no account on the host, so PR:N; pickle RCE yields full C/I/A as the running user.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Nov 05, 2026 - 17:03 EUVD
CVE Published
Nov 05, 2026 - 16:09 cve.org
HIGH 7.8

DescriptionCVE.org

ESPectre is a Wi-Fi motion sensing platform for ESP32. Prior to 3.0.0-rc1, Micro-ESPectre analysis tools, including tools/6_optimize_filter_params.py, tools/1_analyze_raw_data.py, and tools/10_train_ml_model.py, load NPZ datasets with NumPy pickle support enabled through micro-espectre/tools/csi_utils.py and a direct loader. A malicious dataset contributor or pull-request author can place an object-typed array in a .npz file under micro-espectre/data, causing pickle-controlled code to execute as the maintainer or developer when a documented analysis tool accesses the field. This issue is fixed in version 3.0.0-rc1.

Technical POC Analysis

CWE-502: Deserialization of Untrusted Data.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity flaw in the Micro-ESPectre host-side analysis tooling (ESpectre before 3.0.0-rc1) allows arbitrary code execution when a developer or maintainer opens a maliciously crafted .npz dataset file. The attack requires a user to deliberately run the affected tools against an untrusted file, so risk is concentrated in engineering teams that process external or community-contributed datasets rather than in production systems, but successful exploitation grants code execution with the developer's privileges and could compromise credentials, build pipelines, or source repositories they can access.

Business Impact: High
Compensating Controls

Vendor-released patch: 3.0.0-rc1

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Rare
obscure open-source ESP32 hobbyist Wi-Fi-sensing project, negligible enterprise footprint
Data Quality
5 sources
Confidence: Medium

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 Yes
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

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.

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