← Back to CVE Explorer

CVE-2026-47158

Full vulnerability record from the local CVENow database.

Description

Vaultwarden is a Bitwarden-compatible server written in Rust. Prior to 1.36.0, Vaultwarden's SSO authorization flow did not bind the OAuth state parameter accepted by /connect/authorize to the initiating browser session, allowed attacker-controlled PKCE parameters, and left SsoAuth records intact after failed token exchange, allowing an unauthenticated attacker to induce IdP authentication and redeem tokens for a fully authenticated session. This issue is fixed in version 1.36.0.

Severity
HIGH
CVSS score
8.3 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-15 16:16:46.200000
Last modified
2026-10-24 21:10:00.130000
View original CVE JSON
{
  "id": "CVE-2026-47158",
  "sourceIdentifier": "[email protected]",
  "published": "2026-07-15T16:16:46.200",
  "lastModified": "2026-10-24T21:10:00.130",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Vaultwarden is a Bitwarden-compatible server written in Rust. Prior to 1.36.0, Vaultwarden's SSO authorization flow did not bind the OAuth state parameter accepted by /connect/authorize to the initiating browser session, allowed attacker-controlled PKCE parameters, and left SsoAuth records intact after failed token exchange, allowing an unauthenticated attacker to induce IdP authentication and redeem tokens for a fully authenticated session. This issue is fixed in version 1.36.0."
    },
    {
      "lang": "es",
      "value": "Vaultwarden es un servidor compatible con Bitwarden escrito en Rust. Antes de la 1.36.0, el flujo de autorización SSO de Vaultwarden no vinculaba el parámetro de estado OAuth aceptado por /connect/authorize a la sesión del navegador iniciadora, permitía parámetros PKCE controlados por el atacante y dejaba los registros SsoAuth intactos después de un intercambio de tokens fallido, permitiendo a un atacante no autenticado inducir la autenticación del IdP y canjear tokens para una sesión completamente autenticada. Este problema se solucionó en la versión 1.36.0."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "dani-garcia",
          "product": "vaultwarden",
          "versions": [
            {
              "version": "< 1.36.0",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H",
          "baseScore": 8.3,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 5.5
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-15T18:04:17.054552Z",
          "id": "CVE-2026-47158",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-352"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/dani-garcia/vaultwarden/commit/d297e274a35dccd0f5d935e9d5934e0f7e9c0a87",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/dani-garcia/vaultwarden/pull/7163",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/dani-garcia/vaultwarden/releases/tag/1.36.0",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-pfp2-jhgq-6hg5",
      "source": "[email protected]"
    }
  ]
}