ZDI-26-942: (0Day) Meta fairseq rerank Code Injection Remote Code Execution Vulnerability
Summary
Security advisory ZDI-26-942 discloses a zero-day code injection vulnerability in Meta fairseq that allows remote attackers to execute arbitrary code on affected installations. Exploitation requires user interaction, requiring the target to visit a malicious page or open a malicious file.
- CVE ID: -
- CVSS Score: 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
- Credit: Mat Powell of TrendAI Zero Day Initiative
Affected Products
- Meta fairseq
Technical Details
The specific flaw exists within the rerank.py script. 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 vulnerability to execute code in the context of the current process.
Disclosure Timeline:
- 2026-03-26: ZDI reported the vulnerability 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 fairseq repository 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
Remote attackers can execute arbitrary code within the context of the current process on the affected system if the victim interacts with a malicious file or page.
Mitigation
Given the nature of the vulnerability and the fact that the repository is archived and no longer maintained by the vendor, the only salient mitigation strategy is:
- Restrict interaction with and usage of the product.
References
- ZDI-26-942 Advisory
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.