CVE-2025-27610

Published Mar 10, 2025

Last updated 6 months ago

Overview

AI description

Automated description summarized from trusted sources.

CVE-2025-27610 is a path traversal vulnerability found in Rack, a Ruby web server interface, specifically within the Rack::Static middleware. This vulnerability arises because Rack::Static doesn't properly sanitize user-supplied paths when serving files. This lack of sanitization allows attackers to use encoded path traversal sequences to access files outside the intended static file directory. By exploiting this vulnerability, an attacker could potentially gain unauthorized access to sensitive information, including configuration files, credentials, and other confidential data located within the specified "root" directory. To successfully exploit this, the attacker needs to be able to determine the path of the files they are trying to access.

Description
Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.13, 3.0.14, and 3.1.12, `Rack::Static` can serve files under the specified `root:` even if `urls:` are provided, which may expose other files under the specified `root:` unexpectedly. The vulnerability occurs because `Rack::Static` does not properly sanitize user-supplied paths before serving files. Specifically, encoded path traversal sequences are not correctly validated, allowing attackers to access files outside the designated static file directory. By exploiting this vulnerability, an attacker can gain access to all files under the specified `root:` directory, provided they are able to determine then path of the file. Versions 2.2.13, 3.0.14, and 3.1.12 contain a patch for the issue. Other mitigations include removing usage of `Rack::Static`, or ensuring that `root:` points at a directory path which only contains files which should be accessed publicly. It is likely that a CDN or similar static file server would also mitigate the issue.
Source
security-advisories@github.com
NVD status
Received

Risk scores

CVSS 3.1

Type
Secondary
Base score
7.5
Impact score
3.6
Exploitability score
3.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Severity
HIGH

Weaknesses

security-advisories@github.com
CWE-23

Social media

Hype score
Not currently trending
  1. Rack Ruby の脆弱性により、攻撃者に秘密が漏洩する可能性がある (CVE-2025-27610) Rack Ruby vulnerability could reveal secrets to attackers (CVE-2025-27610) #HelpNetSecurity (Apr 25) https://t.co/76b68LGfcq

    @foxbook

    29 Apr 2025

    17 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  2. Opswat , Security analysis of Rack Ruby Framework -- CVE-2025-25184, CVE-2025-27111, and CVE-2025-27610 -- https://t.co/Kfk6bRPZWf

    @AndreGironda

    28 Apr 2025

    259 Impressions

    2 Retweets

    6 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  3. Threat Alert: Rack Ruby vulnerability could reveal secrets to attackers (CVE-2025-27610) CVE-2025-27610 CVE-2025-25184 CVE-2025-27111 Severity: ⚠️ Critical Maturity: 💢 Emerging Learn more: https://t.co/fSaNyewKqd #CyberSecurity #ThreatIntel #InfoSec (1/3)

    @fletch_ai

    27 Apr 2025

    63 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    1 Reply

    0 Quotes

  4. 🔴 Tres nuevas fallas de seguridad (CVE-2025-27610, CVE-2025-27111, CVE-2025-25184) en la interfaz del servidor web Rack Ruby que, si se explotan con éxito, podrían dar acceso no autorizado a archivos, inyectar malware y alterar registros bajo ciertas condiciones. 🧉 http

    @MarquisioX

    26 Apr 2025

    27 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

  5. 🚨 Multiple vulnerabilities found in Rack Ruby web server, risking unauthorized file access and data breaches. CVE-2025-27610 allows unauthenticated sensitive data access. ⚠️ #RackRuby #DataBreach #USA link: https://t.co/zdIDOklCV1 https://t.co/9sabljI3gx

    @TweetThreatNews

    25 Apr 2025

    10 Impressions

    0 Retweets

    1 Like

    0 Bookmarks

    0 Replies

    0 Quotes

  6. 👀 Hackers could be one path away from your sensitive files! 🚨 New CVEs expose major flaws in Rack & Infodraw systems: 🔹 CVE-2025-27610 lets attackers read config files & credentials via path traversal. 🔹 Infodraw CVE-2025-43928 allows any file to be read or

    @TheHackersNews

    25 Apr 2025

    9897 Impressions

    20 Retweets

    66 Likes

    8 Bookmarks

    1 Reply

    0 Quotes

  7. Three vulnerabilities. One major wake-up call for anyone using Rack. OPSWAT’s 515 Security Team discovered critical flaws in the Ruby framework powering web apps around the world, including a path traversal vulnerability (CVE-2025-27610) that could expose sensitive files to htt

    @OPSWAT

    24 Apr 2025

    52 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  8. 🚨 CVE-2025-27610 🔴 HIGH (7.5) 🏢 rack - rack 🏗️ < 2.2.13 🔗 https://t.co/a8o8YIjBJQ 🔗 https://t.co/MZEOJr1s8y #CyberCron #VulnAlert #InfoSec https://t.co/jt2lPi0R8k

    @cybercronai

    12 Mar 2025

    19 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  9. CVE-2025-27610 Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.13, 3.0.14, and 3.1.12, `Rack::Static` can serve files under the specified `… https://t.co/Ravm8A2S3C

    @CVEnew

    10 Mar 2025

    548 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes