Skip to content
Emerging threatsCritical

CVE-2021-44521Cassandra Code Injection

cassandra: RCE for scripted UDFs

Published Feb 11, 2022 · Updated Nov 5, 2026 · Also known as BIT-cassandra-2021-44521, CGA-c7gv-355r-g435, CGA-fhjh-rgfj-g3q2, CGA-jj49-wmxv-x4p2, CGA-pxgj-2w4q-28g2, ECHO-2550-1834-d752, GHSA-8ffc-79xg-29w8, MINI-4jjc-74vc-3j6j, MINI-mxmp-hw8g-mq2f

Key Facts

Patch immediately
  • CVE-2021-44521 is a critical-severity vulnerability (CVSS 9.1 v3.1) affecting Cassandra (Apache), druid (wolfi), apache-druid (minimos) and 2 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 59% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Cassandra 3.0.26, Cassandra 3.11.12, Cassandra 4.0.2.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

9.1

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

59%

Higher than 99.1% of all scored CVEs

Exploit maturity

None known

ATLAS score

33/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

1

Reports of active use

Description

When running Apache Cassandra with the following configuration: enable_user_defined_functions: true enable_scripted_user_defined_functions: true enable_user_defined_functions_threads: false it is possible for an attacker to execute arbitrary code on the host. The attacker would need to have enough permissions to create user defined functions in the cluster to be able to exploit this.

Note that this configuration is documented as unsafe, and will continue to be considered unsafe after this CVE.

Affected Products

16 affected entries in total
ProductAffected versionsFixed in
CassandraApache>= 3.0.03.0.26
druidwolfiSee advisory35.0.1-r1
apache-druidminimosSee advisory0
apache-druid-fipsminimosSee advisory0
org.apache.cassandra:cassandra-allmavenSee advisory4.0.2

Patched Releases

Cassandra

3.0.26, 3.11.12, 4.0.2, unspecified, 3.11.12-1.ph1, 3.11.12-1.ph2, 3.11.12-1.ph3, 4.0.3-1.ph4

druid

35.0.1-r1, 39.0.0-r0

org.apache.cassandra:cassandra-all

3.0.26, 3.11.12, 4.0.2

Timeline

  1. Publicly disclosed

    Feb 11, 2022

  2. Last updated

    Nov 5, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code
  • CWE-732 Incorrect Permission Assignment for Critical Resource

References

12 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2021-44521 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.