Search Guard FLX
CVE-2025-12147
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as FLS-restricted user
-
DeliveryIdentify object field hidden by ~rule
-
ExploitQuery child attributes directly
-
ExecutionObserve query hit/no-hit responses
-
ImpactInfer or reconstruct excluded object contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) an authenticated account with search access (PR:L); (2) an index where Field-Level Security exclusion rules (~field syntax) are applied specifically to object-valued fields; and (3) the attacker crafting and iterating search queries against the object's child attributes to infer values (AT:P). It does NOT work where FLS is unused, where excluded fields are scalar rather than objects, or where the documented workaround (adding a child-member exclusion like ~object.*) has been applied. Limited to Search Guard FLX 3.1.1 and earlier; fixed in 3.1.2. The gating authentication and the need for query-based inference substantially limit practical mass exploitation. |
| Impact | This is a genuine but moderate-severity information-disclosure flaw, not a high-urgency issue. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H) scores 6.0 (Medium): network-reachable but requiring an authenticated low-privilege account (PR:L) and an attack requirement (AT:P) because the adversary must craft iterative search queries to probe/infer the hidden object members rather than reading them directly. All signals point to low real-world urgency: EPSS is 0.27% (18th percentile), there is no CISA KEV listing, and no public exploit code was identified. The impact is confidentiality-only (VI:N/VA:N) and bounded to fields that administrators specifically chose to protect with FLS exclusion rules, so exposure depends entirely on how FLS is configured. No signals conflict here - low EPSS, absence of KEV, and the authenticated/attack-requirement gating all agree this is a configuration-dependent inference weakness, prioritize via patch cycle rather than emergency response. |
| Exploit ScenarioDerived | An authenticated user who is restricted by a Field-Level Security exclusion rule on an object-valued field (e.g. ~profile) finds that although the object is stripped from _source, its child attributes (profile.ssn, profile.salary) remain queryable. By issuing targeted search/term queries against those child fields and observing hit/no-hit responses, the attacker infers or reconstructs the protected values. No public exploit code exists, but the technique requires only ordinary search-query access and basic knowledge of the object's schema. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
Field-Level Security (FLS) exclusion rules in Search Guard FLX 3.1.1 and earlier are enforced incompletely on object-valued fields: while an excluded object is correctly stripped from the _source returned by search operations, its child attributes remain queryable, letting an authenticated user with search access infer or reconstruct the contents of the supposedly hidden object. This is a CWE-200 information-disclosure issue rated 6.0 under CVSS 4.0 and assessed as CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N (high confidentiality impact, no integrity or availability impact). There is no public exploit identified at time of analysis and the EPSS score is low (0.27%, 18th percentile), but the vendor has released a fix in Search Guard FLX 3.1.2.
RemediationAI
Upgrade to Search Guard FLX 3.1.2, which is the vendor-released patch for this issue (Vendor-released patch: Search Guard FLX 3.1.2); see https://docs.search-guard.com/latest/changelog-searchguard-flx-3_1_2 and https://search-guard.com/cve-advisory/. If an immediate upgrade is not possible and FLS exclusion rules are used on object-valued fields, apply the vendor's documented workaround by adding an explicit exclusion rule for the object's members - for example, pairing ~object with ~object.*. The trade-off is that this workaround is manual and per-field: every object-valued field must be enumerated, nested structures may need multiple wildcard rules, and an over-broad wildcard can break legitimate application functionality for consumers that are supposed to read those subfields, so it should be tested before rollout. Because exploitation requires an authenticated account with search access, additional compensating controls include restricting search roles to the minimum set of trusted users, reviewing FLS policy definitions to confirm which object-valued fields are excluded, and monitoring query and audit logs for repeated or scripted queries against child attributes of excluded fields - a pattern indicative of reconstruction attempts. Note that these are mitigations only and do not restore the confidentiality guarantee that the 3.1.2 upgrade provides.
Affected ProductsAI
Search Guard FLX versions 3.1.1 and earlier are affected; version 3.1.2 contains the fix. No CPE identifiers were supplied in the source data, so exact platform mappings must be confirmed against the vendor's own documentation. Any Elasticsearch/OpenSearch cluster running Search Guard FLX in the affected range that relies on FLS exclusion rules applied to object-valued fields (for example a rule written as ~object) is exposed. Vendor documentation is available in the changelog at https://docs.search-guard.com/latest/changelog-searchguard-flx-3_1_2 and in the advisory at https://search-guard.com/cve-advisory/, which should be consulted for the precise build and plugin-version matrix.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Search Guard FLX is the security plugin for Elasticsearch/OpenSearch clusters, providing authentication, authorization, and Field-Level Security. FLS policies use positive and exclusion rules - an exclusion rule such as ~field removes that field from documents returned to a given role. The defect is a filtering-scope error (CWE-200, exposure of sensitive information): the exclusion is applied to the _source rendering path but not to the underlying indexed child fields, so the object-valued field's members stay searchable and aggregatable. Because the vulnerability class is an inference/disclosure gap rather than a memory-safety issue, exploitation requires an authenticated principal (PR:L per the provided vector) and iterative, crafted queries against the object's subfields (AT:P) to reconstruct values. It does not affect deployments that do not use FLS, that apply exclusion rules only to scalar fields, or that have implemented the documented workaround of additionally excluding child members (e.g. ~object.*). The scope is limited to Search Guard FLX 3.1.1 and earlier; 3.1.2 corrects the enforcement. Per the authoritative independent assessment, this is a genuine but moderate-severity information-disclosure flaw, not a high-urgency issue, and the gating authentication plus query-based inference requirement substantially limits practical mass exploitation.
Know when Search Guard gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Authenticated search access (PR:L) and query-based inference of hidden object members (AC:H); confidentiality-only impact on FLS-protected fields (C:H), no integrity/availability effect.
Primary rating from Vendor (search-guard).
CVSS VectorVendor: search-guard
DescriptionCVE.org
In Search Guard FLX versions 3.1.1 and earlier, Field-Level Security (FLS) rules are improperly enforced on object-valued fields.
When an FLS exclusion rule (e.g., ~field) is applied to a field which contains an object as its value, the object is correctly removed from the _source returned by search operations. However, the object members (i.e., child attributes) remain accessible to search queries. This exposure allows adversaries to infer or reconstruct the original contents of the excluded object.
Workaround - If you cannot upgrade immediately and FLS exclusion rules are used for object valued attributes (like ~object), add an additional exclusion rule for the members of the object (like ~object.*).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Search Guard
View allSearch Guard versions before 23.1 had an issue that an administrative user is able to retrieve bcrypt password hashes of
Search Guard Kibana Plugin versions before 5.6.8-7 and before 6.x.y-12 had an issue that an authenticated Kibana user co
Search Guard versions before 23.1 had an issue that for aggregations clear text values of anonymised fields were leaked.
Search Guard versions before 24.0 had an issue that values of string arrays in documents are not properly anonymized. Ra
Search Guard versions before 24.3 had an issue when Cross Cluster Search (CCS) was enabled, authenticated users are alwa
Search Guard versions before 24.3 had an issue when Cross Cluster Search (CCS) was enabled, authenticated users can gain
Search Guard Kibana Plugin versions before 5.6.8-7 and before 6.x.y-12 had an issue that an attacker can redirect the us
Search Guard versions before 21.0 had an timing side channel issue when using the internal user database. Rated medium s
Search Guard versions before 24.0 had an issue that field caps and mapping API leak field names (but not values) for fie
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB