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

Divulgation : . Versions corrigées : rack 3.1.23 et rack 3.2.8. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

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
étape actuelle
PAT
divulgation
CVSS
4.8 MEDIUM v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
11-09T21:57Z
PATcorrectif
rack 3.1.23, rack 3.2.8
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 4.8, gravité moyenne.

source cvelist · importé en masse par nday le · brut
{
  "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"
  }
}
date inconnuela source ne donne aucune date
+PATcorrectif disponible

L’avis indique les versions corrigées rack 3.1.23 et rack 3.2.8. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-2j8w-xcrc-x985 · importé en masse par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.