BreachSpiderVerified, not vibes

CVE-2023-31141 in Amazon Opensearch and 1 more product

Medium 5.9

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 ...

Affects 2 products from 1 vendor. Facts below cite their sources.

CVSS 3.15.9
EPSS0.5%
EPSS percentile35th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Amazon Opensearch < 1.3.10 ≥ 2.0.0, < 2.7.0
Amazon Opensearch Security < 1.3.10 ≥ 2.0.0, < 2.7.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-31141
BreachSpider IDBS-2023-GLOBAL-001820-M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published2023-05-08
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-863: Incorrect Authorization

Software performs an authorization check incorrectly, allowing access beyond intended privileges.

Analysis AI-written, not human-reviewed

CVE-2023-31141 affects OpenSearch versions prior to 1.3.10 and 2.7.0, where fine-grained access control rules may not be correctly applied during rare race conditions, potentially leading to incorrect data access.

An attacker with the ability to execute queries during specific race conditions could potentially access data that they are not authorized to view due to misapplied fine-grained access control rules.

Questions

What is CVE-2023-31141?

CVE-2023-31141 affects OpenSearch versions prior to 1.3.10 and 2.7.0, where fine-grained access control rules may not be correctly applied during rare race conditions, potentially leading to incorrect data access.

What is the CVSS score for CVE-2023-31141?

CVE-2023-31141 has CVSS 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.5%.

Is CVE-2023-31141 actively exploited?

No confirmed active exploitation of CVE-2023-31141 as of 2026-09-25.

How do I remediate CVE-2023-31141?

Priority: MEDIUM. PSIRT: [email protected]

What systems are affected by CVE-2023-31141?

CVE-2023-31141 affects Amazon Opensearch, Opensearch Security.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Amazon","product":"Opensearch","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.