Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rack
  4. ›
  5. CVE-2025-27610

CVE-2025-27610: Local File Inclusion in Rack::Static

March 10, 2025 (updated November 4, 2025)

Rack::Static can serve files under the specified root: even if urls: are provided, which may expose other files under the specified root: unexpectedly.

References

  • github.com/advisories/GHSA-7wqh-767x-r66v
  • github.com/rack/rack
  • github.com/rack/rack/commit/50caab74fa01ee8f5dbdee7bb2782126d20c6583
  • github.com/rack/rack/security/advisories/GHSA-7wqh-767x-r66v
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-27610.yml
  • lists.debian.org/debian-lts-announce/2025/03/msg00016.html
  • nvd.nist.gov/vuln/detail/CVE-2025-27610

Code Behaviors & Features

Detect and mitigate CVE-2025-27610 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.2.13, all versions starting from 3.0 before 3.0.14, all versions starting from 3.1 before 3.1.12

Fixed versions

  • 2.2.13
  • 3.0.14
  • 3.1.12

Solution

Upgrade to versions 2.2.13, 3.0.14, 3.1.12 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-23: Relative Path Traversal

Source file

gem/rack/CVE-2025-27610.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:21 +0000.