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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-95"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142490.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"last_affected": "1.4.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
},
{
"extracted_events": [
{
"range": [
{
"last_affected": "1.4.1"
}
],
"source": "DESCRIPTION"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"fixed": "ef32e3363f359e75473703084f3299b2060c9d5d"
}
],
"source": "REFERENCES_COMMIT"
}
]
}