重排序阶段的配置/输入可控即触发,属同日披露的批量 0day 之一。
rce代码注入llm
(0Day) Meta fairseq rerank Code Injection Remote Code Execution Vulnerability
November 11th, 2026
ZDI-26-942
ZDI-CAN-29546
CVE ID
CVSS Score
7.8
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Vendors
Meta
Affected Products
fairseq
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
Back to Advisories