CVE-2026-111986 AUTOMATIC1111 stable-diffusion-webui Model Instantiation sd_models.py get_obj_from_str code injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary code via the get_obj_from_str function in AUTOMATIC1111 stable-diffusion-webui.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-111986?

CVE-2026-111986 is a medium-severity code injection vulnerability in AUTOMATIC1111 stable-diffusion-webui, published on 18 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-94, CWE-74

Which versions are affected by CVE-2026-111986?

How do I fix CVE-2026-111986?

No fix has been published for CVE-2026-111986 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-111986 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-111986 exists.

Sources

Also known as GHSA-g6c9-c3gc-jcqg.

Is CVE-2026-111986 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free