Remote Code Execution in Meta FAIRChem via Unsafe Deserialization (CVE‑2026‑XXXX)
What It Is — The Zero Day Initiative (ZDI) advisory ZDI‑26‑798 (also catalogued as ZDI‑CAN‑29434) describes a remote‑code‑execution (RCE) flaw in Meta’s open‑source FAIRChem library. The defect lives in the library’s handling of “pickle” result files produced by the dense_eval routine. Pickle is a Python‑specific binary serialization format that can execute arbitrary objects when deserialized. FAIRChem fails to validate the contents of a supplied pickle file before passing it to pickle.load(). An attacker who can convince a victim to open a maliciously crafted results file—or to load a page that triggers the library to read such a file—can cause the victim’s process to execute attacker‑controlled Python code with the same privileges as the running application.
The vulnerability is scored 7.8 (CVSS v3.1) with the vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, indicating a local‑access vector that is trivial to exploit once the victim interacts with the malicious artifact. The advisory notes that user interaction is required: the target must either visit a malicious web page that forces the library to fetch the crafted file, or manually open a compromised results file in an environment where FAIRChem is installed.
Affected Products — Meta FAIRChem (all versions prior to the October 2026 patch). The library is widely used in computational chemistry and drug‑discovery pipelines that rely on graph‑based neural networks for molecular property prediction.
Why It Matters for Trust & Control Assurance — This flaw underscores the importance of a secure development control objective: validating and sanitizing all external data before deserialization. The same control appears across SOC 2, ISO 27001, NIST CSF 2.0, and other standards, meaning a single evidence point can satisfy many compliance regimes.
Recommended Actions —
- Apply Meta’s patch immediately (see the pull‑request #1935 on the FAIRChem GitHub repo).
- Audit your CI/CD pipelines for any use of
pickle.load()or similar unsafe deserialization functions; replace with safe alternatives (e.g.,json,msgpack, or custom parsers). - Add runtime detection for unexpected pickle payloads (e.g., file‑type whitelisting, hash verification).
- Document the remediation in your secure‑development evidence store to demonstrate control compliance.
- Conduct a focused code‑review of all modules that ingest external data, ensuring input‑validation controls are in place.
Source: Zero Day Initiative advisory