CWE-260: Password in Configuration File
low-riskThe product stores a password in a configuration file that might be accessible to actors who do not know the password.
Abstraction: Base
Common Consequences
Access Control
→
Gain Privileges or Assume Identity
Detection Methods
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Real-World Examples (10)
| CVE | CVSS | EPSS | KEV |
|---|---|---|---|
| CVE-2017-7925 | 9.8 | 80.4% | — |
| CVE-2017-7923 | 8.8 | 0.6% | — |
| CVE-2023-53770 | 7.5 | 0.4% | — |
| CVE-2019-3780 | 8.8 | 0.4% | — |
| CVE-2019-25465 | 7.5 | 0.3% | — |
| CVE-2023-34128 | 9.8 | 0.3% | — |
| CVE-2016-7043 | 5.9 | 0.2% | — |
| CVE-2025-33093 | 7.5 | 0.2% | — |
| CVE-2025-32111 | 8.7 | 0.2% | — |
| CVE-2025-25022 | 9.6 | 0.1% | — |
2
/ 100
low-risk
Active Threat
2/50 · Minimal
Exploit Availability
0/50 · Minimal