Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft .nc file with __bool__ payload
-
DeliveryDeliver file to HENDRICS user
-
ExploitVictim loads it via load_data()/HEN* tool
-
Executioneval() executes embedded expression
-
ImpactArbitrary 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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.
Articles & Coverage 1
Executive ViewAI
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.
Apply vendor patch.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
EUVD-2026-140789
GHSA-9r7q-jc8h-jc83
NVD
CVE.org
Exploit-DB