CVE-2022-0725
High · 7.5CVSS
7.5
EPSS
2.8%
Published
Mar 10, 2022
CISA due date
—
Cloudanix analysis
A password manager program writes passwords into system logs where anyone who can read those logs can see them.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The application writes user-supplied passwords in plaintext directly into system log files accessible to local users and processes.
Why it matters to the business
Organizations face exposure of credentials stored or entered in the affected password manager, enabling unauthorized access to accounts and increasing breach risk, especially given the issue's persistence more than four years after disclosure and slight rise in exploit likelihood.
How an attack unfolds
An attacker with local access to a system running the vulnerable application reads the system logs to extract any passwords that were captured during normal use; no remote exploitation or authentication is required.
How to fix it
Upgrade affected KeePass installations to a version that stops plaintext password logging; where no fixed package versions are published, disable or redirect verbose logging and restrict log file permissions until a patch is available.
How to confirm the fix worked
Review application and system logs after upgrade or configuration change to confirm no passwords appear; test by entering sample credentials and inspecting log output for absence of sensitive data.
Typical attack path
- Gain local filesystem or log access on a host running the affected software
- Locate system or application log files
- Search logs for plaintext password strings
- Reuse extracted credentials against target accounts or services
How to detect it
Search system and application log files for entries containing password data generated by the vulnerable software; review historical logs for any plaintext credential artifacts since publication.
- password=.* in keepass or system logs
- plaintext credential strings in /var/log/ or application log directories
What your security team should do
- Treat as high-priority information disclosure and restrict log access immediately
- Audit all deployments of the affected password manager across the environment
- Implement centralized logging with sensitive-data redaction rules
- Monitor EPSS trend and re-evaluate if exploit code appears
The record
A flaw was found in keepass. The vulnerability occurs due to logging the plain text passwords in system log and leads to an Information Exposure vulnerability. This flaw allows an attacker to interact and read sensitive passwords and logs.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:16.04:LTS | keepass2 | 0 | No fix |
| Ubuntu:18.04:LTS | keepass2 | 0 | No fix |
| Ubuntu:20.04:LTS | keepass2 | 0 | No fix |
| Ubuntu:22.04:LTS | keepass2 | 0 | No fix |
| Ubuntu:24.04:LTS | keepass2 | 0 | No fix |
| Ubuntu:24.10 | keepass2 | 0 | No fix |
| Ubuntu:25.04 | keepass2 | 0 | No fix |
| Ubuntu:25.10 | keepass2 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | keepass2 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | keepass2 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | keepass2 | 0 | No fix |
Related vulnerabilities
- CVE-2026-16648 Insertion of Sensitive Information into Log File vulnerability in Drupal Mailer Plus Log… CWE-532
- CVE-2026-104872 OpenTelemetry JavaScript Contrib provides instrumentation libraries for collecting… CWE-532
- CVE-2026-81870 OpenTelemetry-Go is the Go implementation of OpenTelemetry. CWE-532
- CVE-2026-87993 The consul-template library is vulnerable to an information disclosure issue in its error… CWE-532
- CVE-2026-80169 Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions… CWE-532
- CVE-2026-79966 Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions… CWE-532
- CVE-2026-86597 Insertion of sensitive information into log files in the Snowflake Python, Go, JDBC… CWE-532
- CVE-2026-86501 In JetBrains IntelliJ IDEA before 2026.2.2 terminal command input could be written to… CWE-532