Diffusers is the a library for pretrained diffusion models. Prior to 0.38.0, Diffusers' DiffusionPipeline.from_pretrained flow can bypass the trust_remote_code guard because download() validates model_index.json and custom pipeline code before later loading from a cached folder that can change, allowing a Hub repository with custom .py pipeline code to execute through the custom pipeline flow without passing custom_pipeline or trust_remote_code=True. This issue is fixed in version 0.38.0.
Exploitability Profile
None Observed
No active abuse flagged
Available
1 PoC signals · 3 repos
Confirmed
3 patch mentions · 5 advisories
Stable
Peak 1 on Jul 20, 2026
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Verify version impact across your CPE inventory and schedule remediation within the next planned patch window.
Triage Priority
CVSS v3.1
Source: GitHub
3mentions
Across 3 tracked days
| Authority | Version | Score | Vector String |
|---|---|---|---|
CNAGitHub | v3.1 | 7.5HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
3 total mentions across 3 observed days · Peak 1 on Jul 20, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.
Normalized NVD configurations scoped by vendor, product, version, and platform.
Affected Vendors
Affected Products
| Part | Vendor | Product | Version | CPE 2.3 URI |
|---|---|---|---|---|
| App | Huggingface | Diffuserspython | All versions | cpe:2.3:a:huggingface:diffusers:*:*:*:*:*:python:*:* |