Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious model config
-
DeliveryVictim loads crafted YAML model
-
Exploitget_obj_from_str instantiates attacker target
-
ExecutionArbitrary Python code executes
-
ImpactFull host compromise
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 | Requires the victim to load an attacker-supplied Stable Diffusion model whose accompanying YAML configuration sets the 'target' argument to an attacker-chosen class/callable, which get_obj_from_str then imports and instantiates - i.e., exploitation depends on loading untrusted third-party model configs. Limiting factors: user interaction is mandatory (UI:P - the victim must load the malicious model/config); there is no self-propagation or default-config remote trigger. Affects stable-diffusion-webui up to and including 1.10.1; no authentication is needed on the attacker side (PR:N), as the payload rides in distributed model files rather than requiring access to the target instance. |
| Impact | Signals conflict sharply and must be weighed carefully. The input CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L, score 2.1 Low) rates impact as only Low across confidentiality, integrity, and availability - yet the vulnerability is CWE-94 code injection via get_obj_from_str, which dynamically imports and instantiates an attacker-named class and therefore realistically yields full arbitrary code execution on the host. That Low impact rating (assigned by VulDB, the sole reporting source) appears understated for a code-injection primitive and should be treated with skepticism; I assess the true impact as High (see assessed vectors). The genuine risk-limiting factor is UI:P - exploitation requires the victim to load an attacker-supplied model/config (the POC is a YAML file abusing the 'target' field), so this is a supply-chain / social-engineering vector rather than a drive-by remote exploit. A public POC exists (a1111-yaml-target-poc.zip), but there is no CISA KEV listing and no EPSS score was provided, so there is no evidence of active or widespread exploitation. Net: not a drop-everything internet-facing emergency, but a meaningful RCE risk for anyone who loads untrusted third-party Stable Diffusion models/configs, compounded by the vendor having not responded to issue #17499 and no patch existing. Note the AV:N/impact conflict explicitly: network vector is nominal (model delivered over the network) but code execution hinges on user-initiated model loading - verify against the vendor, who has not yet responded. |
| Exploit ScenarioDerived | An attacker publishes a Stable Diffusion checkpoint on a model-sharing site accompanied by a crafted YAML config whose 'target' field names an arbitrary Python callable. When a victim loads that model in stable-diffusion-webui, get_obj_from_str in modules/sd_models.py imports and instantiates the attacker-controlled target, executing arbitrary code on the victim's machine. A public proof-of-concept (a1111-yaml-target-poc.zip) demonstrating this exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 18, 2026
Code injection in AUTOMATIC1111 Stable Diffusion WebUI through 1.10.1 lets remote attackers execute attacker-chosen Python objects when a victim loads a malicious third-party model whose YAML configuration supplies a crafted 'target' value to get_obj_from_str in modules/sd_models.py. User interaction is mandatory - the victim must import the untrusted model/config - but no authentication is needed on the attacker side because the payload travels inside distributed model files; publicly available exploit code exists and a proof-of-concept ZIP is referenced. No CISA KEV entry confirms active exploitation, and the vendor has not responded to the early issue report, so no vendor-released patch was identified at time of analysis; the supplied CVSS 4.0 score of 2.1 conflicts with the independently assessed CVSS 3.1 vector, which rates post-load confidentiality, integrity, and availability impact as high.
RemediationAI
No vendor-released patch was identified at time of analysis; the project was notified via issue 17499 but has not responded. Until a fixed release appears, do not load third-party .ckpt/.safetensors model bundles or accompanying YAML configs from untrusted sources, and review the 'target' field in any model YAML before loading - this blocks the known PoC but sacrifices access to community models. Restrict the web UI to curated model directories, run it in a low-privilege container/VM with no sensitive host mounts and limited network egress, and avoid exposing the UI to untrusted users; trade-offs include reduced convenience and possible GPU/performance overhead. Monitor issue 17499, VulDB 421652, and the project repository for a patched version, and upgrade beyond 1.10.1 only when an official fix is confirmed. The public PoC is at https://github.com/user-attachments/files/32834193/a1111-yaml-target-poc.zip and advisory context at https://vuldb.com/vuln/421652 and https://vuldb.com/vuln/421652/cti.
Affected VersionsENISA
Affected Packages
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
The flaw is CWE-94 code injection in AUTOMATIC1111's stable-diffusion-webui model-loading path. In modules/sd_models.py, get_obj_from_str dynamically resolves a string from model metadata/YAML into a Python class or callable and then instantiates it. A malicious model bundle can set the YAML 'target' argument to an arbitrary import path, causing the web UI process to import and invoke attacker-controlled code when the model is loaded. The CPE cpe:2.3:a:automatic1111:stable-diffusion-webui:*:*:*:*:*:*:*:* treats all versions as potentially affected and the report specifically covers up to 1.10.1; the vulnerable component is Model Instantiation. Exploitation is remote in the sense that the payload is distributed with model files, but it depends on the victim loading an untrusted model/config - the assessed CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, while the supplied CVSS 4.0 vector scores 2.1 with UI:P and low impact; the independent assessment's high impact reflects that code runs in the web UI's process once the config is loaded. The public PoC ZIP (a1111-yaml-target-poc.zip) and issue 17499 illustrate the YAML 'target' attack surface.
Know when Stable Diffusion Webui 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Malicious config is network-delivered (AV:N) but requires the victim to load the model (UI:R); code injection instantiating arbitrary classes yields full code execution, so C/I/A:H.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was determined in AUTOMATIC1111 stable-diffusion-webui up to 1.10.1. Affected is the function get_obj_from_str of the file modules/sd_models.py of the component Model Instantiation. This manipulation of the argument Target causes code injection. The attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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 Stable Diffusion Webui
View allA Cross-Site WebSocket Hijacking (CSWSH) vulnerability in automatic1111/stable-diffusion-webui version 1.10.0 allows an
automatic1111/stable-diffusion-webui version 1.10.0 contains a vulnerability where the server fails to handle excessive
A Denial of Service (DoS) vulnerability was discovered in the file upload feature of automatic1111/stable-diffusion-webu
An open redirect vulnerability in automatic1111/stable-diffusion-webui version 1.10.0 allows a remote unauthenticated at
A stored cross-site scripting (XSS) vulnerability exists in automatic1111/stable-diffusion-webui version git 82a973c. Ra
Credential disclosure in AUTOMATIC1111 Stable Diffusion WebUI through version 1.10.1 exposes configured authentication c
Cross-site scripting in AUTOMATIC1111 stable-diffusion-webui (through version 1.10.1) is triggered when the Extra-Networ
Cross-site scripting in AUTOMATIC1111 stable-diffusion-webui through 1.10.1 lets an attacker inject script into the Extr
A local file inclusion vulnerability was identified in automatic1111/stable-diffusion-webui, affecting version git 82a97
EUVD-2026-103506
GHSA-g6c9-c3gc-jcqg
NVD
CVE.org
VulDB
Exploit-DB