OpenSearch vulnerable to improper authorization for Rollover Requests

Description

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.

Basic information

Type
reviewed
Severity
low
Advisory on GitHub
Open advisory ↗
Repository advisory
Open repository advisory ↗
Source code
Browse source ↗
Published (advisory)
2026-05-07 00:08:04 UTC
Updated
2026-05-07 00:08:06 UTC
GitHub reviewed
2026-05-07 00:08:04 UTC

CVSS Scores

Base score Version Severity Vector
2.2 3.1
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.

Identifiers

Type Value
GHSA GHSA-22vx-2x23-98w6 ↗

CWEs

CWE id Name
CWE-863 Incorrect Authorization

Affected packages (2)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
maven org.opensearch.plugin:opensearch-security >= 1.0.0, <= 2.19.3 2.19.4.0
maven org.opensearch.plugin:opensearch-security >= 3.0.0, <= 3.1.0 3.2.0.0

References

cvelogic Threat Intelligence