CVE-2024-28848
Java vulnerability analysis and mitigation

Overview

OpenMetadata, a unified platform for discovery, observability, and governance powered by a central metadata repository, contains a critical vulnerability identified as CVE-2024-28848. The vulnerability was discovered in the CompiledRule::validateExpression method, which evaluates a Spring Expression Language (SpEL) expression using a StandardEvaluationContext. This flaw allows the expression to interact with Java classes such as java.lang.Runtime, potentially leading to Remote Code Execution. The vulnerability was discovered with the help of CodeQL's Expression language injection query and is tracked as GHSL-2023-236. The issue was disclosed on March 15, 2024, and has been resolved in version 1.2.4 (GitHub Advisory).

Technical details

The vulnerability exists in the /api/v1/policies/validation/condition/ endpoint, which passes user-controlled data to CompiledRule::validateExpession. The flaw is compounded by a missing authorization check, as Authorizer.authorize() is never called in the affected path. This allows any authenticated non-admin user to trigger this endpoint and evaluate arbitrary SpEL expressions. The vulnerability has been assigned a CVSS score of 8.8 HIGH with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (GitHub Advisory).

Impact

The vulnerability enables authenticated users to execute arbitrary system commands on the underlying operating system. Attackers have been observed exploiting this vulnerability to infiltrate Kubernetes environments for cryptomining purposes. According to Wiz data, approximately 5% of cloud environments have publicly exposed resources vulnerable to this vulnerability (Wiz Report).

Exploitability

The vulnerability is being actively exploited in the wild since the start of April 2024. Attackers are targeting internet-exposed OpenMetadata workloads that have been left unpatched to gain code execution on containers running the OpenMetadata image. Upon gaining initial access, threat actors perform reconnaissance activities to gather information about the network configuration, operating system version, and environment variables before deploying crypto-mining malware (Hacker News).

Mitigation and workarounds

Users are advised to upgrade to OpenMetadata version 1.2.4 or later, which contains the fix for this vulnerability. The recommended remediation involves using SimpleEvaluationContext to exclude references to Java types, constructors, and bean references. Additionally, organizations should implement strong authentication methods and avoid using default credentials (GitHub Advisory).

Community reactions

Microsoft's Threat Intelligence team has been actively monitoring the exploitation of this vulnerability and has observed attackers using it as part of a broader campaign targeting Kubernetes environments. The security community has emphasized the importance of patching this vulnerability quickly, particularly given its active exploitation in cryptomining operations (Hacker News).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-54148HIGH8.1
  • Java logoJava
  • org.http4k:http4k-security-digest
NoYesAug 17, 2026
CVE-2026-53752HIGH7.5
  • Java logoJava
  • org.docx4j:docx4j-core
NoYesAug 17, 2026
CVE-2026-53659HIGH7.5
  • Java logoJava
  • org.http4k:http4k-core
NoYesAug 17, 2026
CVE-2026-54147MEDIUM6.5
  • Java logoJava
  • org.http4k:http4k-security-digest
NoYesAug 17, 2026
CVE-2026-59903MEDIUM6.5
  • Java logoJava
  • netty
NoYesAug 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management