# CVE-2023-23613: Field-level security issue with .keyword fields in OpenSearch

- Priority: **Routine**
- Reason: Not severe (CVSS 5.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-01-24 · Modified: 2025-03-10
- Aliases: UBUNTU-CVE-2023-23613, GHSA-v3cg-7r9h-r2g6
- Record: https://cvemate.com/vulnerability/CVE-2023-23613 · JSON: https://cvemate.com/vulnerability/CVE-2023-23613/json

## Description

```text
OpenSearch is an open source distributed and RESTful search engine. In affected versions there is an issue in the implementation of field-level security (FLS) and field masking where rules written to explicitly exclude fields are not correctly applied for certain queries that rely on their auto-generated .keyword fields. This issue is only present for authenticated users with read access to the indexes containing the restricted fields. This may expose data which may otherwise not be accessible to the user. OpenSearch 1.0.0-1.3.7 and 2.0.0-2.4.1 are affected. Users are advised to upgrade to OpenSearch 1.3.8 or 2.5.0. Users unable to upgrade may write explicit exclusion rules as a workaround. Policies authored in this way are not subject to this issue.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.891%, percentile 60.627%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- amazon opensearch: ≥ 1.0.0, \< 1.3.8 \| ≥ 2.0.0, \< 2.5.0
- ubuntu opensearch (Ubuntu): All versions (No fix recorded)
- org.opensearch.plugin opensearch-security (Maven): \< 1.3.8 \| ≥ 2.0.0, \< 2.5.0
- opensearch-project security: ≥ 2.0.0, \< 2.5.0 \| \< 1.3.8

## References

- <https://github.com/opensearch-project/security/security/advisories/GHSA-v3cg-7r9h-r2g6>
- <https://github.com/opensearch-project/OpenSearch/releases/tag/2.5.0>
- <https://ubuntu.com/security/CVE-2023-23613>
- <https://www.cve.org/CVERecord?id=CVE-2023-23613>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-23613>
- <https://github.com/opensearch-project/security>

---

Data as of 2026-12-05T06:32:01.425Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
