CVE-2026-142490 - Bagpipes through 1.4.1 Code Execution via eval() of fit_instructions
Vulnerability · Reported by NVD · · CWE-95
- Severity
- High Risk score 85/100
- CVSS
- 8.5 v4.0 · from NVD
- Exploit chance (EPSS)
- – Not available yet
- Known exploited
- No Not in CISA KEV
Summary
Bagpipes through 1.4.1 contains an eval injection vulnerability in bagpipes/fitting/fit.py and posterior.py that allows attackers to execute Python code by supplying a crafted posterior HDF5 file. Attackers can share a project folder containing a malicious .h5 file whose fit_instructions attribute is passed to eval(), executing code as the user running fitting or plotting scripts.
How this vulnerability can be exploited
An attacker can exploit this vulnerability with local access to the system, without any login. Attack complexity is low, so no special conditions are needed.
Is it being exploited?
There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.
Patch priority and what to do
Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Review logs for signs of exploitation since the publication date.
CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S
Tags
CVE-2026-142490, Network vendors
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-142490 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.