GHSA-22vx-2x23-98w6: Opensearch security OpenSearch Vulnerable To Improper Authorization Vulnerability

LOW
CVSS 2.2
CWE-863
Published
Advisory Summary

GHSA-22vx-2x23-98w6 is a LOW (CVSS 2.2) opensearch vulnerable to improper authorization vulnerability (CWE-863: Incorrect Authorization) affecting Opensearch security libraries in the Maven ecosystem. The issue involves opensearch vulnerable to improper authorization for rollover requests. Remediation is available by upgrading affected packages to version 2.19.4.0, 3.2.0.0.

GHSA-22vx-2x23-98w6 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-22vx-2x23-98w6
Severity LOW
CVSS v3.1 Base Score 2.2
CWE Classification CWE-863: Incorrect Authorization
Affected Product Opensearch security
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 2.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-22vx-2x23-98w6

To remediate this vulnerability, upgrade all affected Opensearch security dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.opensearch.plugin:opensearch-security fixed: 2.19.4.0
<dependency>
    <groupId>org.opensearch.plugin</groupId>
    <artifactId>opensearch-security</artifactId>
    <version>2.19.4.0</version>
</dependency>
org.opensearch.plugin:opensearch-security fixed: 3.2.0.0
<dependency>
    <groupId>org.opensearch.plugin</groupId>
    <artifactId>opensearch-security</artifactId>
    <version>3.2.0.0</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.opensearch.plugin

How to Check if You Are Affected

To determine whether your Java application is affected by GHSA-22vx-2x23-98w6, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.opensearch.plugin

Analyze the terminal output to locate any version of Opensearch security in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.19.4.0), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.opensearch.plugin command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Opensearch security, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Description A flaw was identified in the OpenSearch Security plugin's handling of index rollover requests. When a rollover request included an explicit target index name, the security plugin did not properly evaluate access control permissions against the target index. This could allow a user with rollover permissions on a source index to create a new index with a name they are not authorized to use. ### Impact A user with `indices:admin/rollover` permission on a source index pattern could roll over to a target index name outside their authorized index patterns. This is limited to index creation via the rollover API and requires the user to already have rollover privileges on the source index. ### Patches This issue is fixed in OpenSearch 2.19.4 and 3.2.0 ### Workarounds Grant the `indices:admin/rollover` permission only to fully trusted users.

GHSA-22vx-2x23-98w6 Affected Opensearch security Versions

2 component(s)
Fixed Versions:
2.19.4.03.2.0.0
Product / Package Ecosystem Affected Versions Fixed Version
org.opensearch.plugin:opensearch-security
Maven
≥ 1.0.0
< 2.19.4.0
2.19.4.0
org.opensearch.plugin:opensearch-security
Maven
≥ 3.0.0
< 3.2.0.0
3.2.0.0

References

Frequently Asked Questions

What is GHSA-22vx-2x23-98w6?
GHSA-22vx-2x23-98w6 is a security vulnerability in Opensearch security involving OpenSearch vulnerable to improper authorization for Rollover Requests under CWE-863: Incorrect Authorization.
Which Opensearch security versions are affected?
Affected versions include releases prior to 2.19.4.0, 3.2.0.0 across affected packages: org.opensearch.plugin:opensearch-security.
What version fixes GHSA-22vx-2x23-98w6?
Upgrading to 2.19.4.0, 3.2.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is opensearch-security affected?
Yes, org.opensearch.plugin:opensearch-security is affected in releases prior to 2.19.4.0, 3.2.0.0. Upgrade your dependency to 2.19.4.0, 3.2.0.0 or later.
What is the CVSS score of GHSA-22vx-2x23-98w6?
GHSA-22vx-2x23-98w6 has a CVSS v3.1 base score of 2.2 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with GHSA-22vx-2x23-98w6?
GHSA-22vx-2x23-98w6 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Maven dependencies for GHSA-22vx-2x23-98w6?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.opensearch.plugin'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-22vx-2x23-98w6",
  "modified" : "2026-05-07T00:08:04Z",
  "published" : "2026-05-07T00:08:04Z",
  "aliases" : [ ],
  "summary" : "OpenSearch vulnerable to improper authorization for Rollover Requests",
  "details" : "### Description\n\nA flaw was identified in the OpenSearch Security plugin's handling of index rollover requests. When a rollover request included an explicit target index name, the security plugin did not properly evaluate access control permissions against the target index. This could allow a user with rollover permissions on a source index to create a new index with a name they are not authorized to use.\n\n### Impact\n\nA user with `indices:admin/rollover` permission on a source index pattern could roll over to a target index name outside their authorized index patterns. This is limited to index creation via the rollover API and requires the user to already have rollover privileges on the source index.\n\n### Patches\n\nThis issue is fixed in OpenSearch 2.19.4 and 3.2.0\n\n### Workarounds\n\nGrant the `indices:admin/rollover` permission only to fully trusted users.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.opensearch.plugin:opensearch-security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "2.19.4.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.19.3"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.opensearch.plugin:opensearch-security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.2.0.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.1.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/opensearch-project/security/security/advisories/GHSA-22vx-2x23-98w6"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/opensearch-project/security"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-07T00:08:04Z",
    "nvd_published_at" : null
  }
}