Skip to main content

IBM Db2 CVE-2026-18166

| EUVDEUVD-2026-97772 HIGH
Improper Access Control (CWE-284)
2026-10-12 ibm GHSA-rh3c-985w-2g3c
7.7
CVSS 3.1 · Vendor: ibm
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Db2 with low-privilege credentials
  2. Exploit
    Issue crafted CREATE WRAPPER command
  3. Execution
    Bypass improper authorization check
  4. Impact
    Obtain sensitive information beyond privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a remote attacker to already hold valid authenticated Db2 credentials (PR:L) and the ability to issue the CREATE WRAPPER command, which is part of Db2's federation/wrapper feature set. Affected deployments are IBM Db2 11.5.0 through 11.5.9 and 12.1.0 through 12.1.5 for Linux, UNIX and Windows, including DB2 Connect Server. Exploitation is LIMITED by the need for pre-existing authentication and the privilege to invoke CREATE WRAPPER; it does not work against fully unauthenticated attackers and has no integrity or availability effect, making it primarily an insider or compromised-credential risk.

Impact

This is a medium-to-high priority issue grounded in a confirmed CVSS 3.1 score of 7.7 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N). The network attack vector with low complexity and no user interaction makes exploitation straightforward once the attacker holds valid credentials (PR:L), and the changed scope (S:C) with high confidentiality impact reflects that the CREATE WRAPPER federation mechanism can expose data beyond the attacker's authorized boundary. However, several real-risk signals temper this: no EPSS score was provided, the CVE is NOT listed in CISA KEV, and no public POC is indicated - so there is no public exploit identified at time of analysis. The authentication requirement (PR:L) is a meaningful limiter, as the attacker must already be a legitimate authenticated Db2 user, which reduces the pool of potential attackers to insiders or those who have already obtained credentials. There is no integrity or availability impact (I:N/A:N) - this is confidentiality-only information disclosure. Net: a genuine but not emergency priority; prioritize patching for internet-exposed or multi-tenant Db2 instances where untrusted authenticated users exist, but it does not carry the urgency of an unauthenticated or actively-exploited flaw.

Exploit ScenarioDerived

A remote attacker holding valid but low-privileged Db2 credentials connects to an affected Db2 LUW or DB2 Connect Server instance and issues a CREATE WRAPPER command. Due to improper authorization enforcement (CWE-284), the operation lets the attacker reference or access sensitive information they should not be entitled to view. No public exploit code is identified at time of analysis, and exploitation requires pre-existing authenticated access (PR:L).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 12, 2026

Authenticated users of IBM Db2 11.5.0 through 11.5.9 and 12.1.0 through 12.1.5 for Linux, UNIX and Windows (including DB2 Connect Server) can obtain sensitive information they are not authorized to see by issuing the CREATE WRAPPER command, which is improperly authorized. The vulnerability is rated CVSS 3.1 7.7 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N), so it requires a remote attacker to already hold valid Db2 credentials and the privilege to invoke CREATE WRAPPER; there is no integrity or availability impact, making this primarily an insider or compromised-credential risk rather than an unauthenticated breach vector. No public exploit code has been identified at time of analysis and the issue is not confirmed as actively exploited, but fixed code is available from IBM and should be applied, particularly in environments where federation features are enabled.

RemediationAI

Apply the vendor fix referenced in IBM's advisory at https://www.ibm.com/support/pages/node/7291606 - patch availability is confirmed by the vendor, but the exact fixed build number must be taken from that page for each 11.5.x and 12.1.x stream rather than assumed. Where immediate upgrade is not possible, reduce exposure by restricting who holds the privileges needed to run CREATE WRAPPER (typically DBADM or equivalent elevated authority plus any explicit federation grants), and audit existing grants with the Db2 authority catalog views; the trade-off is that this blocks legitimate federated-data-source deployment work until a controlled exception is granted. Review and monitor wrapper definitions and federated-server activity for unexpected objects, and rotate credentials for accounts that held CREATE WRAPPER authority at any point during the exposure window, since the flaw exposes information to those accounts. Because exploitation requires valid credentials and network reachability, tightening network access to the Db2 instance listener (default port 50000) and to Db2 Connect gateways to trusted hosts only adds meaningful defense in depth but does not substitute for patching authenticated insiders. No public exploit code has been identified, so there is no confirmed indicator set to hunt against beyond unauthorized wrapper creation events in the database audit log, which should be enabled if it is not already.

Affected VersionsENISA

DB2 12.1.0 ≤12.1.5
DB2 11.5.0 ≤11.5.9

Affected Packages

