{"answers":{"affected":"4 open source packages ship an affected version, including org.opensearch.plugin:opensearch-security.","exploited":"There is no known exploitation of GHSA-22vx-2x23-98w6 in the wild and no public exploit code.","fix":"Upgrade org.opensearch.plugin:opensearch-security to a fixed version for your release line: 2.19.4.0 or 3.2.0.0.","what":"GHSA-22vx-2x23-98w6 is a missing authorization vulnerability in org.opensearch.plugin:opensearch-security, published on 7 May 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-22vx-2x23-98w6 and fix it if it is affected.\n\nWhat it is: GHSA-22vx-2x23-98w6 is a missing authorization vulnerability in org.opensearch.plugin:opensearch-security, published on 7 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-22vx-2x23-98w6 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.opensearch.plugin:opensearch-security (Maven): affected from 1.0.0; fixed in 2.19.4.0\n- org.opensearch.plugin:opensearch-security (Maven): affected from 1.0.0; fixed in 2.19.4.0\n- org.opensearch.plugin:opensearch-security (Maven): affected from 3.0.0; fixed in 3.2.0.0\n- org.opensearch.plugin:opensearch-security (Maven): affected from 3.0.0; fixed in 3.2.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-22vx-2x23-98w6/ (Markdown: https://insights.sbomify.com/GHSA-22vx-2x23-98w6/index.md)","id":"GHSA-22vx-2x23-98w6","markdown":"https://insights.sbomify.com/GHSA-22vx-2x23-98w6/index.md","name":"GHSA-22vx-2x23-98w6","record":{"aliases":[],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenSearch security plugin","requires_auth":"low_privilege","summary":"Users with rollover permissions can create unauthorized indices by bypassing access controls on target index names.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### 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.","ecosystems":["Maven"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"OpenSearch vulnerable to improper authorization for Rollover Requests","id":"GHSA-22vx-2x23-98w6","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"Maven","fixed":["2.19.4.0"],"introduced":["1.0.0"],"last_affected":[],"package":"org.opensearch.plugin:opensearch-security","purl":null,"source":"GHSA-22vx-2x23-98w6"},{"ecosystem":"Maven","fixed":["2.19.4.0"],"introduced":["1.0.0"],"last_affected":[],"package":"org.opensearch.plugin:opensearch-security","purl":"pkg:maven/org.opensearch.plugin/opensearch-security","source":"GHSA-22vx-2x23-98w6"},{"ecosystem":"Maven","fixed":["3.2.0.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.opensearch.plugin:opensearch-security","purl":null,"source":"GHSA-22vx-2x23-98w6"},{"ecosystem":"Maven","fixed":["3.2.0.0"],"introduced":["3.0.0"],"last_affected":[],"package":"org.opensearch.plugin:opensearch-security","purl":"pkg:maven/org.opensearch.plugin/opensearch-security","source":"GHSA-22vx-2x23-98w6"}],"products":null,"published":"2026-05-07","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Users with rollover permissions can create unauthorized indices by bypassing access controls on target index names.","url":"https://insights.sbomify.com/GHSA-22vx-2x23-98w6/"}