Remote Code Execution in Meta FAIRChem Deserialization of Untrusted Data (ZDI‑26‑805)
What It Is —
On 26 October 2026 the Zero Day Initiative (ZDI) published advisory ZDI‑26‑805 (also catalogued as ZDI‑CAN‑29442) describing a remote‑code‑execution (RCE) flaw in Meta’s FAIRChem library. The vulnerability stems from the library’s handling of Python pickle files. When a maliciously crafted pickle is supplied to the FAIRChem parser, the lack of strict validation allows the attacker’s payload to be deserialized and executed in the context of the running process.
The CVSS v3.1 base score is 7.8 (High), with the vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. Although the attack requires the victim to interact with a malicious page or open a malicious file (user‑interaction required), the impact is severe: full code execution, complete confidentiality, integrity, and availability compromise of the host system.
Meta responded promptly, publishing a code change on 26 October 2026 that hardens the pickle‑loading routine. The fix is available in the FAIRChem repository (see the pull request at https://github.com/facebookresearch/fairchem/pull/1935). No public exploits have been observed, but the advisory notes that the vulnerability is exploitable in the wild once a crafted pickle reaches a vulnerable FAIRChem instance.
Affected Products — Meta FAIRChem (any version prior to the 26 Oct 2026 update).
Why It Matters for Trust & Control Assurance — This flaw highlights the control objective of secure data validation and safe deserialization. Organizations that integrate FAIRChem—or any third‑party library that processes serialized objects—must demonstrate that they have controls to verify input integrity and to monitor for unsafe code paths.
Recommended Actions —
- Inventory all environments that run Meta FAIRChem and verify the library version.
- Apply the upstream patch (pull‑request #1935) or upgrade to the latest released version.
- Implement strict input‑validation controls for any data that is deserialized, including schema checks, type whitelisting, and sandboxing where feasible.
- Add logging around deserialization calls to capture anomalous payloads and support forensic analysis.
- Document the remediation in your control evidence repository to satisfy audit requirements.
Source: Zero Day Initiative advisory ZDI‑26‑805 (https://www.zerodayinitiative.com/advisories/ZDI-26-805/)