Skip to main content

HENDRICS CVE-2026-141593

| EUVDEUVD-2026-140789 HIGH
Eval Injection (CWE-95)
2026-12-02 VulnCheck GHSA-9r7q-jc8h-jc83
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft .nc file with __bool__ payload
  2. Delivery
    Deliver file to HENDRICS user
  3. Exploit
    Victim loads it via load_data()/HEN* tool
  4. Execution
    eval() executes embedded expression
  5. Impact
    Arbitrary Python runs on host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a victim to load an attacker-controlled HENDRICS .nc (NetCDF) file on affected versions 6.0 through 8.5.1 using load_data(), load_events(), or a HEN* command-line tool; the malicious variable value must be a string beginning with the literal prefix '__bool__' followed by the Python expression to execute. LIMITING FACTORS: the CVSS vector is local (AV:L) with required user interaction (UI:P) - there is no network-triggerable path, so the attacker must deliver the crafted file to the victim and induce them to open it in HENDRICS; only the listed 6.0-8.5.1 versions are affected, and the patched read_from_netcdf() now rejects any '__bool__' value other than True/False with a ValueError.

Impact

This is a genuine code-execution flaw (CWE-95 eval injection) confirmed by the vendor fix (PR 208 / commit 2c17a63), but the available signals point to targeted rather than mass-exploitation risk. The supplied CVSS 4.0 vector is AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H (score 8.5): the attack is LOCAL and requires passive user interaction - a victim must load an attacker-supplied .nc file - which caps real-world urgency despite the HIGH impact. It is NOT in CISA KEV and no EPSS score was provided, so there is no evidence of widespread automated exploitation; the vuln.today decision label is this_week (not act_now/emergency), consistent with a serious-but-not-emergency triage. No explicit POC field was supplied, but the vendor regression test and issue 207 publicly disclose the exact payload format (a string value beginning with '__bool__' followed by a Python expression), so the trigger mechanism is fully documented. Net: a real, high-impact priority for HENDRICS users who ingest untrusted .nc files, gated by local access plus required user interaction and a niche deployment footprint rather than a drop-everything emergency.

Exploit ScenarioDerived

An attacker distributes a malicious HENDRICS NetCDF (.nc) file - via a shared dataset, collaboration, or data archive - in which a variable value is set to '__bool__' followed by an arbitrary Python expression. When a researcher opens it on an affected version (6.0 through 8.5.1) using load_data(), load_events(), or a HEN* command-line tool, read_from_netcdf() passes that string to eval() and the embedded code executes. The vendor PR includes a regression test demonstrating this exact payload, so the trigger is publicly documented, though the input does not label a weaponized standalone exploit as confirmed; exploitation is local (AV:L) and needs victim interaction (UI:P).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

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

Alert me

AnalysisAIv1 – Dec 02, 2026

Code execution in HENDRICS 6.0 through 8.5.1 lets a local attacker who supplies a crafted NetCDF (.nc) file run arbitrary Python with the victim's privileges when the file is loaded via load_data(), load_events(), or an HEN* command-line tool. The root cause is an eval() injection (CWE-95) in read_from_netcdf(): any string variable beginning with the '__bool__' sentinel has its suffix evaluated, so a value such as '__bool__' followed by a Python expression executes instead of being parsed as a boolean. Exploitation requires user interaction to open the file (CVSS 4.0 AV:L/UI:P, 8.5 High; assessed CVSS 3.1 AV:L/UI:R, 8.5), no public exploit code or CISA KEV entry was identified at time of analysis, and the vendor has published an upstream fix.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. Apply the change in StingraySoftware/HENDRICS PR 208 (commit 2c17a6360f8a06e00e59c565cb722062f50b2d1e) or upgrade to a distribution build that includes it, confirming with the vendor or package maintainer which release first contains the commit because the supplied references do not name a patched version; the supplied priority label is this_week. The fix makes read_from_netcdf() accept only '__bool__True' and '__bool__False' and raise ValueError for anything else, so legitimate files need no changes. Until upgraded, the reliable mitigation is to avoid loading untrusted .nc files with load_data(), load_events() or HEN* tools; if untrusted files must be examined, inspect their string variables for values beginning with '__bool__' and refuse them before loading, and run HENDRICS as a low-privilege user or in a sandbox to limit the blast radius-neither workaround is a complete substitute for the patch. See GitHub issue 207 and the VulnCheck advisory for tracking.

Affected VersionsENISA

HENDRICS 6.0 ≤8.5.1

Affected Packages

euvd hendrics no fix

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

HENDRICS is a Python toolkit for X-ray timing analysis built around Stingray; its io.py module serializes event lists and metadata to NetCDF (.nc) files, a binary array format widely used in scientific computing. To preserve Python booleans, save_as_netcdf() writes them as the string sentinels '__bool__True' and '__bool__False'; before the fix, read_from_netcdf() detected any value starting with '__bool__' and called eval() on the remainder after a string replace. That is a textbook CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code / Eval Injection) flaw: a data file becomes executable code, and because NetCDF string variables can hold arbitrary text, an attacker can place '__bool__open(...)' or any other Python expression in a variable. The vulnerable path is the loading side, not a network service, which is consistent with the local AV:L vector and the requirement for a victim to open the file. The supplied CPE cpe:2.3:a:stingraysoftware:hendrics:*:*:*:*:*:*:*:* identifies the project, and the fix commit replaces eval() with a prefix strip plus a strict check for the literals 'True' and 'False', raising ValueError for anything else. The upstream PR also contains unrelated plotting changes in efsearch.py; the security-relevant hunk is the read_from_netcdf() change in hendrics/io.py.

Know when Hendrics 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 (VulnCheck) PRIMARY 8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

Local because a crafted file must be loaded (AV:L) with victim interaction (UI:R); no privileges needed (PR:N); eval yields full code execution so C/I/A:H with scope unchanged.

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:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

HENDRICS 6.0 through 8.5.1 contains an eval injection vulnerability in read_from_netcdf() in hendrics/io.py that passes NetCDF boolean string values to eval(). Attackers can craft a .nc file whose variable value is "__bool__" followed by a Python expression to execute code when users load it via load_data(), load_events(), or HEN* tools.

Executive ViewAI

Why It Matters

A code execution vulnerability in HENDRICS versions 6.0 through 8.5.1 allows a local attacker to run arbitrary Python with the privileges of a user who opens a crafted NetCDF file. This poses a significant risk to research or operational teams using HENDRICS for data analysis, as a malicious file could lead to unauthorized access, data breaches, or system compromise. Leadership should prioritize patching to prevent potential insider threats or accidental execution via shared files.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Prevalence
Low
niche X-ray timing astronomy Python package, research community only
Social Media
3
Sightings
Data Quality
4 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 N/A
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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