- In-house audit
- False positive
- LVE-2026-0017
SevereDefault MD5 digest in Rails ActiveSupport::Digest(LVE-2026-0017)
The digest used for an ETag is not the digest used for a user password.
- LVE ID
- LVE-2026-0017
- Verdict
- By design
- Affected product / version
- Ruby on Rails · Ruby on Rails (non-sensitive digests; new apps default to SHA256) · b5c6f8d
- Published
- 2026-11-28
Description
ActiveSupport::Digest uses MD5 when no other digest is configured. This is reported as Rails using a weak hash algorithm.
Why it is harmless
Official configuration docs state this option is for non-sensitive digests such as the ETag header, not for passwords or signatures.
From Rails 7.0 load_defaults onward, new applications default to SHA256; MD5 is only the legacy default when those defaults are not loaded.
Conflating this with password hashing is a mistake about purpose.
Location
Read the default Digest implementation in activesupport, the versioned hash_digest_class setup in railties, and the configuration guide.
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
CNeeds a non-default config
Someone must first change the configuration by hand.
+1 / 5
PBPublicity / by design
DWritten in the docs
The official docs already say so; you merely read the docs aloud.
+2 / 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.