Description
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.
Published: 2026-10-18
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Apply Patch
AI Analysis

Impact

The vulnerability resides in the get_obj_from_str function within the Model Instantiation component of AUTOMATIC1111 stable‑diffusion‑webui. By supplying a specially crafted Target string, an attacker can inject code that the function evaluates, enabling arbitrary code execution. The flaw is a classic code‑injection and string‑to‑object misuse, captured as CWE‑74 and CWE‑94. Successful exploitation would give the attacker control over the host system running the web UI, compromising confidentiality, integrity, and availability.

Affected Systems

The issue affects all releases of stable‑diffusion‑webui numbered 1.10.1 or earlier. Any deployment of AUTOMATIC1111’s web UI that uses the default configuration and exposes the Model Instantiation endpoint to unauthenticated users is potentially impacted. The affected product is the stable‑diffusion‑webui component, version up to 1.10.1.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. EPSS data is not available, and the vulnerability is not yet listed in CISA’s KEV catalog. The attack vector is remote; an attacker simply needs network access to the web UI to send a malicious Target parameter. Because the exploit has been publicly disclosed and the vendor has not yet released a fix, the risk remains significant until a patch is applied or mitigation measures are in place.

Generated by OpenCVE AI on October 18, 2026 at 14:50 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Restrict access to the Model Instantiation endpoint to trusted IP addresses or authenticated users.
  • Upgrade to a version newer than 1.10.1 once the vendor releases a fix; monitor the project’s issue tracker for updates.
  • If no patch is available, manually modify get_obj_from_str to validate or whitelist Target values, preventing code evaluation of untrusted input.

Generated by OpenCVE AI on October 18, 2026 at 14:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 13:15:00 +0000

Type Values Removed Values Added
Description 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.
Title AUTOMATIC1111 stable-diffusion-webui Model Instantiation sd_models.py get_obj_from_str code injection
First Time appeared Automatic1111
Automatic1111 stable-diffusion-webui
Weaknesses CWE-74
CWE-94
CPEs cpe:2.3:a:automatic1111:stable-diffusion-webui:*:*:*:*:*:*:*:*
Vendors & Products Automatic1111
Automatic1111 stable-diffusion-webui
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': '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'}


Subscriptions

Automatic1111 Stable-diffusion-webui
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-10-18T13:00:16.340Z

Reserved: 2026-10-17T21:49:39.566Z

Link: CVE-2026-111986

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T13:16:35.920

Modified: 2026-10-18T13:16:35.920

Link: CVE-2026-111986

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T15:00:11Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')