CVE-2026-18166 Path traversal in Db2
Privileged users can exploit improper authorization in the CREATE WRAPPER command to read sensitive files from the host filesystem.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-18166?
CVE-2026-18166 is a high-severity path traversal vulnerability in IBM Db2, published on 12 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-284
Which versions are affected by CVE-2026-18166?
How do I fix CVE-2026-18166?
No fix has been published for CVE-2026-18166 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-18166 being exploited?
There is no known exploitation of CVE-2026-18166 in the wild and no public exploit code.
Sources
Also known as GHSA-rh3c-985w-2g3c.