Skip to content
Heist/ feed
Back to feed
High

ruby-oauth — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-54605

OAuth is a Ruby wrapper for the OAuth 1.0 and 1.0a protocols, providing clients and servers. From 0.5.5 to 1.1.5, OAuth::Consumer#token_request parses the raw Location header of a 300 to 399 redirect returned by the OAuth server and follows the redirect recursively, which can mutate the consumer's configuration and expose signed OAuth request metadata, including the Authorization header, to a cross-origin host. This issue is fixed in version 1.1.6.

Products
ruby-oauth
Affected versions
0.4.7-3, 0.5.3-1, 0.5.4-1, 0.5.4-1.1, 1.1.7-1, 1.1.8-1
Fixed versions
Not specified
CVEs
CVE-2026-54605
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:46 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-54605

core-osv · Original source

Published 28 Jul 2026, 17:16 UTC

OAuth is a Ruby wrapper for the OAuth 1.0 and 1.0a protocols, providing clients and servers. From 0.5.5 to 1.1.5, OAuth::Consumer#token_request parses the raw Location header of a 300 to 399 redirect returned by the OAuth server and follows the redirect recursively, which can mutate the consumer's configuration and expose signed OAuth request metadata, including the Authorization header, to a cross-origin host. This issue is fixed in version 1.1.6.

osv:UBUNTU-CVE-2026-54605

ruby-oauth

Fixed versions: Not specified

ruby-oauth

Fixed versions: Not specified

ruby-oauth

Fixed versions: Not specified

ruby-oauth

Fixed versions: Not specified

ruby-oauth

Fixed versions: Not specified

ruby-oauth

Fixed versions: Not specified

ruby-oauth

Fixed versions: Not specified

Complete source record
{
  "id": "20d0699ba5dd19b41aed6913abdde002a5c0a293a69f327f0f3081c74abddea2",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-54605",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-54605",
    "summary": "OAuth is a Ruby wrapper for the OAuth 1.0 and 1.0a protocols, providing clients and servers. From 0.5.5 to 1.1.5, OAuth::Consumer#token_request parses the raw Location header of a 300 to 399 redirect returned by the OAuth server and follows the redirect recursively, which can mutate the consumer's configuration and expose signed OAuth request metadata, including the Authorization header, to a cross-origin host. This issue is fixed in version 1.1.6.",
    "evidence": "osv:UBUNTU-CVE-2026-54605",
    "products": [
      {
        "name": {
          "value": "ruby-oauth",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.4.7-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ruby-oauth",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.3-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ruby-oauth",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.4-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ruby-oauth",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.4-1.1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ruby-oauth",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.4-1.1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ruby-oauth",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.4-1.1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.1.7-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.1.8-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ruby-oauth",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.4-1.1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-54605",
      "aliases": [
        "UBUNTU-CVE-2026-54605"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-oauth",
            "purl": "pkg:deb/ubuntu/ruby-oauth?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "0.4.7-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54605.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ruby-oauth",
                "binary_version": "0.4.7-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-oauth",
            "purl": "pkg:deb/ubuntu/ruby-oauth?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "0.5.3-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54605.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ruby-oauth",
                "binary_version": "0.5.3-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-oauth",
            "purl": "pkg:deb/ubuntu/ruby-oauth?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.5.4-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54605.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ruby-oauth",
                "binary_version": "0.5.4-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-oauth",
            "purl": "pkg:deb/ubuntu/ruby-oauth?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.5.4-1.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54605.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ruby-oauth",
                "binary_version": "0.5.4-1.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-oauth",
            "purl": "pkg:deb/ubuntu/ruby-oauth?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.5.4-1.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54605.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ruby-oauth",
                "binary_version": "0.5.4-1.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-oauth",
            "purl": "pkg:deb/ubuntu/ruby-oauth?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.5.4-1.1",
            "1.1.7-1",
            "1.1.8-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54605.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ruby-oauth",
                "binary_version": "1.1.8-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-oauth",
            "purl": "pkg:deb/ubuntu/ruby-oauth?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.5.4-1.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54605.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "ruby-oauth",
                "binary_version": "0.5.4-1.1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:06.989903404Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-54605"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-54605",
        "https://www.cve.org/CVERecord?id=CVE-2026-54605",
        "https://github.com/ruby-oauth/oauth/security/advisories/GHSA-prq8-7wvh-44qh"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-54605",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359313,
  "published_at": "2026-07-28T17:16:00+00:00"
}