CVE-2025-25184 in Rack
Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.11, 3.0.12, and 3.1.10, Rack::CommonLogger can be exploited by crafting input that includes newline characters to manipulate log entries. The supplied proof-of-concept demonstrates injecting malicious content into logs. When a ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Rack | Rack | < 2.2.11 ≥ 3.0.0, < 3.0.12 ≥ 3.1.0, < 3.1.10 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.11, 3.0.12, and 3.1.10, Rack::CommonLogger can be exploited by crafting input that includes newline characters to manipulate log entries. The supplied proof-of-concept demonstrates injecting malicious content into logs. When a user provides the authorization credentials via Rack::Auth::Basic, if success, the username will be put in env['REMOTE_USER'] and later be used by Rack::CommonLogger for logging purposes. The issue occurs when a server intentionally or unintentionally allows a user creation with the username contain CRLF and white space characters, or the server just want to log every login attempts. If an attacker enters a username with CRLF character, the logger will log the malicious username with CRLF characters into the logfile. Attackers can break log formats or insert fraudulent entries, potentially obscuring real activity or injecting malicious data into log files. Versions 2.2.11, 3.0.12, and 3.1.10 contain a fix.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-25184 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-247194-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| Published | 2025-02-12 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-93: CWE-93
CWE-117: CWE-117
Related attack patterns (CAPEC)
CAPEC-81 Web Server Logs Tampering via CWE-93, CWE-117
CAPEC-93 Log Injection-Tampering-Forging via CWE-117
CAPEC-15 Command Delimiters via CWE-93
CAPEC-268 Audit Log Manipulation via CWE-117
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in Rack, a web application interface for Ruby, allows attackers to inject malicious content into log files by exploiting the Rack::CommonLogger component in versions prior to 2.2.11, 3.0.12, and 3.1.10.
The attack involves crafting input with newline characters that can manipulate log entries. This can lead to unauthorized access to sensitive information stored in logs, such as authorization credentials.
Questions
What is CVE-2025-25184?
A vulnerability in Rack, a web application interface for Ruby, allows attackers to inject malicious content into log files by exploiting the Rack::CommonLogger component in versions prior to 2.2.11, 3.0.12, and 3.1.10.
What is the CVSS score for CVE-2025-25184?
CVE-2025-25184 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N. EPSS: 1.2%.
Is CVE-2025-25184 actively exploited?
No confirmed active exploitation of CVE-2025-25184 as of 2026-09-25.
How do I remediate CVE-2025-25184?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2025-25184?
CVE-2025-25184 affects Rack Rack.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Rack","product":"Rack","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.