Skip to content
HighVulnerability

GHSA-j7w6-vpvq-j3gm: Duplicate Advisory: Diffusers has a `trust_remote_code` bypass via `custom_pipeline` and local custom components

Published
Record updated
View JSON
Affected
  • diffusers < 0.38.0
Fixed in
0.38.0
  • released May 1, 2026, 6 days before disclosure (ecosystem taken from the tracked package of that name)

Summary

This advisory was withdrawn as a duplicate of GHSA-98h9-4798-4q5v and is kept to preserve external references. The original description reports that DiffusionPipeline.from_pretrained in Diffusers can load arbitrary code through the custom_pipeline flow from a Hub repo, or when _class_name in model_index.json names a custom class, without trust_remote_code being passed. The source describes the call succeeding and returning a functional pipeline.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.