euvd db2 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CREATE WRAPPER is part of IBM Db2's federated-server (federation) feature set, used to register a wrapper module that lets a Db2 instance access external or non-native data sources. The flaw is classified as CWE-284 (Improper Access Control): the authorization check governing who may create or interact with a wrapper is insufficient, allowing a user who already has a valid Db2 session and the relevant command privilege to read information that should be restricted to higher-privileged accounts. The CVSS vector changes scope (S:C), reflecting that the authorization failure inside the database engine can expose data beyond the component's own security boundary, and the confidentiality rating is High (C:H) while integrity and availability are unaffected. Db2 Connect Server is explicitly in scope, meaning gateway deployments that broker mainframe connectivity are also affected. The core architectural weakness is an authorization boundary that assumes command-level privilege implies data-level entitlement, which does not hold for the wrapper subsystem.

Know when Db2 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (ibm) PRIMARY 7.7 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 7.7 HIGH

Authenticated remote user (PR:L) with low complexity triggers improper authorization to read data beyond its authorized boundary (S:C, C:H); no integrity or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (ibm).

CVSS VectorVendor: ibm

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.5 for Linux, UNIX and Windows (includes DB2 Connect Server) could allow a remote authenticated attacker to obtain sensitive information due to improper authorization when using the CREATE WRAPPER command.

Executive ViewAI

Why It Matters

IBM Db2 (versions 11.5.0-11.5.9 and 12.1.0-12.1.5 on Linux, UNIX and Windows, including Db2 Connect Server) contains an authorization flaw that lets a user with valid database credentials read sensitive information they should not be able to access. Because the attacker must already hold legitimate Db2 credentials and the CREATE WRAPPER privilege, the realistic exposure is insider misuse or abuse of compromised accounts rather than an external break-in, and the impact is limited to confidentiality. Leadership should care because regulated or customer data could be exposed without any integrity or availability symptoms, meaning the activity may go unnoticed by existing availability monitoring.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
High
IBM Db2 is a widely deployed enterprise database across LUW platforms
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Db2

View all
CVE-2012-4826 HIGH
8.5 Oct 20

Stack-based buffer overflow in the SQL/PSM (aka SQL Persistent Stored Module) Stored Procedure (SP) infrastructure in IB

CVE-2017-1297 HIGH POC
7.3 Jun 27

IBM DB2 for Linux, UNIX and Windows 9.2, 10.1, 10.5, and 11.1 (includes DB2 Connect Server) is vulnerable to a stack-bas

CVE-2014-3094 HIGH
8.5 Sep 04

Stack-based buffer overflow in IBM DB2 9.7 through FP9a, 9.8 through FP5, 10.1 through FP4, and 10.5 before FP4 on Linux

CVE-2012-1797 CRITICAL
10.0 Mar 20

IBM DB2 9.5 uses world-writable permissions for nodes.reg, which has unspecified impact and attack vectors. Rated critic

CVE-2026-10109 CRITICAL
9.8 Jun 30

Remote code execution in IBM Db2 11.5.0-11.5.9 and 12.1.0-12.1.4 lets unauthenticated network attackers run arbitrary co

CVE-2026-10543 CRITICAL
9.8 Aug 12

Privilege escalation in IBM Db2 (data server versions 11.5.0-11.5.9 and 12.1.0-12.1.5) allows an attacker to submit a sp

CVE-2026-10534 CRITICAL
9.8 Aug 12

Memory-corruption in IBM Db2's IXF file IMPORT parser lets an attacker supply a crafted IXF data file that overflows a s

CVE-2012-2197 HIGH
7.1 Jul 25

Stack-based buffer overflow in the Java Stored Procedure infrastructure in IBM DB2 9.1 before FP12, 9.5 through FP9, 9.7

CVE-2012-3324 CRITICAL
9.0 Sep 25

Directory traversal vulnerability in the UTL_FILE module in IBM DB2 and DB2 Connect 10.1 before FP1 on Windows allows re

CVE-2018-1426 CRITICAL
9.1 Mar 22

IBM GSKit (IBM DB2 for Linux, UNIX and Windows 9.7, 10.1, 10.5, and 11.1) duplicates the PRNG state across fork() system

CVE-2012-0711 HIGH
7.5 Mar 20

Integer signedness error in the db2dasrrm process in the DB2 Administration Server (DAS) in IBM DB2 9.1 through FP11, 9.

CVE-2013-6744 HIGH
8.5 May 30

The Stored Procedure infrastructure in IBM DB2 9.5, 9.7 before FP9a, 10.1 before FP3a, and 10.5 before FP3a on Windows a

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy