🎯 New Report #3694007: Authenticated Elasticsearch Painless script execution via Query.search.sort query on hackerone.com/graphql
🔺Severity: High
👽 Reporter: brumbelow
⭐️ Reputation: 753
🛠 State: resolved
💼 Team: HackerOne
💵 Bounty: 7000
🕐 Submitted: 2026-04-24
⏰ Disclosed: 2026-06-17 14:17:26
📝 Summary: The GraphQL query on hackerone.com/graphql allowed authenticated users to execute arbitrary Painless scripts through the sort query argument, without server-side validation or allowlisting. This was confirmed by submitting requests with different Painless script payloads, and observing that the script's return value determined the document ordering in the search results.
📂 Report JSON File: 3694007
@hackeronereports
Post #783
62