Skip to main content

Stable Diffusion WebUI CVE-2026-111986

| EUVDEUVD-2026-103506 LOW
Code Injection (CWE-94)
2026-10-18 VulDB GHSA-g6c9-c3gc-jcqg
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Publish malicious model config
  2. Delivery
    Victim loads crafted YAML model
  3. Exploit
    get_obj_from_str instantiates attacker target
  4. Execution
    Arbitrary Python code executes
  5. Impact
    Full 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet

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

Alert me

AnalysisAIv1 – 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

stable-diffusion-webui 1.10.0
stable-diffusion-webui 1.10.1

Affected Packages

euvd stable_diffusion_webui 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

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

Vendor (VulDB) PRIMARY 2.1 MEDIUM
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
vuln.today AI 8.8 HIGH

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.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Oct 18, 2026 - 13:22 NVD
MEDIUM LOW
CVSS changed
Oct 18, 2026 - 13:22 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Oct 18, 2026 - 13:00 cve.org
LOW 2.1

DescriptionCVE.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

Prevalence
Medium
extremely popular Stable Diffusion UI but niche AI-art tooling, not enterprise-wide
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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 LOW
CISA KEV No
Public POC Yes
EPSS N/A
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
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.

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