CVE-2026-142490
Bagpipes through 1. 4. 1 Code Execution via eval() of fit_ instructions
- Severity
- 8.5HighLocal attack, no privileges, needs user interactionCVSS 4.0, CVE List
- Exploitation
- Proof of conceptCISA reports one, no source links it
- Exploit chance
- 0.47% in 30 daysPercentile42ndEPSS, scored
- Listed fix
- None listedNo source lists a fixed version in its version data.Check the description and references.
Overview
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.
CVSS 4.0 vector
Exploitability
- Attack vector
- Local
- Complexity
- Low
- Attack requirements
- None
- Privileges needed
- None
- User interaction
- Passive
Impact on the vulnerable system
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Impact on subsequent systems
- Confidentiality
- None
- Integrity
- None
- Availability
- None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploit chance over time
Affected
Products 1
Sources
CVE List Score usedCVSS 4.08.5
Bagpipes through 1.4.1 Code Execution via eval() of fit_instructions
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.
- Record
CVE-2026-142490- CVSS 4.0
- 8.5 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-95
- Updated
- 2026-12-02
EUVDEUVD-2026-141735CVSS 4.08.5
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.
- Record
EUVD-2026-141735- CVSS 4.0
- 8.5 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - Updated
- 2026-12-02
GitHub AdvisoriesGHSA-c7vf-fh36-rqmqCVSS 4.08.5
Bagpipes through 1.4.1 contains an eval injection vulnerability in bagpipes/fitting/fit.py and...
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.
- Record
GHSA-c7vf-fh36-rqmq- CVSS 4.0
- 8.5 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-95
- Updated
- 2026-12-02
NVDCVSS 4.08.5
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.
- Record
CVE-2026-142490- CVSS 4.0
- 8.5 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-95
- Updated
- 2026-12-02
OSVCVSS 4.08.5
Bagpipes through 1.4.1 Code Execution via eval() of fit_instructions
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.
- Record
CVE-2026-142490- CVSS 4.0
- 8.5 High
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - Weakness
- CWE-95
- Updated
- 2026-12-03
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| References | NVD, OSV | |
| Key facts, references | CVE List | |
| Published date | EUVD | |
| Published date | EUVD | |
| Other IDs, published date | EUVD | |
| References | OSV | |
| Other IDs, references, severity | GitHub Advisories | |
| Severity | NVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/ACCarnall/bagpipes/issues/121
github.com/ACCarnall/bagpipes/commit/ef32e3363f359e75473703084f3299b2060c9d5d
github.com/ACCarnall/bagpipes/blob/8ce12a164a6a990f319363950c89543d6f48da33/bagpipes/fitting/fit.py
github.com/ACCarnall/bagpipes/blob/8ce12a164a6a990f319363950c89543d6f48da33/bagpipes/fitting/posterior.py
vulncheck.com/advisories/bagpipes-through-1.4.1-code-execution-via-eval-of-fit-instructions
nvd.nist.gov/vuln/detail/CVE-2026-142490
github.com/advisories/GHSA-c7vf-fh36-rqmq
github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142490.json
github.com/ACCarnall/bagpipes