Skip to content
OpenAdvisories
High · 7.8 CVE-2026-142490 EUVD-2026-141735GHSA-c7vf-fh36-rqmq

Bagpipes through 1.4.1 Code Execution via eval() of fit_instructions

Published Dec 2, 2026 · Assigned by VulnCheck

Description

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.

Affected products

VendorProductAffectedFixed
ACCarnall Bagpipes ≤ 1.4.1 —

References