Cyber Resilience

CWE · MITRE source

CWE-259Use of Hard-coded Password

Abstraction: Variant · CVEs in our corpus: 194

The product contains a hard-coded password, which it uses for its own inbound authentication or for outbound communication to external components.

There are two main variations of a hard-coded password:

Last updated: 04 July 2026 00:28 UTC

Cumulative inbound coverage

How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.

Collective: mostly · 6 mapping(s) from 2 framework(s): ATT&CK 5 (mostly) · OWASP-Web 1 (mostly)

See the full cumulative-coverage rollup →

OWASP Top 10 for Web (2025)

This weakness contributes to A07:2025 Authentication Failures.

NIST 800-53 r5 controls that address this weakness (4)AI

Control Title Family Why it addresses this CWE
IA-5Authenticator ManagementIAChanging default authenticators prior to first use directly prevents use of hard-coded passwords.
PM-16Threat Awareness ProgramPMShared threat data frequently highlights products or deployments still using hard-coded passwords, enabling remediation that directly blocks credential-based attacks.
SA-21Developer ScreeningSABackground checks and authorization requirements decrease the probability that a developer will hard-code passwords for later unauthorized access.
SR-6Supplier Assessments and ReviewsSRReviews of supplier deliverables reduce the chance that hard-coded passwords are introduced into the system.

MITRE ATT&CK techniques this weakness enables

Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing). Drafted by Grok and spot-checked by Claude Opus 4.8.

Direction: other covers this; this covers other (F/M/P = full / mostly / partial).

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2023-52228.06.30.74702023-09-27
CVE-2016-93587.09.80.02132017-06-30
CVE-2017-60227.09.80.01752017-06-30
CVE-2015-39537.09.80.01972019-03-25
CVE-2014-54347.09.80.01562019-03-26
CVE-2020-120167.09.80.01862020-06-29
CVE-2020-120457.09.80.01662020-06-29
CVE-2020-120477.09.80.01662020-06-29
CVE-2021-274407.09.80.01352021-03-25
CVE-2019-108817.09.80.00992021-04-13
CVE-2021-325257.09.10.01722021-07-07
CVE-2021-227297.09.80.01752021-07-21
CVE-2021-288137.09.60.01062021-09-10
CVE-2021-384567.09.80.01112021-10-12
CVE-2021-363127.09.10.01042021-11-23
CVE-2021-346017.09.80.01012022-04-27
CVE-2017-200397.09.80.01162022-06-11
CVE-2022-302717.09.80.00872022-07-26
CVE-2022-221447.09.80.00812022-08-05
CVE-2022-416537.09.80.00702022-12-13
CVE-2022-454447.010.00.00942023-01-18
CVE-2023-26457.09.80.03152023-05-11
CVE-2023-237707.09.40.00452023-08-29
CVE-2024-28010 UPD7.09.80.00582024-03-28
CVE-2024-27488 UPD7.09.80.00632024-04-08