WaratekVRT Sign in

CVE-2024-28848 OpenMetadata

Affected softwareOpenMetadata
Severity8.8 High CVSS 3.1
Fixed in1.2.4
WeaknessCode injection (CWE-94)
Published15 Mar 2024
Updated17 Jun 2026

Description

OpenMetadata is a unified platform for discovery, observability, and governance powered by a central metadata repository, in-depth lineage, and seamless team collaboration. The ‎CompiledRule::validateExpression method evaluates an SpEL expression using an StandardEvaluationContext, allowing the expression to reach and interact with Java classes such as java.lang.Runtime, leading to Remote Code Execution. The /api/v1/policies/validation/condition/<expression> endpoint passes user-controlled data CompiledRule::validateExpession allowing authenticated (non-admin) users to execute arbitrary system commands on the underlaying operating system. In addition, there is a missing authorization check since Authorizer.authorize() is never called in the affected path and therefore any authenticated non-admin user is able to trigger this endpoint and evaluate arbitrary SpEL expressions leading to arbitrary command execution. This vulnerability was discovered with the help of CodeQL's Expression language injection (Spring) query and is also tracked as GHSL-2023-236. This issue may lead to Remote Code Execution and has been resolved in version 1.2.4. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Exploitation status

Exploited

Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.

  • CISA KEV not listed
  • VulnCheck KEV listed Exploitation reported in the wild. 1 citation · earliest 2024-04-17.
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: total.
  • Indexed PoC none indexed
  • EPSS 7.9% chance in 30 days

VulnCheck KEV

Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2024-28848 in VulnCheck (free account).

EvidenceSourceDetailDate
Reported exploitation microsoft.com /en-us/security/blog/2024/04/17/attackers-exploiting-new-critical-openmetadata-vulnerabilities-on-kubernetes-clusters 2024-04-17

Waratek protection

Mitigation candidate

A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.

  • Protection none
  • Action unverified
  • Review automated Inferred
  • Record active
Decided by A reference pointing at the upstream fix: a commit, a PR, a Red Hat bug
Finding A reference points at an upstream fix (advisory tier): https://github.com/open-metadata/OpenMetadata/security/advisories/GHSA-5xv3-fm7g-865r. That makes this CVE a candidate for an ARMR patch rule — it is the kind of defect ARMR can address, and there is a fix to work from. No rule exists and none is scheduled: writing one means reading the linked change and finding a hook point ARMR can express it at, which may turn out not to exist.
Candidate fix https://github.com/open-metadata/OpenMetadata/security/advisories/GHSA-5xv3-fm7g-865r : the maintainers' own security advisory: names the version that fixes it, so the fix is the difference between two releases

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.open-metadata:openmetadata-service 0 1.2.4 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd open-metadata openmetadata generic < 1.2.4
osv org.open-metadata openmetadata-service generic < 1.2.4

References

URLTags
https://github.com/open-metadata/OpenMetadata/security/advisories/GHSA-5xv3-fm7g-865r advisory
https://codeql.github.com/codeql-query-help/java/java-spel-expression-injection WEB
https://github.com/open-metadata/OpenMetadata PACKAGE
https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-service/src/main/java/org/openmetadata/service/security/policyevaluator/CompiledRule.java#L51 WEB
https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-service/src/main/java/org/openmetadata/service/security/policyevaluator/CompiledRule.java#L57 WEB
https://securitylab.github.com/advisories/GHSL-2023-235_GHSL-2023-237_Open_Metadata ADVISORY

Timeline

Published2024-03-15By the CVE Program.
VulnCheck KEV: earliest evidence2024-04-17Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
NVD record modified2026-06-17NVD's own last-modified date for this record.