Home › Intelligence › Brief
VULNERABILITY BRIEF🟠 High Vulnerability

Remote Code Execution via Deserialization in Meta FAIRChem (ZDI‑26‑807) – High Severity

A deserialization vulnerability in Meta's FAIRChem library allows an attacker to execute arbitrary code when a victim opens a crafted pickle file. The issue impacts research, cloud notebook, and commercial R&D environments and underscores the need for robust input‑validation controls in secure development programs.

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

Remote Code Execution via Deserialization in Meta FAIRChem (ZDI‑26‑807) – High‑Severity Vulnerability

What It Is — Meta’s open‑source FAIRChem library, a Python toolkit for machine‑learning‑driven molecular simulations, contains a critical deserialization flaw that can be weaponised for remote code execution (RCE). The issue resides in the pickle‑based loading routine used by the public function get_computational_df_to_predict. Because the routine accepts a user‑supplied pickle file without validating its contents, an attacker who convinces a victim to open a crafted file—or to visit a malicious web page that triggers the loader—can cause arbitrary Python objects to be instantiated and executed in the context of the running process.

The vulnerability scores 7.8 on the CVSS 3.1 scale (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), reflecting the low attack vector (local) but the requirement for user interaction, and the complete compromise of confidentiality, integrity, and availability once exploited. The flaw was reported to Meta on 4 March 2026 and publicly disclosed on 26 October 2026 after a coordinated effort with the Zero Day Initiative (ZDI). Meta responded by publishing a patch on GitHub (see pull request #1935) that replaces the unsafe pickle.load call with a safe, schema‑validated deserializer and adds unit tests to guard against future regressions.

Background on FAIRChem — FAIRChem is part of Meta’s broader FAIR (Findable, Accessible, Interoperable, Reusable) AI research agenda. It provides researchers with differentiable force fields, enabling rapid prototyping of drug‑discovery pipelines and materials‑science simulations. Because the library is widely adopted in academic labs, cloud‑based Jupyter notebooks, and commercial R&D platforms, the vulnerability has a broad attack surface: any environment that imports FAIRChem and processes external data files is potentially at risk.

Exploit Flow —

  • Preparation – An adversary crafts a malicious pickle payload containing a chain of Python objects that, when unpickled, invoke os.system or similar APIs to execute arbitrary commands.
  • Delivery – The payload is embedded in a data file (e.g., a .pkl dataset) or hosted on a web page that triggers a download via a vulnerable notebook cell.
  • Trigger – The victim runs FAIRChem.get_computational_df_to_predict(<malicious_file>) or opens the notebook that automatically loads the file. Because the function does not perform any integrity checks, the pickle is deserialized verbatim.
  • Execution – The malicious object’s __reduce__ method runs the attacker’s code, gaining the same privileges as the Python process (often root or the user running the notebook).

Impact – Successful exploitation yields full system compromise: the attacker can read or exfiltrate research data, modify simulation results, install persistence mechanisms, or pivot to other services on the host. In cloud‑hosted notebook environments, the breach can spread laterally across tenant containers if isolation is weak.

Detection & Disclosure – The vulnerability was discovered by an anonymous researcher who submitted the report to ZDI. No public evidence of active exploitation has been disclosed, and Meta’s advisory does not cite any known incidents. Detection relies on standard runtime monitoring: anomalous process creation, unexpected network connections from notebook kernels, or alerts from integrity‑checking tools that flag unsigned pickle loads.

Remediation – Meta’s patch replaces the unsafe deserializer with json‑based loading and adds strict schema validation. The advisory recommends that all users upgrade to the latest commit (post‑PR #1935) and verify the library version (fairchem==0.5.2 or later). For environments that cannot immediately patch, a temporary mitigation is to disable the vulnerable function or enforce a whitelist of trusted pickle sources.

Why It Matters for Trust & Control Assurance – This flaw tests the secure development and input‑validation control area: organizations must ensure that code handling external data validates format and provenance before deserialization. Demonstrating a mature secure‑coding program satisfies a single control objective that maps across many frameworks (e.g., NIST CSF 2.0’s Protect function, ISO 27001’s A.14.2 Secure Development).

Recommended Actions –

  • Apply Meta’s patch immediately and confirm the library version across all development, CI/CD, and production environments.
  • Audit your codebase for any use of Python’s pickle module or other unsafe deserializers; replace them with safe alternatives or add strict schema checks.
  • Enable runtime monitoring for unexpected subprocess creation or network activity originating from notebook kernels.
  • Document the remediation in your secure‑development policy and capture evidence (patch version, scan results) for audit readiness.
  • Review third‑party risk: if you consume FAIRChem as a managed service, request proof of patch deployment and continuous monitoring.

Source: Zero Day Initiative advisory – <http://www.zerodayinitiative.com/advisories/ZDI-26-807/>

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

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 →