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

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 52% of CVEs (2026-11-30)
- Published: 2023-01-24T20:33:55.673Z
- Modified: 2026-09-10T03:49:51.742Z
- Also known as: GHSA-v3cg-7r9h-r2g6
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- opensearch-project security: >= 2.0.0, < 2.5.0; < 1.3.8
- org.opensearch.plugin:opensearch-security (Maven): before 1.3.8; from 2.0.0 before 2.5.0
- amazon opensearch: from 1.0.0 before 1.3.8; from 2.0.0 before 2.5.0

## Every score

- GitHub_M: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/opensearch-project/security/security/advisories/GHSA-v3cg-7r9h-r2g6> (third-party-advisory, web)
- <https://github.com/opensearch-project/OpenSearch/releases/tag/2.5.0> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-23613> (advisory)
- <https://github.com/opensearch-project/security> (package)

## Sources

- CVE List: [CVE-2023-23613](https://www.cve.org/CVERecord?id=CVE-2023-23613), CVE Terms of Use, modified 2025-03-10
- GitHub Advisory Database: [GHSA-v3cg-7r9h-r2g6](https://github.com/advisories/GHSA-v3cg-7r9h-r2g6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-23613](https://nvd.nist.gov/vuln/detail/CVE-2023-23613), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-23613 · Whole record: https://cve.day/CVE-2023-23613.json · Rebuilt by cve.day 2026-11-25T22:58:21.730Z
