CVE-2021-44521: Apache Cassandra

Critical severity, CVSS 9.1. EPSS: 57.5% chance of exploitation in the next 30 days.

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

  • Apache Cassandra: from 3.0.0, before 3.0.26 (fixed in 3.0.26); from 3.11.0, before 3.11.12 (fixed in 3.11.12); from 4.0.0, before 4.0.2 (fixed in 4.0.2)

Published 2022-02-11. Last modified 2026-06-17.