
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-36384 is an unquoted search path vulnerability in IBM Db2 for Windows that allows a local user with filesystem access to escalate their privileges. It affects IBM Db2 versions 12.1.0 through 12.1.3 running on Windows. The vulnerability was published on January 30, 2026, with a patch made available shortly after. It carries a CVSS v3.1 base score of 7.8 (High) per NVD, and 8.4 (High) per ENISA's scoring (IBM Support, Red Hat CVE).
The root cause is classified as CWE-428 (Unquoted Search Path or Element), a well-known Windows-specific weakness where executable paths containing spaces are not enclosed in quotation marks. On Windows, if a service or process is launched using an unquoted path such as C:\Program Files\IBM\Db2\bin\db2service.exe, the OS may attempt to execute intermediate path components (e.g., C:\Program.exe) before reaching the intended binary. A local attacker with write access to a parent directory in the path can place a malicious executable at one of these intermediate locations, which will then be executed with the privileges of the Db2 service — typically SYSTEM or a high-privileged account. No user interaction is required and attack complexity is low, provided the attacker has local filesystem access (IBM Support, Red Hat CVE).
Successful exploitation allows a local attacker to execute arbitrary code with elevated privileges, potentially achieving complete system compromise. This includes unauthorized access to the Db2 database and its contents, data theft, data manipulation, and service disruption. Because the vulnerability can result in code execution at the privilege level of the Db2 service (often SYSTEM), an attacker could use this as a stepping stone for lateral movement within the environment (IBM Support).
sc qc <service_name> or wmic service get name,pathname,startmode to identify services with unquoted paths containing spaces.C:\Program Files\IBM\SQLLIB\...\db2syscs.exe).icacls or accesschk.exe to verify that the local user has write access to a parent directory in the unquoted path (e.g., C:\Program Files\IBM\ or C:\Program.exe location).C:\Program.exe or C:\Program Files\IBM.exe).C:\Program.exe, C:\Program Files\IBM.exe); modification timestamps on directories in the Db2 install path that do not align with known maintenance windows.cmd.exe, powershell.exe, net.exe) with elevated privileges; processes running as SYSTEM that are not part of the standard Db2 process tree.IBM has released a patch addressing this vulnerability; affected organizations should apply the fix referenced in IBM Support page node 7257678 for IBM Db2 versions 12.1.0 through 12.1.3 on Windows (IBM Support). As an interim workaround, administrators should restrict local filesystem write access to Db2 installation directories to trusted users and service accounts only, following the principle of least privilege. Additionally, organizations should audit all Db2-related Windows services for unquoted paths using tools like wmic service get name,pathname and monitor for unauthorized file creation in Db2 installation directories.
Heise (a German technology news outlet) covered the vulnerability, noting that root-level attacks on IBM Db2 were possible via this flaw (Heise). VulDB and infosec.exchange accounts also noted the vulnerability shortly after disclosure. Overall community reaction has been measured, consistent with the low EPSS score and absence of public exploit code.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."