Skip to main content
CVE-2026-142490VulnerabilityPublished

Bagpipes through 1.4.1 contains an eval injection vulnerability in bagpipes/fitting/fit.py and posterior.py that

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-142490· High 8.5

Not known to be exploited · CVSS 8.5 High.

Data as of 2 Dec 2026, 19:48 UTC

CVSS 4.0 base score
8.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.5
CNA (VulnCheck)CVSS 3.17.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
ACCarnallBagpipesAffected
  • <=1.4.1
Fixed in–
PyPIBagpipespkg:pypi/BagpipesOther threatsAffected
  • <=1.4.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should avoid opening or processing untrusted posterior HDF5 files with Bagpipes fitting or plotting scripts until a fix is released. Monitor vendor advisories for updates. Since this is a local attack requiring user interaction, exercising caution with project files from untrusted sources is critical.

Description

Bagpipes versions up to 1.4.1 have an eval injection vulnerability in the files bagpipes/fitting/fit.py and posterior.py. This flaw allows attackers to execute arbitrary Python code by providing a specially crafted posterior HDF5 (.h5) file. The vulnerability arises because the fit_instructions attribute from the malicious .h5 file is passed directly to Python's eval() function, leading to code execution with the privileges of the user running the fitting or plotting scripts.

References

Community reviews

Loading reviews…