CVE-2026-5241
huggingface transformers
Patch priority
This weekHigh severity or noticeable probability of exploitation.
- CVSS
- 9.6
- Severity
- 9.6
- EPSS
- 0.6 %
- Percentile
- 50
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run huggingface transformers. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Update within the next few days.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDA 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.
- Vendor / product
- huggingface transformers
- Published
- 03.06.2026
- Modified
- 28.08.2026
- CWE
- CWE-829
- Status
- Modified
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Vendor updates
16- Red Hat: RHSA-2026:87410 – RHSA-2026:87410 registry.redhat.io/rhoai/odh-built-in-detector-rhel9@sha256:c6e5097504395b9b122dd8d20f28070e92d962af9df7d2 … 21.10.2026 · Patch day
- Red Hat: RHSA-2026:84734 – RHSA-2026:84734 registry.redhat.io/rhoai/odh-ai-gateway-payload-processing-rhel9@sha256:ed41f0e958795e4f1bb9ca555744330ed2 … 19.10.2026 · Patch day
- Red Hat: RHSA-2026:70996 – RHSA-2026:70996 registry.redhat.io/rhaii/model-opt-cuda-rhel9@sha256:cea1593ceb68ea72897f544628f83ac92f9c9ab44f16b89aad065 … 23.09.2026 · Patch day
- Red Hat: RHSA-2026:70995 – RHSA-2026:70995 registry.redhat.io/rhaii/vllm-rocm-rhel9@sha256:1a30359d6ca5d0891e403b9b0a23c0ae1ad6e30a2429b9b42e246b874f … 23.09.2026 · Patch day
- Red Hat: RHSA-2026:70979 – RHSA-2026:70979 registry.redhat.io/rhaii/vllm-cuda-rhel9@sha256:0d22e2301ce26ef68effda5d3a4a20381ad0ea34d1240e159e245bd44c … 23.09.2026 · Patch day
- Red Hat: RHSA-2026:70969 – RHSA-2026:70969 registry.redhat.io/rhaii/vllm-spyre-rhel9@sha256:11ad6e13c41728944d933c7abe01d1d10ecb3f8e8b4f0da50ec53b7df … 23.09.2026 · Patch day
- Red Hat: RHSA-2026:70965 – RHSA-2026:70965 registry.redhat.io/rhaii/vllm-cpu-rhel9@sha256:81c5994dc20321f8bd3969099eade78ef127cbd79f2d0ccea101c773e4c … 23.09.2026 · Patch day
- Red Hat: RHSA-2026:69469 – RHSA-2026:69469 registry.redhat.io/rhaii/vllm-rocm-rhel9@sha256:4d9c1873e151f8c40f13a6b4c71b5f5aea5aca6e75d76a46ccb0784d48 … 21.09.2026 · Patch day
- Red Hat: RHSA-2026:69468 – RHSA-2026:69468 registry.redhat.io/rhaii/model-opt-cuda-rhel9@sha256:4a4d625a573c40d2a70d03b28e15f1de9b377782e05d5108298dc … 21.09.2026 · Patch day
- Red Hat: RHSA-2026:69467 – RHSA-2026:69467 registry.redhat.io/rhaii/vllm-cuda-rhel9@sha256:97f7af7da4505d0420c49719bed4b49855abb1fa3193d65e5f201d0d50 … 21.09.2026 · Patch day
- Red Hat: RHSA-2026:69466 – RHSA-2026:69466 registry.redhat.io/rhaii/vllm-cpu-rhel9@sha256:5da2be9bd0fa0c7344e8a0b84c0cb8f3a78a1c7fc5fc76db6a7daaa2d71 … 21.09.2026 · Patch day
- Red Hat: RHSA-2026:69464 – RHSA-2026:69464 registry.redhat.io/rhaii/vllm-spyre-rhel9@sha256:8f3b2de1d5a8fdba70e937ff1ab95c0584cec32a4d58b1e636ea130a6 … 21.09.2026 · Patch day
- Red Hat: RHSA-2026:60520 – RHSA-2026:60520 registry.redhat.io/rhoai/odh-ai-gateway-payload-processing-rhel9@sha256:2f83d14f149aa832849e346b90fb4449ba … 27.08.2026 · Patch day
- Red Hat: RHSA-2026:42644 – RHSA-2026:42644 registry.redhat.io/rhoai/odh-built-in-detector-rhel9@sha256:b20ad3101920dd67f16da5aa44feaa3adf34dc78515434 … 21.07.2026 · Patch day
- Red Hat: RHSA-2026:37275 – RHSA-2026:37275 registry.redhat.io/rhoai/odh-built-in-detector-rhel9@sha256:e90f9cdda706ae1c21b009dd3bfa080db3b06f8b4dd70f … 09.07.2026 · Patch day
- Red Hat: RHSA-2026:34456 – RHSA-2026:34456 registry.redhat.io/rhoai/odh-ai-gateway-payload-processing-rhel9@sha256:145511ba70395e89ad2b6861210d079d54 … 01.07.2026 · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.