CVE-2026-119120

Crawl4AI 0.9.0 before 0.9.5 Untrusted Model Loading via CosineStrategy model_name

Published Oct 29, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
Description
Crawl4AI from 0.9.0 before 0.9.5 fails to filter the CosineStrategy model_name field in untrusted Docker API request bodies, allowing authenticated clients to choose which HuggingFace model the server loads. Attackers can reference a malicious repository with a pickle weight file to execute Python code under PyTorch below 2.6, or exhaust disk and memory.

Analysis

AI-generated

Technical impact

Crawl4AI from version 0.9.0 up to, but not including, 0.9.5 does not filter the CosineStrategy model_name field supplied in untrusted Docker API request bodies, allowing an authenticated client to select which HuggingFace model the server will load. An attacker can point the model_name to a repository that hosts a malicious pickle weight file, which under PyTorch versions lower than 2.6 can cause the server to execute arbitrary Python code. Even without code execution, a malicious model can exhaust disk space or memory, leading to denial of service.

Affected Systems

The vulnerability affects the Crawl4AI product released by unclecode. Any deployment running the 0.9.0 through 0.9.4 releases is impacted. Versions 0.9.5 and later have fixed the input validation issue on the CosineStrategy endpoint.

Risk and Exploitability

The CVSS score is 7.7, indicating a high potential for impact. EPSS data is not available, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires that the attacker has legitimate credentials to the server, as the flaw is triggered by authenticated clients via the Docker API. Once authenticated, the attacker can supply a crafted request to load a malicious model, enabling remote code execution or resource exhaustion. The overall risk is moderate to high, contingent on the strength of the authentication mechanism in place.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest version of Crawl4AI (0.9.5 or newer) to ensure the CosineStrategy model_name input is properly filtered. The update removes the vulnerability that allows arbitrary model loading.
  • Limit access to the Docker API by enforcing strong authentication and restricting it to trusted users only. This reduces the attack surface by preventing unauthenticated or untrusted clients from invoking CosineStrategy.
  • Configure monitoring for unusual Docker API activity, such as repeated model_name requests or requests targeting unconventional HuggingFace repository URLs, and alert on such patterns. Early detection can help mitigate potential exploitation attempts while the patch is rolled out.

Generated by OpenCVE AI on October 29, 2026 at 17:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Unclecode
Unclecode crawl4ai
Vendors & Products Unclecode
Unclecode crawl4ai
Type Values Removed Values Added
Description Crawl4AI from 0.9.0 before 0.9.5 fails to filter the CosineStrategy model_name field in untrusted Docker API request bodies, allowing authenticated clients to choose which HuggingFace model the server loads. Attackers can reference a malicious repository with a pickle weight file to execute Python code under PyTorch below 2.6, or exhaust disk and memory.
Title Crawl4AI 0.9.0 before 0.9.5 Untrusted Model Loading via CosineStrategy model_name
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 3, 2026, 3:39 PM
Reserved
Oct 29, 2026, 2:25 PM
Status
Deferred
Published
Oct 29, 2026, 4:18 PM
Modified
Nov 3, 2026, 4:17 PM