Nixpkgs security tracker

Try the new UI
Login with GitHub

Suggestion detail

Untriaged
Permalink CVE-2026-54603
8.6 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): None (N)
  • Scope (S): Changed (C)
  • Confidentiality (C): High (H)
  • Integrity (I): None (N)
  • Availability (A): None (N)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): None (N)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Changed (C)
  • Modified Integrity (MI): None (N)
  • Modified Availability (MA): None (N)
created 1 month, 4 weeks ago Activity log
  • Created suggestion
OAuth2::Client#request: Protocol-relative redirect Location overrides authority, leaking bearer Authorization to attacker host

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.

Affected products

oauth2
  • ==>= 0.4.0, < 2.0.22

Matching in nixpkgs

pkgs.oauth2c

User-friendly OAuth2 CLI

  • nixos-unstable -
  • nixos-26.05 -

pkgs.oauth2l

Simple CLI for interacting with Google API authentication

  • nixos-unstable -
    • nixos-unstable-small 1.3.5
  • nixos-26.05 -
    • nixos-26.05-small 1.3.3

pkgs.oauth2ms

XOAUTH2 compatible Office365 token fetcher

pkgs.oauth2-proxy

Reverse proxy that provides authentication with Google, GitHub, or other providers

  • nixos-unstable -
  • nixos-26.05 -

pkgs.cyrus-sasl-xoauth2

XOAUTH2 mechanism plugin for cyrus-sasl

  • nixos-unstable -
    • nixos-unstable-small 0.2
  • nixos-26.05 -
    • nixos-26.05-small 0.2

pkgs.python313Packages.python-oauth2

Framework that aims at making it easy to provide authentication via OAuth 2.0 within an application stack

  • nixos-unstable -
    • nixos-unstable-small 1.1.1
  • nixos-26.05 -
    • nixos-26.05-small 1.1.1

pkgs.python314Packages.python-oauth2

Framework that aims at making it easy to provide authentication via OAuth 2.0 within an application stack

  • nixos-unstable -
    • nixos-unstable-small 1.1.1
  • nixos-26.05 -
    • nixos-26.05-small 1.1.1

Package maintainers