Skip to content
OpenAdvisories
High · 7.3 CVE-2026-4158 EUVD-2026-21645

KeePassXC OpenSSL Configuration Uncontrolled Search Path Element Local Privilege Escalation Vulnerability

Published Apr 11, 2026 · Updated Apr 13, 2026 · Assigned by zdi

Description

KeePassXC OpenSSL Configuration Uncontrolled Search Path Element Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of KeePassXC. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

The specific flaw exists within the configuration of OpenSSL. The product loads configuration from an unsecured location. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of KeePassXC when run by a target user on the system. Was ZDI-CAN-29156.

Affected products

VendorProductAffectedFixed
KeePassXC KeePassXC 2.7.11 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 keepassxc No fix yet —
Ubuntu 26.04 LTS keepassxc No fix yet —
Ubuntu 25.10 keepassxc No fix yet —
Ubuntu 24.04 LTS keepassxc No fix yet —
Ubuntu 22.04 LTS keepassxc No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS keepassxc No fix yet —
Ubuntu 18.04 LTS keepassxc No fix yet —

Advisories 1

References