Home › Intelligence › Brief
VULNERABILITY BRIEF🟠 High Vulnerability

Remote Code Execution in Meta FAIRChem Library (CVE‑2026‑XXXX) via Unsafe Pickle Deserialization

A ZDI advisory reveals a CVSS 7.8 vulnerability in Meta’s FAIRChem Python library that allows remote code execution through unsafe deserialization of pickle files. The flaw impacts research environments that load untrusted model artifacts, highlighting the need for robust input‑validation controls in software development and audit readiness.

LiveThreat™ Intelligence · 📅 November 18, 2026· 📰 zerodayinitiative.com
🟠
Severity
High
VU
Type
Vulnerability
🎯
Confidence
High
🏢
Affected
1 sector(s)
✅
Actions
2 recommended
📰
Source
zerodayinitiative.com

Remote Code Execution in Meta FAIRChem Library (CVE‑2026‑XXXX) via Unsafe Pickle Deserialization

What It Is — The Zero Day Initiative (ZDI) advisory ZDI‑26‑799 (also catalogued as ZDI‑CAN‑29436) details a high‑severity (CVSS 7.8) vulnerability in Meta’s open‑source FAIRChem library. The flaw resides in the library’s handling of Python pickle files: it deserializes data without sufficient validation. An attacker who can convince a user to open a crafted pickle file—or to load a malicious web page that triggers the library’s deserialization routine—can achieve arbitrary code execution in the context of the process that loads the library. The CVSS vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) reflects that the attack is local‑network‑bound but requires user interaction, and that successful exploitation results in total compromise of confidentiality, integrity, and availability.

Technical Details — FAIRChem is a Python package used for machine‑learning‑driven chemistry simulations. Internally, the package accepts serialized model artifacts via the pickle module. The vulnerable code path fails to enforce a whitelist of safe object types before calling pickle.load(). Because pickle is capable of reconstructing arbitrary Python objects—including those that execute code on deserialization—the lack of a validation step creates a classic unsafe‑deserialization condition. An attacker can embed malicious bytecode in a pickle payload; when the victim’s environment loads the payload, the embedded code runs with the same privileges as the FAIRChem process.

Attack Vector — Exploitation requires the victim to interact with a malicious artifact. Two realistic scenarios are described: (1) a researcher receives a crafted .pkl file via email or a shared repository and opens it with a script that loads FAIRChem models; (2) a web‑based notebook or Jupyter environment loads a remote model file from a URL that the attacker controls. In both cases, the user’s action—opening the file or visiting the page—triggers the vulnerable deserialization routine, leading to remote code execution. No authentication or privilege escalation is needed beyond the user’s normal rights.

Impact Assessment — Because the code runs inside the same process that loads FAIRChem, an attacker can execute system commands, exfiltrate data, or install persistence mechanisms. The CVSS impact metrics (C:H/I:H/A:H) indicate that a successful exploit can fully compromise the host system, potentially affecting any downstream research data, compute resources, or connected services. Environments that run FAIRChem in shared clusters or cloud notebooks are especially at risk, as a single compromised session could spread laterally.

Affected Products — The vulnerability affects all versions of Meta’s FAIRChem library released before the security update posted on 26 October 2026. The library is distributed via PyPI and is commonly used in academic, pharmaceutical, and materials‑science research pipelines. No other Meta products are listed as impacted.

Disclosure Timeline —

  • 26 Mar 2026 – The issue was reported to Meta by Mat Powell of TrendAI (ZDI‑CAN‑29436).
  • 26 Oct 2026 – Meta coordinated a public advisory and released a patch via a GitHub pull request (https://github.com/facebookresearch/fairchem/pull/1935).
  • 26 Oct 2026 – ZDI updated its advisory to include the patch reference.

Vendor Response – Meta’s security team responded promptly, publishing a pull request that replaces the unsafe pickle.load() call with a guarded deserialization routine that validates object types against an allow‑list and rejects unknown classes. The fix was back‑ported to the latest stable release and to the fairchem Docker images used in many research workflows. Meta also issued a brief advisory recommending immediate upgrade and advising users to verify the provenance of any pickle files before loading them.

Why It Matters for Trust & Control Assurance – This incident underscores the importance of secure coding practices and input‑validation controls within the software‑development lifecycle. Demonstrating that your organization enforces such controls satisfies a single VCF control objective that maps to many frameworks (e.g., NIST CSF 2.0 “Protect – Data Security” and ISO 27001 “Secure Development”).

Recommended Actions –

  • Apply the upstream patch immediately (upgrade to the version released on 26 Oct 2026 or later).
  • Audit existing FAIRChem deployments for any lingering unpatched versions.
  • Implement strict input validation for all serialized artifacts; consider using safer serialization formats (e.g., JSON, protobuf) where feasible.
  • Enforce provenance checks on third‑party model files before loading them into production notebooks or pipelines.
  • Update your software‑bill‑of‑materials (SBOM) to reflect the patched component and retain evidence for audit purposes.

Source: Zero Day Initiative Advisory ZDI‑26‑799

📰 Original Source
http://www.zerodayinitiative.com/advisories/ZDI-26-799/ ↗

This LiveThreat Intelligence Brief is an independent analysis. Read the original reporting at the link above.

From the Verisq platform · Trust Operations

Misconfigurations are control gaps in disguise.

Verisq AI Trust Operations turns findings like this into mapped controls with continuous evidence, keeping your audit readiness current instead of point-in-time.

Map your controls with Verisq AI Trust Operations →