{"id":15451,"date":"2026-09-04T19:04:16","date_gmt":"2026-09-04T11:04:16","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-5241"},"modified":"2026-09-04T19:04:16","modified_gmt":"2026-09-04T11:04:16","slug":"cve-2026-5241","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-5241","title":{"rendered":"CVE-2026-5241 [CRITICAL] &#8211; A vulnerability in the LightGlue model loading path of huggingface\/transformers version 5."},"content":{"rendered":"<p>A vulnerability in the LightGlue model loading path of huggingface\/transformers version 5.2.0 allows an attacker-controlled model repository to execute arbitrary code during model initialization. The issue arises because the `trust_remote_code` parameter, intended to prevent remote code execution, is overridden by untrusted serialized configuration data in a nested code path. Specifically, when loading a LightGlue model using `AutoModel.from_pretrained()` with `trust_remote_code=False`, the `LightGlueConfig` reads the `trust_remote_code` value from the untrusted `config.json` file and propagates it into nested `AutoConfig.from_pretrained()` calls. This results in the execution of attacker-provided Python modules, even when the victim explicitly disables remote code execution. The vulnerability poses a high risk for environments such as API inference servers, research notebooks, CI\/CD pipelines, and model evaluation workers, potentially leading to credential theft, lateral movement, or persistence\/backdoor deployment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A vulnerability in the LightGlue model loading path of huggingface\/transformers version 5.2.0 allows an attacker-controlled model repository to execute arbitrary code during model initialization. The <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-15451","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/15451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}