Description
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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| StingraySoftware | HENDRICS | >= 6.0, <= 8.5.1 |
References
- https://github.com/StingraySoftware/HENDRICS/blob/49262b133217a9369ce8db8b2a63310e2fe61758/hendrics/io.py#L415-L417
- https://github.com/StingraySoftware/HENDRICS/commit/2c17a6360f8a06e00e59c565cb722062f50b2d1e
- https://github.com/StingraySoftware/HENDRICS/issues/207
- https://github.com/StingraySoftware/HENDRICS/pull/208
- https://www.vulncheck.com/advisories/hendrics-6.0-through-8.5.1-code-execution-via-read-from-netcdf-eval-injection
Timeline
- Published
- Dec 2, 2026
- Last modified
- Dec 2, 2026
- NVD status
- Received