Before you reopen a Bagpipes fit, find out who wrote it

Trace CVE-2026-142490 through saved Bagpipes results, distinguish a source fix from a released package, and decide which research jobs can resume.

An astronomer receives a project directory with a catalog, a plotting notebook and the results of a fit that took a collaborator several days to run. The handover makes economic sense. The recipient needs one figure at a different scale. Nobody wants to buy another week of compute to redraw it. The notebook is familiar, and its plotting cell is unchanged from a version the group has reviewed. The less familiar part of the delivery is the saved fit that the software will reopen.

That distinction matters for CVE-2026-142490. Bagpipes, a Python package used to model galaxies, can reuse an earlier fit stored in an HDF5 file. In affected versions, reconstructing the fit can cause Python to evaluate instructions taken from the saved file. VulnCheck identifies releases through 1.4.1 as affected. A party able to supply such a file can potentially execute code with the authority of the person or service that opens it through the affected workflow. The engineering decision is whether an imported result can enter a particular analysis environment and what evidence would make it reasonable to trust the resulting figure. (CVE Program, CVE-2026-142490, VulnCheck description and affected versions.)

A plotting request can also be a request to restore state

The Bagpipes fitting guide explains why this case is easy to miss. The software saves enough information to reconstruct a fit without paying the cost of sampling again. When a matching saved result is available, a later run can load it automatically. The guide also describes assigning a run name to maintain separate sets of outputs. A scientist who recognizes the observations and the model may reasonably expect a familiar computation. The program can instead find a result already present in the project’s output tree. That behavior is valuable in ordinary work, and it places a security decision in the choice of working directory. (Bagpipes documentation, “Fitting galaxies,” Saved outputs and The run keyword argument.)

The disclosed flaw concerns instructions stored with a posterior result. A posterior is the distribution of model parameters inferred from observations under the assumptions of a fit. Researchers have legitimate reasons to store both its numerical samples and the settings needed to interpret them. The dangerous step is treating incoming settings as something Python may evaluate when reconstructing the fit. Looking only at the dimensions of a numerical table would miss that distinction. Equally, seeing an HDF5 file in some other application is insufficient to classify that application as affected. The issue follows a particular consumer and a particular reload operation.

VulnCheck published two base scores for this CVE. Its CVSS 4.0 score of 8.5 qualifies the issue for coverage. Its CVSS 3.1 score is 7.8. Both vectors describe local attack access and high potential impacts on the vulnerable system. The newer vector specifies passive user interaction. Receiving a project and opening an apparently routine analysis is consistent with that assumption. A shared folder might deliver the file over a network, but the scored operation happens when an affected local process consumes it. Neither score establishes what authority that process has at a particular institution. (CVE Program, CVE-2026-142490, VulnCheck CVSS 4.0 and 3.1 assessments.)

The public project issue was opened November 30, 2026. On December 2 the maintainer said the latest commit fixed the problem and that the change would be included in the next release. The CVE Program published the record at 17:42:38 UTC on December 2. PyPI still listed 1.4.1 when checked for this article. The source correction and availability of a corrected package are consequently separate milestones in this investigation. The cited sources give no date for exploitation in the wild, and this CVE was absent from the December 2 CISA Known Exploited Vulnerabilities catalog snapshot. (ACCarnall/bagpipes, issue 121 and commit ef32e336. PyPI, bagpipes release history. CVE Program, CVE-2026-142490. CISA, Known Exploited Vulnerabilities Catalog.)

Three owners for one figure

Consider an illustrative research group preparing a revision to a paper. A collaborator supplies the project, a research software engineer maintains the plotting environment, and the corresponding author approves the revised figure. The file passes through a shared project area before a scheduled job draws the figure. All three people know the data set. None can answer the entire release question alone. The collaborator can identify what they intended to send. The engineer can establish which worker consumed it. The author can decide whether the scientific claim still follows from the evidence available.

Start with the result that the plotting job would select. Record the project revision, run name, object identifier and resolved source directory using the team’s existing job records. Keep the incoming directory separate from locally produced results while doing this inventory. Inspect file names, ownership and transfer records using ordinary storage facilities, without opening the fit in the affected software. An unchanged notebook in source control tells the engineer which code was reviewed. It says little about a result copied into a mounted directory after that review or about which older file might already occupy that location.

Next ask the collaborator for the identity of the delivered artifact through a channel the group already trusts. A digest supplied alongside the file is useful for detecting an incomplete transfer. If anyone able to replace the file could replace the digest beside it, that pair provides weak evidence about its author. A digest tied to a known job record or independently confirmed by the producing group answers a stronger question. Even then, provenance establishes the relationship to a producer. It leaves the group to decide whether that producer’s environment and the history of this particular run are sufficiently trustworthy for the intended use.

Finally identify the environment that will do the reading. A researcher’s laptop, a notebook server and the batch worker can all have different Python installations under the same project name. Obtain the package version and module location from the interpreter assigned to the job without loading the incoming posterior. Associate that observation with a specific image or environment revision. Record which paths it can write and what credentials or network destinations the workload actually needs. An isolated analyst account and a worker able to publish camera-ready figures present different consequences even if they use byte-for-byte identical package installations.

Choose between delaying, rebuilding and narrowing the work

