CVE-2026-126351 (Medium) detected in addressable-2.8.7.gem

Open Beginner friendly
#83 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
ruby
Domain
build-system

Research direction

The vulnerable gem comes in transitively through webmock, so start from the gemspec and Gemfile.lock to see which version constraint pulls addressable 2.8.7, then check whether a newer webmock or an explicit addressable floor of 2.9.1 satisfies it. Delete the stale vendor/cache/addressable-2.8.7.gem entry if it is checked in, re-resolve with bundle update addressable, and confirm bundle exec rspec still passes. Done means the lockfile resolves addressable at 2.9.1 or above and the dependency scan no longer flags the path.

Written by the indexing model from the issue text.

Description

Mend: dependency security vulnerability

CVE-2026-126351 - Medium Severity Vulnerability

Vulnerable Library - addressable-2.8.7.gem

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. It is flexible, offers heuristic parsing, and additionally provides extensive support for IRIs and URI templates.

Library home page: https://rubygems.org/gems/addressable-2.8.7.gem

Sample Path to Dependency File: /Gemfile.lock

Path to vulnerable library: /vendor/cache/addressable-2.8.7.gem

Dependency Hierarchy:

  • webmock-2.3.2.gem (Root Library)
    • ❌ addressable-2.8.7.gem (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. Prior to 2.9.1, Addressable::URI.normalize_path repeatedly scans and rewrites paths while removing only one nested dot segment per pass, producing quadratic work. URI#normalize, URI#normalized_path, URI#join, URI#==, and URI#=== inherit the behavior, so processing a sufficiently long attacker-controlled URI can consume a worker thread and cause denial of service on every Ruby implementation. URI.parse alone and code that never normalizes, compares, or joins untrusted URIs are unaffected. This issue is fixed in version 2.9.1.

Publish Date: 2026-11-12

URL: CVE-2026-126351

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.


Step up your Open Source Security Game with Mend here

Dominant language
Ruby
Stars
2
Forks
12
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ManageIQ/foreman_api_client

All issues in ManageIQ/foreman_api_client

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.