p PatchFirst

CVE-2026-4158

CVE-2026-4158 · KeePassXC OpenSSL Configuration Uncontrolled Search Path Element Local Privilege Escalation Vulnerability

CVSS 7.3 · High · EPSS 0.2%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="keepassxc"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • keepassxc

    Versions
    • 2.7.11: Affected

    No fix published

  • keepassxc Ubuntu 18.04 LTS

    Versions
    • 2.2.2-1
    • 2.2.3+dfsg.1-1
    • 2.2.4+dfsg.1-1
    • 2.3.0+dfsg.1-0ubuntu2
    • 2.3.1+dfsg.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • keepassxc Ubuntu 20.04 LTS

    Versions
    • 2.4.3+dfsg.1-1
    • 2.4.3+dfsg.1-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • keepassxc Ubuntu 22.04 LTS

    Versions
    • 2.6.6+dfsg.1-1~exp1
    • 2.6.6+dfsg.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • keepassxc Ubuntu 24.04 LTS

    Versions
    • 2.7.4+dfsg.1-2
    • 2.7.6+dfsg.1-1
    • 2.7.6+dfsg.1-1build2
    • 2.7.6+dfsg.1-1build3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • keepassxc Ubuntu 25.10

    Versions
    • 2.7.9+dfsg1-1
    • 2.7.10+dfsg1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • keepassxc Ubuntu 26.10

    Versions
    • 2.7.10+dfsg1-2ubuntu1
    • 2.7.10+dfsg1-2.1
    • 2.7.10+dfsg1-2.1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • keepassxc Ubuntu 26.04 LTS

    Versions
    • 2.7.10+dfsg1-1
    • 2.7.10+dfsg1-2
    • 2.7.10+dfsg1-2ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →