ManageIQ / ManageIQ/optimist

CVE-2026-34785 (High) detected in rack-3.2.5.gem

Open Beginner friendly
#213 0 comments 0 reactions 0 assignees View on GitHub
Mend: dependency security vulnerability
Dominant language
Ruby
Stars
259
Forks
35
PR merge metrics
No merged PRs in 30d

Description

## CVE-2026-34785 - High Severity Vulnerability
Vulnerable Library - rack-3.2.5.gem

Rack provides a minimal, modular and adaptable interface for developing
web applications in Ruby. By wrapping HTTP requests and responses in
the simplest way possible, it unifies and distills the API for web
servers, web frameworks, and software in between (the so-called
middleware) into a single method call.


Library home page: https://rubygems.org/gems/rack-3.2.5.gem


Path to dependency file: /Gemfile.lock


Path to vulnerable library: /vendor/cache/rack-3.2.5.gem


Dependency Hierarchy:
- manageiq-style-1.6.0.gem (Root Library)
- :x: **rack-3.2.5.gem** (Vulnerable Library)

Found in base branch: master



Vulnerability Details



Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Static determines whether a request should be served as a static file using a simple string prefix check. When configured with URL prefixes such as "/css", it matches any request path that begins with that string, including unrelated paths such as "/css-config.env" or "/css-backup.sql". As a result, files under the static root whose names merely share the configured prefix may be served unintentionally, leading to information disclosure. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.

Publish Date: 2026-04-02

URL: CVE-2026-34785



CVSS 3 Score Details (7.5)

Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: None
- Availability Impact: None


For more information on CVSS3 Scores, click here.


Suggested Fix

Type: Upgrade version


Origin: https://github.com/advisories/GHSA-h2jq-g4cq-5ppq


Release Date: 2026-04-02


Fix Resolution: rack - 3.2.6,rack - 3.1.21,rack - 2.2.23

***
Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)

Contributor guide

Open the contributing guide

Research direction

Start with Gemfile.lock and the vendored rack-3.2.5.gem path identified in the issue, then inspect the dependency update workflow for this repository. Done means updating Rack to a patched version—3.2.6, 3.1.21, or 2.2.23 as compatible—and confirming the lockfile and vendored dependency no longer reference the vulnerable release.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.