(0Day) Meta fairseq rerank Code Injection Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Meta fairseq. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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.
Additional Details
03/26/26 - ZDI reported the vulnerability to the vendor
03/26/26 - the vendor acknowledged the receipt of the report
07/27/26 - ZDI asked for updates
09/17/26 - the vendor communicated that the fairseq repository is no longer maintained and was archived
10/23/26 - ZDI notified the vendor of the intention to publish the case as a 0-day advisory
-- Mitigation: Given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the product
Disclosure Timeline
- 2026-03-26 - Vulnerability reported to vendor
- 2026-11-11 - Coordinated public release of advisory
- 2026-11-11 - Advisory Updated
Credit
Mat Powell of TrendAI Zero Day Initiative