Skip to main content

Search Guard FLX CVE-2025-12147

MEDIUM
Information Exposure (CWE-200)
2025-10-29 security@search-guard.com
6.0
CVSS 4.0 · Vendor: search-guard
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as FLS-restricted user
  2. Delivery
    Identify object field hidden by ~rule
  3. Exploit
    Query child attributes directly
  4. Execution
    Observe query hit/no-hit responses
  5. Impact
    Infer 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (search-guard) PRIMARY 6.0 MEDIUM
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
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (search-guard).

CVSS VectorVendor: search-guard

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche commercial security plugin for Elasticsearch/OpenSearch deployments
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy