CVE-2026-4158: KeePassXC - Privilege Escalation
- Cve: CVE-2026-4158
- Name: KeePassXC - Privilege Escalation
- 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.
- Impact: Local attackers can escalate privileges and execute arbitrary code, potentially gaining full control of the KeePassXC process.
- Remediation: Update to the latest version with fixed OpenSSL configuration handling.
- Vulnerability type: misconfiguration
- Vulnerability impact: privilege_escalation, remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker must have ability to execute low-privileged code on the target system
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.3
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00215
- Epss percentile: 0.11942
- Assignee: [email protected]
- Published at: 2026-04-11T01:16:17Z
- Age in days: 227
- Modified at: 2026-06-17T10:56:04Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-4158
- Nvd status: awaiting_analysis
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-427 | Uncontrolled Search Path Element |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/keepassxreboot/keepassxc/security/advisories/GHSA-4gr2-cr97-q9fx | nvd | |
| https://www.zerodayinitiative.com/advisories/ZDI-26-215/ | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| keepassxreboot/keepassxc | security_advisory | yes | /v1/repositories/keepassxreboot/keepassxc |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts