CVE-2026-141593: HENDRICS 6.0 through 8.5.1 Code Execution via read_from_netcdf() Eval Injection

Published Dec 2, 2026
·
Updated

HENDRICS 6.0 through 8.5.1 contains an eval injection vulnerability in readfromnetcdf() 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 loaddata(), loadevents(), or HEN tools.

Affected Software

1 affected component
pypi/hendrics>=6.0<=8.5.1

Event History

Dec 2, 2026
CVE Published
via MITRE·01:08 AM
Data Sourced
via MITRE·01:08 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:17 AM
DescriptionSeverityWeakness
Event
via NVD·02:17 AM

Frequently Asked Questions

1

What must an attacker do to trigger this issue?

An attacker must provide a crafted NetCDF (.nc) file and convince a user to load it through load_data(), load_events(), or HEN* tools. Exploitation occurs when the crafted boolean string value is processed by read_from_netcdf().

2

What can be done if an update cannot be applied immediately?

Do not load NetCDF files from untrusted or unknown sources using the affected HENDRICS loading functions or HEN* tools. Treat externally supplied .nc files as potentially malicious until they can be validated or handled in an isolated environment.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203