Ruby Rack library subject to CVE-2026-22860 / CVE-2026-25500
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Label this issue](https://contributors.gitlab.com/manage-issue?action=label&projectId=278964&issueIid=591240) </details> <!--IssueSummary end--> Hello. I'm self-hosting GitLab-EE v18.9.0. My instance is periodically scanned with Tenable Nessus. A recent scan reported this finding: The version of the Rack Ruby library installed on the remote host is prior to 2.2.22, 3.x prior to 3.1.20, or 3.2.x prior to 3.2.5. It is, therefore, affected by multiple vulnerabilities: - Rack::Directory’s path check used a string prefix match on the expanded path. A request like /../root_example/ can escape the configured root if the target path starts with the root string, allowing directory listing outside the intended root. (CVE-2026-22860) - Rack::Directory generates an HTML directory index where each file entry is rendered as a clickable link. If a file exists on disk whose basename begins with the javascript: scheme (e.g. javascript:alert(1)), the generated index includes an anchor whose href attribute is exactly javascript:alert(1). Clicking this entry executes arbitrary JavaScript in the context of the hosting application. (CVE-2026-25500) I understand I cannot patch my GitLab instance myself outside of your provided package. So I'm filing this to ensure you're aware (I'm sure you probably are by now). Thank you for your time.
issue