CWE-760: Use of a One-Way Hash with a Predictable Salt

low-risk

The product uses a one-way cryptographic hash against an input that should not be reversible, such as a password, but the product uses a predictable salt as part of the input.

Abstraction: Variant

Common Consequences

Access Control Bypass Protection Mechanism

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 (8)

CVE CVSS EPSS KEV
CVE-2021-38314 5.3 91.6%
CVE-2024-38881 7.5 0.3%
CVE-2024-13951 7.6 0.2%
CVE-2023-22599 7.0 0.2%
CVE-2020-28214 5.5 0.1%
CVE-2025-9290 5.9 0.0%
CVE-2018-5552 2.9 0.0%
CVE-2025-26486 6.0 0.0%
4
/ 100
low-risk
Active Threat 4/50 · Minimal
Exploit Availability 0/50 · Minimal