cve.bz

CVE-2026-71281 huggingface peft: Deserialization of Untrusted Data

8.8 highEPSS 0.5%

High (8.8) in huggingface peft. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
Hugging Face peft's LoRA-GA and CorDA initialization modules (src/peft/tuners/lora/corda.py lines ~102 and ~163, and src/peft/tuners/lora/loraga.py line ~101) call torch.load on config-specified cache/covariance files without weights_only=True, bypassing peft's own safe-loading wrapper used elsewhere in the codebase.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-08-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-71281 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-71281?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-71281?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-71281 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
huggingface peftthrough 0.19.1

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat ships Hugging Face peft (versions up to 0.19.1, all within the vulnerable range) across multiple AI/ML product images: OpenShift AI (RHOAI), the AI Inference Server (vLLM ROCm), RHEL AI, and Lightspeed Stack. The LoRA-GA and CorDA initialization modules call torch.load() on config-specified cache/covariance files without weights_only=True, enabling full pickle deserialization and arbitrary code execution if a malicious cache file is loaded. Resolution is delegated to each image's maintainers to update the pinned peft dependency; trackers have been filed against all affected streams.

Red Hat's mitigation

Do not load LoRA-GA or CorDA cache/covariance files from untrusted or unverified sources; only use cache files generated in your own trusted training environment. Upgrade to a peft release newer than 0.19.1 once available in the affected image.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.4rhaii/vllm-rocm-rhel9:1791856725Fixed 2026-10-14RHSA-2026:83121
Red Hat OpenShift AI 2.25rhoai/odh-training-cuda121-torch24-py311-rhel9:1788178589Fixed 2026-09-08RHSA-2026:65126
Red Hat OpenShift AI 2.25rhoai/odh-training-cuda124-torch25-py311-rhel9:1788178620Fixed 2026-09-08RHSA-2026:65126
Red Hat OpenShift AI 2.25rhoai/odh-training-rocm62-torch24-py311-rhel9:1788178712Fixed 2026-09-08RHSA-2026:65126
Red Hat OpenShift AI 2.25rhoai/odh-training-rocm62-torch25-py311-rhel9:1788178637Fixed 2026-09-08RHSA-2026:65126
Red Hat OpenShift AI 2.25rhoai/odh-caikit-nlp-rhel9:1791448212Fixed 2026-10-21RHSA-2026:87410
Red Hat OpenShift AI 3.3rhoai/odh-training-cuda128-torch28-py312-rhel9:1789492708Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-training-cuda128-torch29-py312-rhel9:1789492653Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-training-rocm64-torch28-py312-rhel9:1789492674Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-training-rocm64-torch29-py312-rhel9:1789492734Fixed 2026-09-30RHSA-2026:73987
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Affected
Red Hat AI Inference Serverrhaiis/vllm-rocm-rhel9Will not fix
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-azure-rocm-rhel9Affected
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-rocm-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhai-early-access/docling-serve-cuda-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-caikit-tgis-serving-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-autogluon-server-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-kserve-storage-initializer-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-openvino-model-server-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-th06-cpu-torch291-py312-rhel9Affected
17 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-71281.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON