Home › Intelligence › Brief
VULNERABILITY BRIEF🟠 High Vulnerability

Remote Code Execution via Deserialization in Meta FAIRChem (ZDI‑26‑796) Threatens Scientific‑ML Platforms

A deserialization flaw in Meta's FAIRChem library (CVE‑2026‑XXXX, CVSS 7.8) lets attackers execute arbitrary code when a crafted pickle file is opened. The issue underscores the need for secure coding and input‑validation controls, a key control area across multiple compliance frameworks.

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

Remote Code Execution via Deserialization in Meta FAIRChem (ZDI‑26‑796) Threatens Scientific‑ML Platforms

What It Is — Meta’s open‑source FAIRChem library, used for quantum‑chemical reaction modeling, contains a deserialization flaw in the handling of adsorbate_db_path pickle files. The vulnerability (identified as ZDI‑26‑796, CVE‑2026‑XXXX) scores 7.8 (CVSS 3.1) with a vector of AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. An attacker who can convince a user to open a crafted pickle file—or to load a maliciously hosted page that triggers the library’s file‑loading routine—can achieve remote code execution in the context of the FAIRChem process. Because the exploit runs with the privileges of the invoking user, it can read, modify, or delete research data, exfiltrate proprietary models, or pivot to other services on the host.

Technical Details — FAIRChem relies on Python’s pickle module to serialize and deserialize internal data structures representing reaction pathways. The vulnerable code path does not validate the content of the incoming pickle stream before calling pickle.load(). An attacker can embed a malicious __reduce__ payload that, when deserialized, executes arbitrary Python code. The flaw is triggered only after user interaction (opening a file or visiting a page that initiates a download), satisfying the “User Interaction Required” clause in the CVSS vector.

Exploitation Flow —

  • Preparation – The adversary crafts a malicious pickle containing a payload that imports os and runs a shell command (e.g., os.system('rm -rf /tmp/*')).
  • Delivery – The payload is embedded in a reaction database file (adsorbate_db_path) or hosted on a web server that FAIRChem automatically fetches when a user opens a shared experiment.
  • Trigger – A researcher opens the file in a Jupyter notebook or runs a FAIRChem script that loads the database. The library calls pickle.load() without sanitization.
  • Execution – The malicious __reduce__ method runs, executing the attacker’s command in the same process context.
  • Post‑Exploitation – The attacker can harvest model parameters, inject back‑doors, or use the compromised host as a foothold for lateral movement.

Impact – Successful exploitation grants confidentiality, integrity, and availability impact at the highest level (C:H/I:H/A:H). In a research environment, this could lead to theft of proprietary chemical data, sabotage of simulation results, or disruption of high‑performance compute clusters. Because FAIRChem is often integrated into larger pipelines (e.g., data‑driven drug discovery platforms), the breach can cascade to downstream services and cloud resources.

Affected Products – Meta FAIRChem (all versions prior to the October 2026 patch). The advisory does not list a specific version range, but the fix is applied to the repository head as of the pull request #1935.

Disclosure Timeline –

  • 2026‑03‑26 – Vulnerability reported to Meta by Mat Powell (TrendAI).
  • 2026‑10‑26 – Coordinated public release of the advisory (ZDI‑26‑796).
  • 2026‑10‑26 – Advisory updated with patch reference.

Vendor Response – Meta responded promptly, merging a fix that replaces the unsafe pickle.load() call with a custom deserializer that validates the schema of incoming data and rejects any object containing executable code. The patch is available in the public GitHub repository: <https://github.com/facebookresearch/fairchem/pull/1935>. Meta recommends all users upgrade immediately and re‑run any existing pickle files through the new validator before reuse.

Mitigation & Hardening –

  • Apply the patch immediately and verify the repository hash.
  • Audit existing pickle files for suspicious payloads; re‑serialize using the new safe format.
  • Enforce least‑privilege execution for any process that runs FAIRChem (e.g., containerize the workload, drop root privileges).
  • Integrate static analysis that flags use of pickle with untrusted inputs in CI pipelines.
  • Educate researchers about the risks of opening unverified data files from external collaborators.

Why It Matters for Trust & Control Assurance – This flaw highlights the control‑mapping objective of “secure coding and input validation” that underpins many frameworks (e.g., NIST CSF 2.0, ISO 27001). Demonstrating that you have continuous evidence of code‑review policies and automated testing directly addresses that control, providing defensible audit artifacts.

Recommended Actions –

  • Deploy Meta’s October 2026 patch across all FAIRChem installations.
  • Run a one‑time integrity scan of all stored pickle files using the new validator.
  • Update your CI/CD pipeline to include a deserialization‑safety check for any Python pickle usage.
  • Document the remediation steps and retain the patch commit hash as evidence for auditors.

Source: Zero Day Initiative advisory

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

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

From the Verisq platform · Trust Operations

Answer one control objective. Answer ten frameworks.

The Verisq Common Framework is a spine of 84 control objectives that SOC 2, ISO 27001, NIST CSF, CMMC, HIPAA, PCI DSS, HITRUST, GDPR, ISO 42001 and NIST AI RMF map onto — each graded honestly. Satisfy an objective once and every framework that recognizes it lights up at its real strength.

See how the Verisq Common Framework works →