Security Resilience

CVE-2024-12375

Path Traversal in Automatic1111 Stable-Diffusion-Webui 2024-07-27

Public PoCPath Traversal
Published
20 March 2025
Modified
30 October 2025
CVSS Score v3 6.5
Click a component to see what it means
Raw vectorCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0086 58th percentile
Risk Priority 53 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-12375 is a medium-severity Absolute Path Traversal (CWE-36) vulnerability in Automatic1111 Stable-Diffusion-Webui. Its CVSS base score is 6.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Junk Data (T1001.001); ranked in the top 42% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as LLM Application Platforms; in the Privacy and Disclosure risk domain.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and AC-3 (Access Enforcement) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

A local file inclusion vulnerability was identified in automatic1111/stable-diffusion-webui, affecting version git 82a973c. This vulnerability allows an attacker to read arbitrary files on the system by sending a specially crafted request to the application.

CWE(s)

AI Security AnalysisAI

AI Category
LLM Application Platforms
Risk Domain
Privacy and Disclosure
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Matched keywords: automatic1111, stable-diffusion-webui

Related Threats

MITRE ATT&CK Enterprise Techniques

T1001.001 Junk Data Command And Control
Adversaries may add junk data to protocols used for command and control to make detection more difficult.
T1001.003 Protocol or Service Impersonation Command And Control
Adversaries may impersonate legitimate protocols or web service traffic to disguise command and control activity and thwart analysis efforts.
T1003.002 Security Account Manager Credential Access
Adversaries may attempt to extract credential material from the Security Account Manager (SAM) database either through in-memory techniques or through the Windows Registry where the SAM database is stored.
T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1007 System Service Discovery Discovery
Adversaries may try to gather information about registered local system services.
T1010 Application Window Discovery Discovery
Adversaries may attempt to get a listing of open application windows.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-10935Same product: Automatic1111 Stable-Diffusion-Webui
CVE-2024-12374Same product: Automatic1111 Stable-Diffusion-Webui
CVE-2024-11044Same product: Automatic1111 Stable-Diffusion-Webui
CVE-2024-12074Same product: Automatic1111 Stable-Diffusion-Webui
CVE-2024-11045Same product: Automatic1111 Stable-Diffusion-Webui
CVE-2024-10831Shared CWE-36
CVE-2024-6250Shared CWE-36
CVE-2026-10044Shared CWE-36
CVE-2024-10833Shared CWE-36
CVE-2026-54202Shared CWE-36

Affected Assets

automatic1111
stable-diffusion-webui
2024-07-27

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Input validation directly stops construction of absolute paths from untrusted data before they reach file operations.

Enforced access authorizations can limit which resources are reachable even if a traversal succeeds.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 partial match
blocks

Secure SDLC practices directly require input validation and path sanitization that prevent absolute path traversal.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

blocks

A.8.25 mandates secure SDLC practices (secure requirements, checkpoints, secure coding guidelines, testing including code scans/penetration tests) that reach many path-traversal instances in custom software, but leaves a bounded remainder (e.g. third-party components, misconfigured outsourced development, or incomplete enforcement of guidelines) where the weakness can still be introduced and exploited.

blocks

Application security requirements typically mandate controls against path traversal in file-access functions.

blocks

A.8.27 mandates security-by-design principles (least privilege, default-deny, distrust-external-input, hardening, design review against attack patterns) that reach a minority slice of absolute path traversal (e.g. explicit path canonicalization rules or sandboxing), but most instances arise from ordinary string-concatenation flaws in custom code that the clause's high-level engineering principles do not themselves stop from being written or exploited.

prevents

Secure coding standards directly require neutralization of absolute path sequences in pathname construction.

finds

Security testing in development can detect absolute path traversal via static analysis and fuzzing.

References