Case · DiggingBeagle record

Crawl4AI untrusted extraction configuration could load arbitrary model artifacts

Untrusted Crawl4AI extraction settings could select a remote Hugging Face model and trigger loading outside the crawler’s ordinary outbound restrictions.

Scope

Crawl4AI Docker API 0.9.0 through 0.9.4 when the relevant extraction extras are installed and a client can set CosineStrategy model_name; patched in 0.9.5. Code execution additionally depends on unsafe model deserialization paths.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Impact
Band 3 of 4
Evidence
Grade B
Remediation
fixed reported
AI role
AGAINST AI
Basis and provenance

GHSA-f856-7xp9-w3cc confirms CosineStrategy model_name reached Hugging Face AutoModel without allowlisting or the standard egress proxy. In current safe deserializers the bounded consequence is memory/resource exhaustion rather than the full execution chain. The advisory reports a 0.9.5 patch and does not document exploited customers.

Impact basis: A token-authorized Docker API client could force arbitrary model downloads and, under older unsafe PyTorch and Transformers configurations with relevant extras, trigger server-side Python execution. Band applies to that explicit vulnerable dependency combination, not the default installation.

Assessed Oct 19, 2026 using diggingbeagle.assessment/1.

At a glance

Claims & evidence

CLM-CRAWL4AI-HF-MODEL-LOADINGAn API client could select the Hugging Face model loaded by the extraction service through CosineStrategy model_name.supported

Basis: reported finding

Link to claim

Implications

A request that merely appears to select a similarity model can cause network retrieval and deserialization of artifacts. Loading authority must therefore reside in a deployment-level allowlist rather than in the crawl request.

Controls and mitigations

  • Allowlist deployable models, pin artifact identity and restrict model loading to an independently authorized service.

Unknowns and contradictions

  • The code path required the affected Docker extraction configuration and optional dependency versions for the stronger code-execution outcome. Ordinary default installations were not all affected; no live attack is documented.

Sources and citation

Material revision history

  1. Oct 19, 2026 · Published version · first publication · revision 174
  2. Oct 19, 2026 · Canonical change recorded · material revision · revision 175Public fields changed: assessment_profile