# ZDI-26-817: (0Day) Ultralytics parse\_model Code Injection Remote Code Execution Vulnerability

DevFeed: [ZDI-26-817: (0Day) Ultralytics parse\_model Code Injection Remote Code Execution Vulnerability](<https://devfeed.tech/articles/zdi-26-817-0day-ultralytics-parse-model-code-injection-remote-code-execution-vulnerability-106013.md>)

Original publisher: [Read original article](<http://www.zerodayinitiative.com/advisories/ZDI-26-817/>)

Published: 2026-10-28T05:00:00Z

Content type: news

Language: en

Sources: [Zero Day Initiative](<https://devfeed.tech/sources/zero-day-initiative.md>)

Topics: [ultralytics](<https://devfeed.tech/topics/ultralytics.md>), [Exploit](<https://devfeed.tech/topics/exploit.md>)

Tags: [0-day](<https://devfeed.tech/tags/0-day.md>), [code](<https://devfeed.tech/tags/code.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [code-injection](<https://devfeed.tech/tags/code-injection.md>), [execution](<https://devfeed.tech/tags/execution.md>), [exploit](<https://devfeed.tech/tags/exploit.md>), [file](<https://devfeed.tech/tags/file.md>), [interaction](<https://devfeed.tech/tags/interaction.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [model](<https://devfeed.tech/tags/model.md>), [remote](<https://devfeed.tech/tags/remote.md>), [remote-code-execution](<https://devfeed.tech/tags/remote-code-execution.md>), [remote-code-execution-vulnerability](<https://devfeed.tech/tags/remote-code-execution-vulnerability.md>), [ultralytics](<https://devfeed.tech/tags/ultralytics.md>), [user-interaction](<https://devfeed.tech/tags/user-interaction.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

## AI overview

Ultralytics' parse_model function does not properly validate a user-supplied string before using it to execute Python code. A remote attacker can exploit this to run code as the current user, but the target must first visit a malicious page or open a malicious file. ZDI rates the issue CVSS 7.8 and identifies it as CVE-2026-118618. The advisory says the salient mitigation is to restrict interaction with the product.

## Source excerpt

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 ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-118618.