ZDI-26-921: (0Day) Meta fairseq TransformerLanguageModel YAML File Parsing Code Injection Remote Code Execution Vulnerability
Summary
Meta fairseq contains a zero-day remote code execution vulnerability (ZDI-26-921) stemming from improper validation during YAML configuration file parsing within TransformerLanguageModel. An attacker can exploit this issue by convincing a target user to open a malicious file, enabling arbitrary code execution in the context of the current process.
- CVSS Score: 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
- CVE ID: -
Affected Products
- Vendor: Meta
- Product: fairseq
Technical Details
The specific flaw exists within the parsing of configuration files in TransformerLanguageModel. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. Exploitation requires user interaction, specifically requiring the target to open a specially crafted malicious file. Successful exploitation allows an attacker to execute code in the context of the current process.
Disclosure Timeline:
- 2026-03-26: Vulnerability reported to vendor.
- 2026-09-17: Vendor communicated that the fairseq repository is no longer maintained and was archived.
- 2026-11-11: Coordinated public release of advisory.
Impact
- Remote Code Execution: Attackers can execute arbitrary code with the privileges of the executing process.
- Full System Context Compromise: High impact on confidentiality, integrity, and availability for the affected process.
Mitigation
- Restrict interaction with the product.
- As Meta has archived the fairseq repository and discontinued maintenance, no official security patch will be provided. Organizations are advised to transition to maintained alternative libraries.
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.