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

Fecha de divulgación: . Versiones corregidas: rack 3.1.23 y rack 3.2.8. Ninguna de las cuatro fuentes de PoC la recoge. No figura en el KEV de CISA.

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
etapa
PAT
divulgación
cvss
4.8 MEDIUM v3.1

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
11-09T21:57Z
PATparcheada
rack 3.1.23, rack 3.2.8
ANAanalizada
sin registro aún
POCPoC
sin registro aún
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Registro de eventos

+DISdivulgación

GitHub_M publicó el registro CVE. CVSS 4.8, severidad media.

fuente cvelist · nday , importación masiva · en bruto
{
  "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"
  }
}
se desconocela fuente no indica fecha
+PATparche registrado

Versiones corregidas según el aviso: rack 3.1.23 y rack 3.2.8. El aviso enlaza los commits de la corrección. Aviso publicado el ; no consta cuándo se publicó el parche en sí.

fuente ghsa GHSA-2j8w-xcrc-x985 · nday , importación masiva · en bruto
{
  "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.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.