ZDI-26-927: (0Day) Meta fairseq FairseqAdam YAML File Parsing Code Injection Remote Code Execution Vulnerability
Summary
Zero Day Initiative (ZDI) released a 0-day advisory (ZDI-26-927) regarding a Remote Code Execution (RCE) vulnerability in Meta fairseq. The vulnerability exists within the parsing of configuration files involving FairseqAdam. Exploitation requires user interaction, specifically opening a crafted malicious file.
- ZDI ID: ZDI-26-927
- CVE ID: -
- CVSS Score: 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
Affected Products
- Vendor: Meta
- Product: fairseq
Technical Details
The specific flaw exists within the parsing of configuration files. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this code injection vulnerability to execute arbitrary code in the context of the current process.
Disclosure Timeline
- 2026-03-26: Vulnerability reported to vendor.
- 2026-03-26: Vendor acknowledged receipt of the report.
- 2026-07-27: ZDI asked for updates.
- 2026-09-17: Vendor communicated that the
fairseqrepository is no longer maintained and was archived. - 2026-10-23: ZDI notified the vendor of the intention to publish the case as a 0-day advisory.
- 2026-11-11: Coordinated public release of advisory.
Impact
Successful exploitation allows remote attackers to execute arbitrary code (RCE) with high impact on confidentiality, integrity, and availability within the execution context of the affected process.
Mitigation
Given the nature of the vulnerability and the fact that the repository is no longer maintained:
- Restrict interaction with the product.
- Avoid opening untrusted YAML configuration files or models from unverified sources.
References
- Credit: Mat Powell of TrendAI Zero Day Initiative
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.