CVE-2025-25184: Rack::CommonLogger · Possible Log Injection
Affects rackSource GCVE Database
Public exploit available · CVSS 5.7 Medium : upgrade to 2.2.11 as a priority.
Data as of 30 Oct 2026, 16:04 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 5.7 |
|---|
- Patch
- Available – fixed in 2.2.11, 3.0.12, 3.1.10
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 12 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade rack to 2.2.11; rack to 3.0.12; rack to 3.1.10.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemsrack | Affected
| Fixed in
|
| RubyGemsrack | Affected
| Fixed in
|
| RubyGemsrack | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Update Rack to version 2.2.11, 3.0.12, or 3.1.10 or later to apply the official fix that sanitizes or properly handles usernames with newline characters in logging. No other mitigation is specified or required.
Description
CVE-2025-25184 is a log injection vulnerability in Rack::CommonLogger where specially crafted usernames containing newline characters can manipulate log entries. This occurs when usernames with CRLF characters are logged, allowing attackers to break log formats or insert fraudulent entries. The issue affects certain versions of the Rack Ruby gem and has been fixed in versions 2.2.11, 3.0.12, and 3.1.10.
References
- github.com/rack/rack/security/advisories/GHSA-7g2v-jj9q-g3rg (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-25184 (opens in a new tab)
- github.com/rack/rack/commit/074ae244430cda05c27ca91cda699709cfb3ad8e (opens in a new tab)
- github.com/rack/rack (opens in a new tab)
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-25184.yml (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00016.html (opens in a new tab)