The Hacker Newspublished Aug 3, 2026TLP AMBEREvidence brief ready
Hugging Face Diffusers Flaws Could Let Model Repositories Execute Arbitrary Code
Brief status
Evidence brief ready
Evidence records
1
Structured pivots
7
Publisher text
Withheld by policy
Forensia structured brief
Built from approved structured facts. Every conclusion below carries evidence references.
Evidence brief ready
1
Finding
indicator:22422:description
What happened
NVD describes CVE-2026-44513 as: Diffusers is the a library for pretrained diffusion models. Prior to 0.38.0, a trust_remote_code bypass in DiffusionPipeline.from_pretrained allows arbitrary remote code execution despite the user passing trust_remote_code=False (or omitting it, which is the default). The vulnerability has three variants, all sharing the same root cause — the trust_remote_code gate was implemented inside DiffusionPipeline.download() rather than at the actual dynamic-module load site, so any code path that bypassed or short-circuited download() also bypassed the security check. DiffusionPipeline.from_pretrained('repoA', custom_pipeline='attacker/repoB', trust_remote_code=False) — the gate evaluated against repoA's file list rather than repoB's, so repoB's pipeline.py was loaded and executed. DiffusionPipeline.from_pretrained('/local/snapshot', custom_pipeline='attacker/repoB', trust_remote_code=False) — the local-path branch never invoked download(), so the gate was never reached and remote code from repoB executed. DiffusionPipeline.from_pretrained('/local/snapshot', trust_remote_code=False) where the snapshot contains custom component files (e.g. unet/my_unet_model.py) referenced from model_index.json — same root cause; the local path skipped download() and custom component code executed. This vulnerability is fixed in 0.38.0.
Scroll this evidence note to continue
2
Impact
indicator:22422:cvss
Why it matters
NVD assigns CVE-2026-44513 a CVSS base score of 8.8.
3
Scope
indicator:22422:products
Affected systems and entities
The structured record identifies affected product references for CVE-2026-44513: cpe:2.3:a:huggingface:diffusers:*:*:*:*:*:python:*:*.
Check whether the affected product and version are present in your environment, then follow the vendor or NVD remediation guidance for CVE-2026-44513.
publisher text · intentionally withheld
The original article remains with its publisher
This source is currently approved for metadata display only. The structured panel above shows only facts that Forensia can lawfully support. Its status will advance automatically when approved evidence becomes available.
Grouping means the records share event anchors. It does not prove that every publisher independently verified the claims.
rights & provenance
PublisherThe Hacker News
Display policymetadata only
Rights reviewpending
Reader materiallegacy
CapturedAug 3, 2026
Integritysha256:6142f2a3038203533e…
Coverage state measures available context, not whether every claim is true or independently corroborated. Unknown publication rights fail closed to metadata and the original source link.