# CVE-2022-24706: Remote Code Execution Vulnerability in Packaging

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Yes: in CISA KEV since 2022-08-25; federal due date 2022-09-15
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 97.15% (percentile 100, 2026-11-26)
- **CWE:** CWE-1188
- **Aliases:** EDB-50914
- **Published:** 2022-04-26T00:00:00.000Z
- **Modified:** 2026-06-17T04:32:20.160Z

## Who should check

- Anyone running Apache Software Foundation Apache CouchDB \>= Apache CouchDB, \<= 3.2.1

## Description

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.

## Affected and fixed versions

- Apache Software Foundation Apache CouchDB: \>= Apache CouchDB, \<= 3.2.1 (cvelist)

## Mitigation

- Vendor workaround: CouchDB 3.2.2 and onwards will refuse to start with the former default
- Erlang cookie value of \`monster\`. Installations that upgrade to this
- versions are forced to choose a different value.
- 
- In addition, all binary packages have been updated to bind \`epmd\` as
- well as the CouchDB distribution port to \`127.0.0.1\` and/or \`::1\`
- respectively.

## Timeline

- 2022-04-26: Published
- 2022-08-25: Added to CISA KEV (exploited in the wild)
- 2022-09-15: CISA remediation due date for US federal agencies
- 2026-06-17: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-24706. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-24706.md
Affected: Apache Software Foundation Apache CouchDB >= Apache CouchDB, <= 3.2.1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Apache Software Foundation Apache CouchDB: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-24706 being exploited?

Yes. CISA lists CVE-2022-24706 in its Known Exploited Vulnerabilities catalog since 2022-08-25, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 97.15% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-24706?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2022-24706?

Apache Software Foundation Apache CouchDB \>= Apache CouchDB, \<= 3.2.1.

### Is there a fix for CVE-2022-24706?

No fixed version is listed in the sources yet. Vendor workaround: CouchDB 3.2.2 and onwards will refuse to start with the former default Erlang cookie value of \`monster\`. Installations that upgrade to this versions are forced to choose a different value.  In addition, all binary packages have been updated to bind \`epmd\` as well as the CouchDB distribution port to \`127.0.0.1\` and/or \`::1\` respectively.

### How do I check if I'm affected by CVE-2022-24706?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/w24wo0h8nlctfps65txvk0oc5hdcnv00>
- patch: <http://www.openwall.com/lists/oss-security/2022/05/09/3>
- patch: <http://www.openwall.com/lists/oss-security/2022/05/09/4>
- patch: <http://www.openwall.com/lists/oss-security/2022/05/09/2>
- exploit: <http://packetstormsecurity.com/files/167032/Apache-CouchDB-3.2.1-Remote-Code-Execution.html>
- exploit: <https://medium.com/%40_sadshade/couchdb-erlang-and-cookies-rce-on-default-settings-b1e9173a4bcd>
- exploit: <http://packetstormsecurity.com/files/169702/Apache-CouchDB-Erlang-Remote-Code-Execution.html>
- exploit: <https://www.exploit-db.com/exploits/50914>
- other: <https://docs.couchdb.org/en/3.2.2/setup/cluster.html>
- other: <http://www.openwall.com/lists/oss-security/2022/04/26/1>
- other: <http://www.openwall.com/lists/oss-security/2022/05/09/1>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24706>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-24706>
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/50914>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2022-24706> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-24706>
