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

CVE-2025-61780: Rack has a Possible Information Disclosure Vulnerability

October 10, 2025 (updated October 13, 2025)

A possible information disclosure vulnerability existed in Rack::Sendfile when running behind a proxy that supports x-sendfile headers (such as Nginx). Specially crafted headers could cause Rack::Sendfile to miscommunicate with the proxy and trigger unintended internal requests, potentially bypassing proxy-level access restrictions.

References

  • github.com/advisories/GHSA-r657-rxjc-j557
  • github.com/rack/rack
  • github.com/rack/rack/commit/57277b7741581fa827472c5c666f6e6a33abd784
  • github.com/rack/rack/commit/7e69f65eefe9cd2868df9f9f3b0977b86f93523a
  • github.com/rack/rack/commit/fba2c8bc63eb787ff4b19bc612d315fda6126d85
  • github.com/rack/rack/security/advisories/GHSA-r657-rxjc-j557
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-61780.yml
  • nvd.nist.gov/vuln/detail/CVE-2025-61780

Code Behaviors & Features

Detect and mitigate CVE-2025-61780 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.20, all versions starting from 3.0 before 3.1.18, all versions starting from 3.2 before 3.2.3

Fixed versions

  • 2.2.20
  • 3.1.18
  • 3.2.3

Solution

Upgrade to versions 2.2.20, 3.1.18, 3.2.3 or above.

Impact 5.8 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')
  • CWE-913: Improper Control of Dynamically-Managed Code Resources

Source file

gem/rack/CVE-2025-61780.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:26 +0000.