CVE-2022-24706: Unauthenticated Remote Code Execution in Apache CouchDB
- Vendor
- Apache Software Foundation
CVE-2022-24706 affects improperly secured Apache CouchDB installations before version 3.2.2. CouchDB packaging used a publicly known default Erlang authentication cookie for both single-node and clustered installations. The Erlang distribution service opens a random port bound to all available interfaces, advertised by the Erlang Port Mapper Daemon (epmd) on TCP port 4369. Attackers who can reach these services and know the default cookie can authenticate Erlang-node communications without CouchDB credentials, gain administrative privileges, and execute operating-system commands.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits administrative access and remote command execution on the CouchDB host. Observed exploitation deployed Kinsing cryptocurrency-mining malware, attempted rootkit installation and security-control disabling, removed competing miners, and established persistence. Operating-system actions depend on the compromised process's privileges; exploitation does not establish that root access is automatically obtained.
Mitigation
If you can’t patch tonight, do this now.
Place CouchDB installations behind a firewall. Restrict access to TCP port 4369 and the Erlang distribution port to trusted systems that require Erlang-node communication, and prevent their exposure to untrusted networks.
Remediation
Patch, then assume compromise.
Upgrade Apache CouchDB to version 3.2.2 or a later supported release and apply the installation-security recommendations in the CouchDB documentation.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-24706 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Aug 25, 2022.
- Is there a public exploit for CVE-2022-24706?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2022-24706, the earliest disclosed Jan 21, 2022.
- Is there a patch for CVE-2022-24706?
- Upgrade Apache CouchDB to version 3.2.2 or a later supported release and apply the installation-security recommendations in the CouchDB documentation.
- What products are affected by CVE-2022-24706?
- Apache Software Foundation Couchdb.
- How severe is CVE-2022-24706?
- CVE-2022-24706 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 97.2% (100th percentile) as of Oct 16, 2026.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.