CVE-2026-142490
Bagpipes through 1.4.1 contains an eval injection vulnerability in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ACCarnall/bagpipes/blob/8ce12a164a6a990f319363950c89543d6f48da33/bagpipes/fitti
- github.com/ACCarnall/bagpipes/blob/8ce12a164a6a990f319363950c89543d6f48da33/bagpipes/fitti
- github.com/ACCarnall/bagpipes/commit/ef32e3363f359e75473703084f3299b2060c9d5d
- github.com/ACCarnall/bagpipes/issues/121
- www.vulncheck.com/advisories/bagpipes-through-1.4.1-code-execution-via-eval-of-fit-instruc
- nvd.nist.gov/vuln/detail/CVE-2026-142490
- cve.org/CVERecord?id=CVE-2026-142490
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.