CVE-2023-31141: Amazon Opensearch

Medium severity, CVSS 5.9. EPSS: 0.5% probability of exploitation activity in the next 30 days.

OpenSearch is open-source software suite for search, analytics, and observability applications. Prior to versions 1.3.10 and 2.7.0, there is an issue with the implementation of fine-grained access control rules (document-level security, field-level security and field masking) where they are not correctly applied to the queries during extremely rare race conditions potentially leading to incorrect access authorization. For this issue to be triggered, two concurrent requests need to land on the same instance exactly when query cache eviction happens, once every four hours. OpenSearch 1.3.10 and 2.7.0 contain a fix for this issue.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Amazon Opensearch, before 1.3.10: fixed in 1.3.10
  • Amazon Opensearch, from 2.0.0, before 2.7.0: fixed in 2.7.0
  • Amazon Opensearch Security, before 1.3.10: fixed in 1.3.10
  • Amazon Opensearch Security, from 2.0.0, before 2.7.0: fixed in 2.7.0

Affected products

Affected packages

Published 2023-05-08. Last modified 2026-06-17.