
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-18166 is an improper access control vulnerability in IBM Db2 that allows a remote authenticated attacker to obtain sensitive information by exploiting insufficient authorization controls in the CREATE WRAPPER command. The vulnerability affects IBM Db2 versions 11.5.0 through 11.5.9 and 12.1.0 through 12.1.5 for Linux, UNIX, and Windows, including DB2 Connect Server. It was disclosed on October 8, 2026, with IBM publishing the advisory and NVD publishing on October 12, 2026. The CVSS v3.1 base score is 7.7 (High) (IBM Advisory, GitHub Advisory).
The root cause is classified as CWE-284 (Improper Access Control), where the CREATE WRAPPER command in IBM Db2 fails to properly enforce authorization checks, enabling a privileged database user to load arbitrary libraries from the host filesystem. This mechanism allows the attacker to read sensitive files from the underlying operating system beyond the intended database scope. The attack vector is network-based, requires low privileges (a valid authenticated database account), no user interaction, and results in a scope change — meaning the impact extends beyond the database component itself to the host system (IBM Advisory, GitHub Advisory).
Successful exploitation allows a remote authenticated attacker to read sensitive files from the host filesystem by abusing the arbitrary library loading capability of the CREATE WRAPPER command. The confidentiality impact is rated High with a changed scope, meaning data outside the database — such as OS-level configuration files, credentials, or private keys — may be exposed. Integrity and availability are not directly impacted by this vulnerability (IBM Advisory, GitHub Advisory).
As of the disclosure date, there are no known public proof-of-concept exploits, no reported in-the-wild exploitation, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is 0.0, indicating a very low probability of exploitation in the near term. Exploitation requires a valid authenticated database account, which limits the attack surface compared to unauthenticated vulnerabilities (IBM Advisory, GitHub Advisory).
CREATE WRAPPER SQL statement that references a crafted or attacker-controlled shared library path on the host filesystem./etc/passwd, private keys, or application configuration files).db2diag.log) showing unexpected CREATE WRAPPER commands issued by low-privilege or unusual user accounts; audit log entries for CREATE WRAPPER SQL statements referencing non-standard library paths./etc/shadow, /etc/passwd, SSH keys) by the Db2 service account.CREATE WRAPPER activity in audit logs.IBM has released patches addressing this vulnerability; administrators should apply the relevant fix packs for their version branch (11.5.x or 12.1.x) as detailed in the IBM security bulletin. Until patching is possible, restrict CREATE WRAPPER command privileges to only highly trusted database administrators, and audit existing grants of this privilege. Review and tighten Db2 service account OS-level permissions to limit access to sensitive host filesystem paths (IBM Advisory).
The vulnerability was picked up by AUSCERT (ESB-2026.12418) shortly after IBM's disclosure, indicating standard tracking by national CERTs. No notable independent researcher commentary, social media discussion, or significant media coverage has been identified beyond routine vulnerability database aggregation (IBM Advisory).
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."