Aerospike Community Edition 4.9.0.5 allows for unauthenticated submission and execution of user-defined functions (UDFs), written in Lua, as part of a database query. It attempts to restrict code execution by disabling os.execute() calls, but this is insufficient. Anyone with network access can use a crafted UDF to execute arbitrary OS commands on all nodes of the cluster at the permission level of the user running the Aerospike service.
CVE-2020-13151
Score 9.8 from GitHub Security Advisory (severity: HIGH) published 2022-05-24. NVD baseline CVSS 9.8; sources differ by 0.0.
- High exploitation likelihood — EPSS 87%
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 83(Track*)EG Risk 83/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation87% × 40%Automatability30% × 15%Action: Watch closely — could escalate to Attend. - EPSS
- 99.7%
- KEV
- Not listed
Published
August 5, 2020
Last Modified
November 21, 2024
Advisory Details (4)
Auto-updated May 27, 2026Planning | Aerospike Documentation
https://www.aerospike.com/docs/operations/configure/security/access-control/index.html#create-users-and-assign-rolesCVE-2020-13151 POC: Aerospike Server Host Command Execution | -pentest notes-
https://b4ny4n.github.io/network-pentest/2020/08/01/cve-2020-13151-poc-aerospike.htmlPacket Storm
http://packetstormsecurity.com/files/160451/Aerospike-Database-UDF-Lua-Code-Execution.htmlAerospike Database release notes | Aerospike Documentation
https://www.aerospike.com/enterprise/download/server/notes.html#5.1.0.3Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 20× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:49 UTCEG score recompute
- 2026-07-22 22:34 UTCEG score recompute
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 07:52 UTCOSV refresh
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 13:51 UTCOSV refresh
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
Show 26 moreShow fewer
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-13 21:43 UTCOSV refresh
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 00:34 UTCEG score recompute
- 2026-05-27 00:34 UTCGHSA enrichment
Publicly available exploits
(3 references)Working exploit code is in the public domain (1 Metasploit module) (1 GitHub PoC) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-49067First seen Nov 17, 2020
Aerospike Database 5.1.0.3 - OS Command Execution
Open source ↗ - GitHub PoCb4ny4n/CVE-2020-13151First seen Aug 1, 2020
POC for CVE-2020-13151
Open source ↗ - Metasploitexploit/linux/misc/aerospike_database_udf_cmd_exec✓ verifiedFirst seen Jul 31, 2020
Aerospike Database UDF Lua Code Execution
Open source ↗
Related CVEs(same CWE)
Same CWE
10 shownCWE-78
Frequently asked(5)
What is CVE-2020-13151?
When was CVE-2020-13151 disclosed?
Is CVE-2020-13151 actively exploited?
What is the CVSS score of CVE-2020-13151?
How do I remediate CVE-2020-13151?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2020-13151
Is Your Infrastructure Affected by CVE-2020-13151?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.