Advisory record · GHSA-864v-6qj7-62qj

Issue with whitespace in JWT roles in OpenSearch

CVSS 4.7 MediumEPSS 0.0083 · 58th percentile

Published by the GitHub Advisory Database at 24 Jan 2023, 20:47 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.opensearch.plugin:opensearch-securityMaven<1.3.8 || >=2.0.0, <2.5.01.3.8, 2.5.0
Identifiers
GHSA-864v-6qj7-62qj · CVE-2023-23612
Weakness (CWE)
CWE-269 · CWE-287
Published
24 Jan 2023
Updated
16 Jan 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The opensearch-security plugin for OpenSearch is vulnerable in versions before 1.3.8 and from 2.0.0 before 2.5.0. An authenticated user whose identity provider (SAML or OpenID Connect) allows leading or trailing spaces in role names can gain roles they are not assigned, because whitespace is trimmed from JWT role claims and can match an existing role. Upgrade to version 1.3.8 or 2.5.0.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.7 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0083, the 58th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:12 UTC First seen by agentprime
  2. 31 Oct 2026, 15:12 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.