CVE-2026-142490: ACCarnall Bagpipes · Eval Injection
Affects ACCarnall BagpipesSource CVE Database V5
Not known to be exploited · CVSS 8.5 High.
Data as of 2 Dec 2026, 18:04 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ACCarnallBagpipes | Affected
| Fixed in– |
PyPIBagpipespkg:pypi/BagpipesOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, users should avoid opening or processing untrusted posterior HDF5 files with Bagpipes. Restrict file sharing and validate input files to mitigate risk.
Description
Bagpipes through version 1.4.1 contains an eval injection vulnerability that allows attackers to execute arbitrary Python code by supplying a crafted posterior HDF5 (.h5) file. The vulnerability arises because the fit_instructions attribute from the .h5 file is passed directly to Python's eval() function without proper neutralization. This can lead to code execution with the privileges of the user running the fitting or plotting scripts.
References
- github.com/ACCarnall/bagpipes/issues/121 (opens in a new tab)
- github.com/ACCarnall/bagpipes/commit/ef32e3363f359e75473703084f3299b2060c9d5d (opens in a new tab)
- github.com/ACCarnall/bagpipes/blob/8ce12a164a6a990f319363950c89543d6f48da33/bagpipes/fitting/fit.py (opens in a new tab)
- github.com/ACCarnall/bagpipes/blob/8ce12a164a6a990f319363950c89543d6f48da33/bagpipes/fitting/posterior.py (opens in a new tab)
- vulncheck.com/advisories/bagpipes-through-1.4.1-code-execution-via-eval-of-fit-instructions (opens in a new tab)