- In-house audit
- False positive
- LVE-2026-0014
SevereMD5 uses in Django marked usedforsecurity=False(LVE-2026-0014)
The standard library makes you admit “this is not cryptography”; scanners often skip that argument.
- LVE ID
- LVE-2026-0014
- Verdict
- False positive
- Affected product / version
- Django · Django (non-security digests) · c896b3e
- Published
- 2026-11-28
Description
Django’s source calls md5 in several places, which gets reported as “use of a weak cryptographic algorithm”. Those calls pass usedforsecurity=False to hashlib.
Why it is harmless
These MD5 uses are for non-security purposes such as cache keys, not for passwords, signatures or sessions.
usedforsecurity=False is an explicit declaration required by the Python standard library: this is not used as a security function.
Treating it as “broken cryptography” misreads the purpose of the call.
Location
Search for md5( calls, confirm they pass usedforsecurity=False, and read the surrounding cache-key (or similar) context.
References
Show per-metric scoring rationale
DS score and vector · Per-metric breakdownScoring rubric →
PRPrecondition / Required privilege
NNo precondition
Triggers anonymously — the hallmark of a real bug, so no penalty.
+0 / 5
IMReal impact
NNo security impact at all
No change to confidentiality, integrity or availability — filing it as a “vulnerability” is the biggest impact.
+5 / 5
EXReachability in default production config
DTriggers in default production config
Works in the out-of-the-box production setup — no penalty.
+0 / 5
PBPublicity / by design
FBy design (official “feature”)
Established project behavior that the vendor considers a feature.
+3 / 4
VBVendor / maintainer behavior
NNormal / no reply / n.a.
No extra baffling behavior — no penalty.
+0 / 4
FPFalse-positive factor
FOutright false positive
The scanner or audit tool got it wrong; the “finding” doesn’t hold up at all.
+4 / 4
Total S =12/ 41 →DS 7= min(10, 1 + ⌊S / 2⌋)
Seen something just as lame?
Fill in the form in two minutes. Once a maintainer approves it, your GitHub handle is credited on the entry — permanently.
No account on this site needed — just GitHub.