← Back to CVE Explorer

CVE-2026-54603

Full vulnerability record from the local CVENow database.

Description

OAuth2 is a Ruby wrapper for the OAuth 2.0 and 2.1 authorization frameworks, including OpenID Connect (OIDC). From 0.4.0 to 2.0.21, a protocol-relative redirect Location returned to OAuth2::Client#request overrides the request authority, so the bearer Authorization header is sent to an attacker-controlled host, leaking the credential. This issue is fixed in version 2.0.22.

Severity
HIGH
CVSS score
8.6 (v3.1)
Vulnerability status
Awaiting Analysis
Source identifier
Published
2026-07-28 17:16:52.227000
Last modified
2026-10-23 23:10:00.157000
View original CVE JSON
{
  "id": "CVE-2026-54603",
  "sourceIdentifier": "[email protected]",
  "published": "2026-07-28T17:16:52.227",
  "lastModified": "2026-10-23T23:10:00.157",
  "vulnStatus": "Awaiting Analysis",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "OAuth2 is a Ruby wrapper for the OAuth 2.0 and 2.1 authorization frameworks, including OpenID Connect (OIDC). From 0.4.0 to 2.0.21, a protocol-relative redirect Location returned to OAuth2::Client#request overrides the request authority, so the bearer Authorization header is sent to an attacker-controlled host, leaking the credential. This issue is fixed in version 2.0.22."
    },
    {
      "lang": "es",
      "value": "OAuth2 es un wrapper de Ruby para los marcos de autorización OAuth 2.0 y 2.1, incluyendo OpenID Connect (OIDC). Desde la versión 0.4.0 hasta la 2.0.21, una ubicación de redirección relativa al protocolo devuelta a OAuth2::Client#request anula la autoridad de la solicitud, por lo que el encabezado de autorización del portador se envía a un host controlado por un atacante, filtrando la credencial. Este problema está solucionado en la versión 2.0.22."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "ruby-oauth",
          "product": "oauth2",
          "versions": [
            {
              "version": ">= 0.4.0, < 2.0.22",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N",
          "baseScore": 8.6,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "NONE",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 4.0
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-29T13:51:29.506941Z",
          "id": "CVE-2026-54603",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-200"
        },
        {
          "lang": "en",
          "value": "CWE-601"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/ruby-oauth/oauth2/commit/0f0a474f1b38453e119e660c2daca742d4378ce9",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.22",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/ruby-oauth/oauth2/security/advisories/GHSA-pp92-crg2-gfv9",
      "source": "[email protected]"
    },
    {
      "url": "https://lists.debian.org/debian-lts-announce/2026/10/msg00014.html",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://github.com/ruby-oauth/oauth2/security/advisories/GHSA-pp92-crg2-gfv9",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}