CVE catalog

CVE-2025-27610

Rack vulnerabilities

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.17% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-racksid3.2.7-1fixed
Debianruby-rackforky3.2.7-1fixed
Debianruby-racktrixie3.1.20-0+deb13u1fixed
Debianruby-racktrixie-security3.1.20-0+deb13u2fixed
Debianruby-rackbookworm2.2.22-0+deb12u1fixed
Debianruby-rackbookworm-security2.2.22-0+deb12u2fixed
Ubunturuby-racknoble2.2.7-1ubuntu0.2fixed
Ubunturuby-rackpro2.1.4-3vulnerable
Ubunturuby-rackpro2.1.4-4vulnerable
Ubunturuby-rackpro2.1.4-5vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1+esm2vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1+esm3vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1+esm4vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1+esm5vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1.1vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1.1+esm1fixed
Ubunturuby-rack24.042.2.4-3vulnerable
Ubunturuby-rack24.042.2.7-1vulnerable
Ubunturuby-rack24.042.2.7-1ubuntu0.1vulnerable
Ubunturuby-rack24.042.2.7-1ubuntu0.2fixed
Ubunturuby-rack25.102.2.7-1.1vulnerable
Ubunturuby-rack25.103.1.16-0.1fixed
Ubunturuby-rack26.043.1.16-0.1fixed
Opensuserubygem-rack-2.2tumbleweed2.2.13-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-racksourcesid3.1.12-1not yet assignedNot reported[1100444]
Debianruby-racksourceforky3.1.12-1not yet assignedNot reported[1100444]
Debianruby-racksourcetrixie3.1.12-1not yet assignedNot reported[1100444]
Debianruby-racksourcebookworm2.2.13-1~deb12u1not yet assignedNot reported[1100444]
Ubunturuby-rackdebnoble2.2.7-1ubuntu0.2Not reportedNot reportedNot reported
Ubunturuby-rackdebpro2.1.4-5ubuntu1.1+esm1Not reportedUBUNTU-CVE-2025-27610Not reported
Ubunturuby-rackdeb24.042.2.7-1ubuntu0.2Not reportedUBUNTU-CVE-2025-27610Not reported
Ubunturuby-rackdeb25.103.1.16-0.1Not reportedUBUNTU-CVE-2025-27610Not reported
Ubunturuby-rackdeb26.043.1.16-0.1Not reportedUBUNTU-CVE-2025-27610Not reported
Opensuserubygem-rack-2.2rpmtumbleweed2.2.13-1.1Not reportedOPENSUSE-SU-2025:14876-1Not reported

[Debian bug #1100444]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [rubygem-rack-2.2]

    Details (1)
    • 2.2.23-1.3 · x86_64 · tumbleweed

      Unknown · Fixed: 2.2.13-1.1

      Version impact unknown

      usn · rubygem-rack-2.2 · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [ruby-rack]Fixed
    Details (4)
    • 2.2.22-0+deb12u1 · all · bookworm

      Fixed · Fixed: 2.2.13-1~deb12u1

      usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12

    • 2.2.22-0+deb12u1 · all · bookworm

      Fixed · Fixed: 2.2.13-1~deb12u1

      usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12

    • 2.2.22-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 2.2.13-1~deb12u1

      usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12

    • 2.2.22-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 2.2.13-1~deb12u1

      usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12

[Debian 13 (Trixie)]

  • [ruby-rack]Fixed
    Details (5)
    • 3.1.20-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.1.12-1

      usn · ruby-rack · debian · 13

    • 3.1.20-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.1.12-1

      usn · ruby-rack · debian · 13

    • 3.1.20-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.1.12-1

      usn · ruby-rack · debian · 13

    • 3.1.20-0+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 3.1.12-1

      usn · ruby-rack · debian · 13

    • 3.1.20-0+deb13u2 · all · trixie-security

      Fixed · Fixed: 3.1.12-1

      usn · ruby-rack · debian · 13

Observed:

References