BaseIncomplete
CWE-256Plaintext Storage of a Password
Category: auth
Description
The product stores a password in plaintext within resources such as memory or files.
Common consequences· 1
- Access Control — Gain Privileges or Assume IdentityStoring a plaintext password in a configuration file allows anyone who can read the file to access the password-protected resource. In some contexts, even storage of a plaintext password in memory is considered a security risk if the password is not cleared immediately after it is used.
Potential mitigations· 3
- [Architecture and Design]Avoid storing passwords in easily accessible locations.
- [Architecture and Design]Consider storing cryptographic hashes of passwords as an alternative to storing in plaintext.
- []A programmer might attempt to remedy the password management problem by obscuring the password with an encoding function, such as base 64 encoding, but this effort does not adequately protect the password because the encoding can be detected and decoded easily.
References
(incoming)8
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Vulnerability | CVE-2025-15113cve-2025-15113 | 0% | live |
| Vulnerability | CVE-2025-27656cve-2025-27656 | 0% | live |
| Vulnerability | CVE-2025-27662cve-2025-27662 | 0% | live |
| Vulnerability | CVE-2025-52164cve-2025-52164 | 0% | live |
| Vulnerability | CVE-2025-5893cve-2025-5893 | 0% | live |
| Vulnerability | CVE-2025-6560cve-2025-6560 | 0% | live |
| Vulnerability | CVE-2025-6561cve-2025-6561 | 0% | live |
| Vulnerability | CVE-2026-21660cve-2026-21660 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.