The group can often answer the author’s immediate request without granting the incoming project access to the usual analysis environment. If the collaborator can provide a static figure and independently verified numerical summaries, the author may be able to review layout and scale while the underlying fit remains on hold. Record the limits of that review. A static image may settle whether labels overlap or a legend is readable. It cannot, by itself, verify that the plotted sample corresponds to the revised model or that an inference in the manuscript remains justified.

A second option is to recompute from independently obtained observations and reviewed model inputs in a fresh run directory. This costs time and compute, and stochastic sampling may produce legitimate variation. Agree with the scientist in advance on which comparison matters: a credible interval, a derived quantity, or a conclusion about a particular population. Preserve the old project separately. Reusing its output directory for a nominally fresh computation could cause Bagpipes to find a saved result and defeat the purpose of the exercise. Record the starting directory listing and the identity of the job that created the new result. For the paper revision, agree on how close two estimates must be to support the same claim before comparing them. Two intervals can overlap while their relationship to a decision threshold changes. The corresponding author should say whether that distinction changes the wording in the paper.

A third option, for groups that already maintain internal Python packages, is to evaluate a build from the corrected upstream revision. The maintainer’s issue response identifies a source change. An internal wheel still needs a recorded source revision, controlled build inputs, review and a deployment identity the research platform can track. The cited upstream commit also changes files beyond the two fitting modules identified in the report. Have the software owner examine the full change set for compatibility with the group’s normal workload before promoting that build into reproducible research environments. Avoid promising a fixed release number until the project actually publishes one.

While a group evaluates those options, narrowing authority can limit potential harm. A plotting worker generally has little reason to overwrite the original observations or the collaborator’s preserved result. A scratch workspace and a separate promotion step let the team review output before it enters the manuscript repository. Evaluate permissions from the worker’s actual runtime identity. A read-only project mount means little if a second mount provides write access to the same storage. Removing unrelated credentials is valuable even when every participant is trusted, because imported material can have a longer and less well documented history than the most recent transfer.

A canary with a known history

Begin acceptance with a benign fit produced under the team’s control from a small, documented input. Retain the expected model settings, interpreter identity and a few scientifically meaningful output quantities. A platform operator can confirm that the candidate package executes and that its worker can complete normally. A scientist should specify what makes a reconstructed fit interpretable. For example, confirm that parameter names and units still align with the plotted series and that a known posterior summary falls within a pre-agreed tolerance. A completed job with a plausible-looking image can conceal a disagreement about which samples were plotted.

Exercise both ordinary paths with trusted material. First direct the canary to a fresh location and observe that it produces a result there. Then start a fresh worker in the controlled environment and reopen that result through the group’s usual plotting entry point. Record the result identity consumed by the second job. If the team supports archived results produced by older versions, select a trusted, preserved example and give it a separate compatibility test. Failure to reopen that archive might affect the cost and schedule of restoring the research workflow. It does not justify going back to an affected reader for unknown deliveries.

The evidence for the security change comes from the provenance of the corrected implementation and verification that this implementation is the one in use. A benign reload exercises compatibility. It cannot establish what an affected reader would do with every possible input. There is no need to construct a hostile posterior to decide whether this worker is running the reviewed correction. Where the group cannot yet establish that relationship, record the worker as unverified and keep the intake restriction in place. This also prevents an accidental pass when a new interactive kernel uses a corrected environment but the overnight scheduler still launches the old one.

During rollout, inspect the next scheduled environment as well as the canary. The scheduler may rebuild from a lock file naming the PyPI release, or provision workers from an image created before the internal fix. Capture the resolved artifact identity at job start and keep the output of the canary separate from approved scientific results. If an internal build is temporary, identify who will compare it with the eventual upstream release and retire it. If the candidate build breaks a needed plotting feature, suspend that workflow or move it to a separately approved environment with trusted inputs. Rolling back the worker while leaving intake open would recreate the original exposure. Record which result format the team can still support and give the scientist a date for revisiting the remaining work.

What to do with figures already produced

For an earlier imported fit, begin with the decisions that depended on it. Identify which job read the project, which account ran it, which artifact became the published figure and where the evidence for that chain survives. Preserve original inputs and outputs before rerunning the analysis. A new successful run could overwrite timestamps or figures needed to understand the previous one. Where historical logs have expired, record the gap explicitly. A familiar collaborator and an attractive plot provide little evidence about which worker handled a specific artifact on a specific date.

If there are independent signs of unexpected process activity or modification outside the normal output directory, involve the institution’s incident owner. Give that person the worker’s authority and execution interval, the delivery provenance and any retained platform records. Keep the scientific question separate. An analyst may be able to reproduce the published trend from independent observations even when old system evidence is incomplete. Conversely, a well-documented transfer can still carry the wrong model fit for a figure. Each result requires an owner who can explain what was verified and what remains uncertain.

In the illustrative revision, the author can approve a layout change once its inputs and purpose are documented. Approval of a changed scientific result requires evidence about the fit that actually produced it. The platform owner can reopen routine intake when the deployed reader, scheduler and rollback environment meet the team’s criteria, while leaving an individual project on hold for missing provenance. Those decisions have different deadlines. Recording them separately gives the next researcher a practical answer to a much better question than whether the folder is safe: which artifact may be opened, by which worker, to support which conclusion?

SecurityVault’s vulnerability management workflow connects a finding to software, accountable teams and the evidence behind remediation. For a shared analysis platform, keep the producing job, consuming environment and scientific approval alongside the package decision. Bring a research computing workflow to a SecurityVault discussion and trace the evidence your team needs before accepting an external result.