Uh Oh! Search Guard FLX’s Little Secret: How Object Fields Can
Field-Level Security exclusion rules in Search Guard FLX did not fully remove object-valued fields from search results, leaving child attributes accessible. An attacker could query those child attributes to piece together sensitive data that the rules were meant to hide.
Ever feel like you’ve locked all the doors, only to find a window slightly ajar? That’s kinda what’s happening with CVE-2025–12147.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the field-level security exclusion logic removed the object field from the returned source but did not recursively remove or block its child attributes from being queried.
Impact
Attackers could piece together the original content of the excluded object by querying the accessible child attributes, potentially exposing sensitive data that should have been protected by FLS rules.
What the attacker needed
Search Guard FLX 3.1.1 or earlier; FLS exclusion rule on an object field
The fix
The real fix is to upgrade to Search Guard FLX version 3.1.2 or later; if that is not possible, add additional exclusion rules for the members of the object.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Search Guard FLX is a security plugin for Elasticsearch that lets administrators hide certain fields from search results. A rule meant to hide a whole object field only hid the object itself, not the smaller pieces inside it, so those pieces could still be searched. This means data that was supposed to be secret could still leak out.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.