GHSA-22vx-2x23-98w6: Opensearch security OpenSearch Vulnerable To Improper Authorization Vulnerability
LOWGHSA-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
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).
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.
<dependency>
<groupId>org.opensearch.plugin</groupId>
<artifactId>opensearch-security</artifactId>
<version>2.19.4.0</version>
</dependency>
<dependency>
<groupId>org.opensearch.plugin</groupId>
<artifactId>opensearch-security</artifactId>
<version>3.2.0.0</version>
</dependency>
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
GHSA-22vx-2x23-98w6 Affected Opensearch security Versions
2 component(s)| 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?
Which Opensearch security versions are affected?
What version fixes GHSA-22vx-2x23-98w6?
Is opensearch-security affected?
What is the CVSS score of GHSA-22vx-2x23-98w6?
What CWE is associated with GHSA-22vx-2x23-98w6?
How can I check Maven dependencies for GHSA-22vx-2x23-98w6?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}