{"id":"CVE-2026-141593","state":"PUBLISHED","title":"HENDRICS 6.0 through 8.5.1 Code Execution via read_from_netcdf() Eval Injection","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.","publishedAt":"2026-12-02T01:08:25.503Z","updatedAt":"2026-12-02T01:08:25.503Z","severity":{"score":8.5,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["StingraySoftware HENDRICS"],"affected":[{"vendor":"StingraySoftware","product":"HENDRICS","packageURL":"pkg:pypi/hendrics","defaultStatus":"unaffected","versions":[{"version":"6.0","status":"affected","lessThanOrEqual":"8.5.1","versionType":"custom"}],"repo":"https://github.com/StingraySoftware/HENDRICS"}],"references":["https://github.com/StingraySoftware/HENDRICS/issues/207","https://github.com/StingraySoftware/HENDRICS/pull/208","https://github.com/StingraySoftware/HENDRICS/commit/2c17a6360f8a06e00e59c565cb722062f50b2d1e","https://github.com/StingraySoftware/HENDRICS/blob/49262b133217a9369ce8db8b2a63310e2fe61758/hendrics/io.py#L415-L417","https://www.vulncheck.com/advisories/hendrics-6.0-through-8.5.1-code-execution-via-read-from-netcdf-eval-injection"],"weaknesses":["CWE-95"],"ingestedAt":"2026-12-02T01:28:05.613Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/141xxx/CVE-2026-141593.json","commit":"25781747a50b18fb0fedecd8a804c65f8ebbddb3","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-141593","state":"PUBLISHED","datePublished":"2026-12-02T01:08:25.503Z","dateUpdated":"2026-12-02T01:08:25.503Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-12-02T00:12:07.312Z"},"containers":{"cna":{"title":"HENDRICS 6.0 through 8.5.1 Code Execution via read_from_netcdf() Eval Injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"StingraySoftware","product":"HENDRICS","packageURL":"pkg:pypi/hendrics","defaultStatus":"unaffected","versions":[{"version":"6.0","status":"affected","lessThanOrEqual":"8.5.1","versionType":"custom"}],"repo":"https://github.com/StingraySoftware/HENDRICS"}],"references":[{"url":"https://github.com/StingraySoftware/HENDRICS/issues/207","tags":["issue-tracking"]},{"url":"https://github.com/StingraySoftware/HENDRICS/pull/208","tags":["issue-tracking","patch"]},{"url":"https://github.com/StingraySoftware/HENDRICS/commit/2c17a6360f8a06e00e59c565cb722062f50b2d1e","tags":["patch"]},{"url":"https://github.com/StingraySoftware/HENDRICS/blob/49262b133217a9369ce8db8b2a63310e2fe61758/hendrics/io.py#L415-L417","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/hendrics-6.0-through-8.5.1-code-execution-via-read-from-netcdf-eval-injection","name":"VulnCheck Advisory: HENDRICS 6.0 through 8.5.1 Code Execution via read_from_netcdf() Eval Injection","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-95","lang":"en","description":"Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-12-02T01:08:25.503Z"},"datePublic":"2026-11-24T00:00:00.000Z","credits":[{"lang":"en","value":"Dilanka Kaushal Hewage (r3vpwnx)","type":"finder"},{"lang":"en","value":"matteobachetti","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}