Elasticsearch Improper Access Control vulnerability
        
  High severity
        
          GitHub Reviewed
      
        Published
          May 17, 2022 
          to the GitHub Advisory Database
          •
          Updated Oct 22, 2025 
      
  
Package
Affected versions
< 1.4.0.Beta1
  Patched versions
1.4.0.Beta1
  Description
        Published by the National Vulnerability Database
      Jul 28, 2014 
    
  
        Published to the GitHub Advisory Database
      May 17, 2022 
    
  
        Reviewed
      Jan 6, 2025 
    
  
        Last updated
      Oct 22, 2025 
    
  
The default configuration in Elasticsearch before 1.4.0.Beta1 enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code via the source parameter to _search. NOTE: this only violates the vendor's intended security policy if the user does not run Elasticsearch in its own independent virtual machine.
References