CVE-2022-24706: Apache CouchDB Insecure Default Initialization of Resource Vulnerability
CVE-2022-24706 is a critical-severity flaw (CVSS 9.8) affecting couchdb, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In Apache CouchDB prior to 3.2.2, an attacker can access an improperly secured default installation without authenticating and gain admin privileges. The CouchDB documentation has always made recommendations for properly securing an installation, including recommending using a firewall in front of all CouchDB installations.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 92.5% (top 1%) |
| CISA exploited list | Yes, fix due 2022-09-15 |
| Weakness | CWE-1188 |
| Published | 2022-04-26 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: sadshade/CVE-2022-24706-CouchDB-Exploit (29 stars)
- GitHub PoC: ahmetsabrimert/Apache-CouchDB-CVE-2022-24706-RCE-Exploits-Blog-post- (1 stars)
- GitHub PoC: superzerosec/CVE-2022-24706 (0 stars)
- Write-up: medium.com/@_sadshade/couchdb-erlang-and-cookies-rce-on-default-settings-b1e9173a4bcd
- GitHub PoC: XmasSnowISBACK/CVE-2022-24706
- Exploit-DB: Apache CouchDB 3.2.1 - Remote Code Execution (RCE)
- Metasploit: Apache Couchdb Erlang RCE
- Nuclei scan template: CouchDB Erlang Distribution - Remote Command Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-24706?
couchdb: upgrade to 3.2.2. Exact commands for each OS are on this page.
Is CVE-2022-24706 being exploited?
Yes. CVE-2022-24706 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2022-24706 affect?
CVE-2022-24706 affects couchdb. Severity is critical (CVSS 9.8). In Apache CouchDB prior to 3.2.2, an attacker can access an improperly secured default installation without authenticating and gain admin privileges. The CouchDB documentation has always made recommendations for properly securing an install
How urgent is CVE-2022-24706?
Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action; On your watchlist
Related CVEs
- CVE-2023-45725 MEDIUM 5.7 UPGRADE Design document functions which receive a user http request object may expose authorization or session cookie
- CVE-2023-26268 MEDIUM 4.4 UPGRADE UPGRADE Design documents with matching document IDs, from databases on the same cluster, may share a mutable Javascrip
- CVE-2021-38295 HIGH 7.3 UPGRADE In Apache CouchDB, a malicious user with permission to create documents in a database is able to attach a HTML
- CVE-2020-1955 CRITICAL 9.8 DOWNGRADE CouchDB version 3.0.0 shipped with a new configuration setting that governs access control to the entire datab
- CVE-2018-8007 HIGH 7.2 UPGRADE Apache CouchDB administrative users can configure the database server via HTTP(S)