nday
CVE-2026-125109 GHSA-2j8w-xcrc-x985

Rack: Rack::Request#host_with_port (and #base_url / #url) return the raw invalid Host header — incomplete fix of CVE-2026-34835

rack / rack

に公開されました。修正済みバージョンは rack 3.1.23、rack 3.2.8 です。4 つの PoC ソースのいずれにも未掲載です。CISA KEV には現時点で未掲載です。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

remote, unauthenticated
AV:N、PR:N、UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
network
AV:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N (CVSS 3.1) from the CNA GitHub_M
RubyGems
GHSA-2j8w-xcrc-x985: rubygems packages rack
現在の段階
PAT
公開日時
CVSS 基本値
4.8 MEDIUM v3.1

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
11-09T21:57Z
PAT修正
rack 3.1.23、rack 3.2.8
ANA解析
記録なし
POCPoC
記録なし
ITW悪用
記録なし
KEVKEV
記録なし

概要

Rack is a modular Ruby web server interface. From 3.0 until 3.1.23 and 3.2.8, Rack::Request#host_with_port, #base_url, and #url can return an attacker-controlled invalid authority from Host, X-Forwarded-Host, or Forwarded: host= verbatim. Applications without an independent host allowlist that use these methods for absolute URLs, redirects, or origin-dependent checks can emit attacker-chosen delimiters, enabling redirect manipulation, string-based allowlist bypass, or unescaped markup reflection. Rails overrides these methods and is not expected to be affected. This issue is fixed in versions 3.1.23 and 3.2.8.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

イベント履歴

+DIS公開

GitHub_M が CVE レコードを公開。CVSS 基本値 4.8(警告)。

出典 cvelist · nday が に一括取り込み · 生データ
{
  "id": 8180,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-125109",
  "occurred_at": "2026-11-09T21:57:46.924Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
      "version": "3.1",
      "base_score": 4.8,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-11-10T16:17:53.102307Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-09T21:57:46.924Z",
    "assigner_short_name": "GitHub_M"
  }
}
日時不明ソースに時刻なし
+PAT修正版公開

アドバイザリ記載の修正済みバージョン:rack 3.1.23、rack 3.2.8。修正コミットへのリンクあり。アドバイザリの公開は 。修正版そのもののリリース日時は記録なし。

出典 ghsa GHSA-2j8w-xcrc-x985 · nday が に一括取り込み · 生データ
{
  "id": 18860,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-2j8w-xcrc-x985",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:03:36.174798Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-2j8w-xcrc-x985",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 4.8,
        "vector_string": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Validation of Syntactic Correctness of Input",
        "cwe_id": "CWE-1286"
      }
    ],
    "ghsa_id": "GHSA-2j8w-xcrc-x985",
    "packages": [
      {
        "name": "rack",
        "ecosystem": "rubygems",
        "first_patched_version": "3.1.23",
        "vulnerable_version_range": ">= 3.0.0, < 3.1.23"
      },
      {
        "name": "rack",
        "ecosystem": "rubygems",
        "first_patched_version": "3.2.8",
        "vulnerable_version_range": ">= 3.2.0, < 3.2.8"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/rack/rack/security/advisories/GHSA-2j8w-xcrc-x985",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-125109",
      "https://github.com/rack/rack/commit/4380381a56dc52556a436d6d794c8e18dc8b0565",
      "https://github.com/rack/rack/commit/49386f460286b7346c7003b69a839de782cc8a39",
      "https://github.com/rack/rack/releases/tag/v3.1.23",
      "https://github.com/rack/rack/releases/tag/v3.2.8",
      "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/GHSA-2j8w-xcrc-x985.yml",
      "https://github.com/advisories/GHSA-2j8w-xcrc-x985"
    ],
    "fix_commit_urls": [
      "https://github.com/rack/rack/commit/4380381a56dc52556a436d6d794c8e18dc8b0565",
      "https://github.com/rack/rack/commit/49386f460286b7346c7003b69a839de782cc8a39"
    ],
    "github_reviewed_at": "2026-11-10T19:11:28Z",
    "advisory_updated_at": "2026-11-10T19:11:29Z",
    "source_code_location": "https://github.com/rack/rack",
    "advisory_published_at": "2026-11-10T19:11:28Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究者の投稿

過去 7 日間に 0 人の研究者が言及

リストの研究者が X でこの CVE に触れた投稿です。原文のまま表示し、nday は検証していません。

リストの研究者が X でこの CVE に触れた投稿は、まだ収集していません。

Discussion

0 comments

No comments yet.