CVE-2026-142490
Bagpipes through 1.4.1 Code Execution via eval() of fit_instructions
- Severity
- high CVSS 8.5 (v4.0)
- Affects
- Bagpipes · ACCarnall
- Weakness
- CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
- Published
- 2 December 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.