GHSA-2rjv-cv85-xhgm
OpenSearch unauthorized data access on fields protected by field level security if field is a member of an object
GHSA-2rjv-cv85-xhgm is a medium vulnerability (CVSS 5.7) in org.opensearch.plugin:opensearch-security, published August 1, 2025. No source lists public exploit code. Fixed in org.opensearch.plugin:opensearch-security 2.19.3.0.
- Severity
- 5.7 MediumCVSS 3.1, GitHub Advisories
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
2.19.3.0org.opensearch.plugin:opensearch-security +1 more
Description
Impact
OpenSearch versions 2.19.2 and earlier improperly apply Field Level Security (FLS) rules on fields which are not at the top level of the source document tree (i.e., which are members of a JSON object).
If an FLS exclusion rule (like ~object) is applied to an object valued attribute in a source document, the object is properly removed from the _source document in search and get results. However, any member attribute of that object remains available to search queries. This allows to reconstruct the original field contents using range queries.
Patches
The issue has been resolved in OpenSearch 3.0.0 and OpenSearch 2.19.3.
Workarounds
If FLS exclusion rules are used for object valued attributes (like ~object), add an additional exclusion rule for the members of the object (like ~object.*).
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.opensearch.plugin:opensearch-securityMaven | before 2.19.3.0 | 2.19.3.0 |
org.opensearch.plugin:opensearch-securityMaven | before 2.19.3.0, plus listed versions 2.1.0.02.10.0.02.11.0.02.11.1.02.12.0.0 Show 20 moreShow less2.13.0.02.14.0.02.15.0.02.16.0.02.17.0.02.17.1.02.18.0.02.19.0.02.19.1.02.19.2.02.2.0.02.2.1.02.3.0.02.4.0.02.4.1.02.5.0.02.6.0.02.7.0.02.8.0.02.9.0.0 | 2.19.3.0 |
What each source reports
GitHub Advisories Score used 5.7
OpenSearch unauthorized data access on fields protected by field level security if field is a member of an object
Impact
OpenSearch versions 2.19.2 and earlier improperly apply Field Level Security (FLS) rules on fields which are not at the top level of the source document tree (i.e., which are members of a JSON object).
If an FLS exclusion rule (like ~object) is applied to an object valued attribute in a source document, the object is properly removed from the _source document in search and get results. However, any member attribute of that object remains available to search queries. This allows to reconstruct the original field contents using range queries.
Patches
The issue has been resolved in OpenSearch 3.0.0 and OpenSearch 2.19.3.
Workarounds
If FLS exclusion rules are used for object valued attributes (like ~object), add an additional exclusion rule for the members of the object (like ~object.*).
- Record
GHSA-2rjv-cv85-xhgm- 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 - Weakness
- CWE-200
- Updated
- 2026-11-02
OSV 5.7
OpenSearch unauthorized data access on fields protected by field level security if field is a member of an object
Impact
OpenSearch versions 2.19.2 and earlier improperly apply Field Level Security (FLS) rules on fields which are not at the top level of the source document tree (i.e., which are members of a JSON object).
If an FLS exclusion rule (like ~object) is applied to an object valued attribute in a source document, the object is properly removed from the _source document in search and get results. However, any member attribute of that object remains available to search queries. This allows to reconstruct the original field contents using range queries.
Patches
The issue has been resolved in OpenSearch 3.0.0 and OpenSearch 2.19.3.
Workarounds
If FLS exclusion rules are used for object valued attributes (like ~object), add an additional exclusion rule for the members of the object (like ~object.*).
- Record
GHSA-2rjv-cv85-xhgm- 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 - Weakness
- CWE-200
- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.