Skip to content
CVE-2026-137997: Insecure pickle deserialization in HCIPy enables code execution via crafted files

CVE-2026-137997: Insecure pickle deserialization in HCIPy enables code execution via crafted files

First seen 28 Nov 2026, 07:49 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 28, 2026 at 07:50 UTC
  • •CVE-2026-137997 affects HCIPy through 0.7.1 and carries a CVSS score of 8.5 (High).
  • •Crafted .pkl or .pickle files passed to read_field, read_grid or read_mode_basis execute code with the loading user's privileges.
  • •Attack requires local access and user interaction, such as opening a crafted file or placing one in an automated workflow.
  • •A GitHub issue reports a working proof-of-concept using a benign pickle gadget; no in-the-wild exploitation is reported.
  • •Recommended mitigation is upgrading to a vendor-fixed release, and blocking untrusted pickle inputs until then.

HCIPy through version 0.7.1 contains an insecure deserialization flaw tracked as CVE-2026-137997, with a CVSS score of 8.5 (High), according to the CVE record.

The read_field, read_grid and read_mode_basis functions select the pickle loader based on file extension (.pkl or.pickle) and call pickle.load, so a crafted file with a __reduce__ gadget executes code with the privileges of the user or service loading it.

Redpacketsecurity describes the attack as local and low-complexity, requiring no prior privileges but user interaction, such as opening a crafted file or placing one where an automated workflow will load it.

A GitHub issue for the project describes the same mechanism and reports a proof-of-concept in which a benign gadget ran the id command and wrote output to a marker file; the issue states that pickle is a default, documented format path requiring no non-default option.

Redpacketsecurity rates the risk as high for environments loading externally supplied scientific data, and notes it could not assess KEV, SSVC, EPSS or PoC status from the information available. The articles do not report in the wild.

Redpacketsecurity recommends upgrading to a vendor-fixed release, blocking untrusted pickle files until then, and isolating processing jobs.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Or ask in your own assistant: ClaudeChatGPTPerplexityGemini

Timeline

2026-11-27
CVE-2026-137997 published
The CVE record lists a CVSS score of 8.5 (High) for the HCIPy insecure deserialization flaw.
2026-11-28
Technical details and PoC reported
A GitHub issue describes the pickle loading path and a proof-of-concept that runs id via a crafted pickle file.
github.com
2026-11-28
High-risk assessment published
Redpacketsecurity rates the risk high for environments loading externally supplied scientific data and advises upgrading.
Redpacketsecurity

More articles in this cluster (5)

Following this threat?

Track CVE-2026-137997 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Am I affected?
Installations of HCIPy through version 0.7.1 are affected. Check the installed version and confirm it is a patched build.
How urgent is this?
The articles do not report in-the-wild exploitation, but a public proof-of-concept exists and the CVSS score is 8.5. Redpacketsecurity rates the risk high for environments loading untrusted scientific data.
What should we do first?
Upgrade to a vendor-fixed HCIPy release. Until then, block untrusted .pkl and .pickle files from being loaded and restrict these functions to trusted inputs.