SpEL Injection RCE in OpenMetadata CompiledRule::validateExpression
CVE-2024-28848 is a critical vulnerability in OpenMetadata prior to version 1.2.4, where the CompiledRule::validateExpression method evaluates user-supplied Spring Expression Language (SpEL) expressions in a StandardEvaluationContext. This allows authenticated non-admin users to execute arbitrary system commands via the /api/v1/policies/validation/condition/<expression> endpoint. The vulnerability is exacerbated by a missing authorization check, as Authorizer.authorize() is not invoked, enabling any authenticated user to exploit the flaw and achieve remote code execution (RCE) on the underlying server.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows any authenticated non-admin user to execute arbitrary system commands on the OpenMetadata server, leading to full system compromise. Attackers can gain persistent access, exfiltrate sensitive data, or pivot to other systems within the environment. The vulnerability poses a severe risk to the confidentiality, integrity, and availability of affected deployments.
If you can’t patch tonight, do this now.
There are no known effective workarounds. Restrict access to the affected endpoints to trusted users only and monitor for suspicious activity until the patch can be applied. Immediate upgrade to the fixed version is strongly recommended.
Patch, then assume compromise.
Upgrade OpenMetadata to version 1.2.4 or later, where the vulnerable code path has been fixed. The patch ensures proper validation and authorization checks are performed before evaluating user-supplied SpEL expressions, preventing arbitrary code execution.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.