Skip to main content

Ultralytics CVE-2026-118618

| EUVDEUVD-2026-112263 HIGH
Code Injection (CWE-94)
2026-10-28 zdi GHSA-fwfr-jvqv-fqff
7.8
CVSS 3.0 · Vendor: zdi
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious Ultralytics model file/config
  2. Delivery
    Deliver via malicious page or file to victim
  3. Exploit
    Victim loads it through parse_model
  4. Execution
    Unvalidated string executed as Python (CWE-94)
  5. Impact
    Arbitrary code runs as current user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to load attacker-controlled input through Ultralytics' parse_model function - concretely, opening a malicious model file/configuration or visiting a page that triggers such a load (UI:R). The flaw is the lack of validation of a user-supplied string before it is used to execute Python code (CWE-94). Limiting factors that reduce real-world risk: the attack is local (AV:L), it cannot succeed without that user interaction, and code executes only with the privileges of the current user running the Ultralytics process (S:U, no privilege escalation). There is no network-facing, zero-click path in the described flaw; an environment that never loads untrusted model files/configs is not exposed.

Impact

This is a genuine but conditional risk rather than a drop-everything emergency. The provided CVSS 3.0 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 7.8) is internally consistent with the description: the attack is local (AV:L) and requires user interaction (UI:R, the victim must open a malicious file or visit a malicious page), but needs no prior privileges (PR:N) and yields full confidentiality, integrity, and availability impact once triggered. Note the apparent tension between 'remote attackers' in the description and AV:L in the vector - this is reconciled by the UI:R requirement: the attacker is remote in the sense of delivering content, but code execution hinges on the victim locally loading attacker-supplied data, so the vector is correctly Local. No EPSS score was supplied, the CVE is not listed in CISA KEV, and the sole reference is the ZDI advisory (ZDI-26-817 / ZDI-CAN-30121), which is an advisory, not verified working exploit code. The vuln.today priority is 'this_week' and the finding originates from ZDI, indicating a credible, vendor-coordinated disclosure worth prompt patching, but there is currently no signal of active exploitation or public weaponized code. Net: a legitimately high-severity code-execution flaw, prioritize within the normal patch cycle (this week), not an active-exploitation fire drill.

Exploit ScenarioDerived

An attacker crafts a malicious Ultralytics model configuration or file containing an attacker-controlled string that parse_model will use to execute Python. The victim, operating a workflow built on Ultralytics, opens the malicious file or visits a page that causes the file to be loaded, at which point the unvalidated string is executed as Python code with the victim's privileges. No public, verified exploit code is identified at time of analysis; only the ZDI advisory reference exists.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 28, 2026

Code injection in Ultralytics' parse_model function lets an attacker execute arbitrary Python code with the privileges of the current user when the victim opens a malicious model file or otherwise loads attacker-controlled input. The root cause is CWE-94: a user-supplied string is not validated before being used to execute Python code; the assessed vector is CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, so no privileges are required but user interaction is mandatory. There is no network-facing, zero-click path in the described flaw, and no public exploit has been identified at time of analysis; the vuln.today decision label is 'this_week'.

RemediationAI

No vendor-released patch is identified at time of analysis, so there is no confirmed fixed version to cite. Because exploitation requires loading attacker-controlled input through parse_model, restrict model loading to trusted model files and configurations, and avoid opening model files or visiting pages that supply untrusted model definitions; this lowers exposure but does not repair the missing validation. Monitor the ZDI advisory ZDI-26-817 (https://www.zerodayinitiative.com/advisories/ZDI-26-817/) and the Ultralytics project for a patched release, and apply it when published.

Affected VersionsENISA

Ultralytics 8.4.65

Affected Packages

euvd ultralytics no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Ultralytics is a Python computer-vision library whose model definitions are parsed by parse_model to construct network layers. The CPE cpe:2.3:a:ultralytics:ultralytics:*:*:*:*:*:*:*:* identifies the Ultralytics package as the affected product, and its wildcard version field does not narrow the range further. CWE-94 (Improper Control of Generation of Code) explains the class: a string supplied through model input is insufficiently validated and is later used in a Python code-execution context, so a crafted model file or configuration can run code inside the Ultralytics process. The available sources do not describe the exact parsing path or the precise string-to-execution step beyond the parse_model function, so the trigger is not described in further detail. Impact is bounded by the process privileges (S:U) and by the requirement that the victim load the malicious input (UI:R).

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (zdi) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Code executes only when a victim loads an attacker-supplied file (AV:L, UI:R); no prior auth needed (PR:N); successful injection yields full code execution, hence C:H/I:H/A:H.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (zdi).

CVSS VectorVendor: zdi

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Ultralytics parse_model Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Ultralytics. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parse_model function. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-30121.

Executive ViewAI

Why It Matters

Ultralytics parse_model code injection exposes teams that load third-party model files to arbitrary code execution under the user's own privileges, risking data theft and tampering on analyst workstations. Because a victim must interact with a crafted file, day-to-day model workflows are the threat surface; leadership should care about reputation and sensitive-data loss if untrusted models are common.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include loading models only from trusted sources, verifying file integrity, and running model loading in sandboxed/low-privilege contexts.

Threat Intelligence Overview

Prevalence
Medium
popular Python ML/computer-vision library (YOLO), common in ML stacks but domain-specific
Data Quality
2 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy