CVE-2018-8007
Apache CouchDB administrative users can configure the database server via HTTP(S). Due to insufficient validation of ad…
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Apache Software Foundation Apache CouchDB < 1.7.2; 2.0.0 to 2.1.1
Vulnerability facts
- Affected
- Apache Software Foundation Apache CouchDB < 1.7.2; 2.0.0 to 2.1.1
- Fixed in
- Apache Software Foundation Apache CouchDB 1.7.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 7.2 (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 12.06% chance of exploitation in 30 days (percentile 97, 2026-11-26)
- CWE
- CWE-20
- Modified
Description
Apache CouchDB administrative users can configure the database server via HTTP(S). Due to insufficient validation of administrator-supplied configuration settings via the HTTP API, it is possible for a CouchDB administrator user to escalate their privileges to that of the operating system's user that CouchDB runs under, by bypassing the blacklist of configuration settings that are not allowed to be modified via the HTTP API. This privilege escalation effectively allows an existing CouchDB admin user to gain arbitrary remote code execution, bypassing already disclosed CVE-2017-12636. Mitigation: All users should upgrade to CouchDB releases 1.7.2 or 2.1.2.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Apache Software Foundation Apache CouchDB | < 1.7.2; 2.0.0 to 2.1.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2018-8007. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-8007.md Affected: Apache Software Foundation Apache CouchDB < 1.7.2; 2.0.0 to 2.1.1 Fixed in: Apache Software Foundation Apache CouchDB 1.7.2 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.
References
Vendor advisories
- https://security.gentoo.org/glsa/201812-06
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X3JOUCX7LHDV4YWZDQNXT5NTKKRANZQW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S5FPHVVU5KMRFKQTJPAM3TBGC7LKCWQS/
Exploits and PoCs
Other
- http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3c1439409216.6221.1531246856676.JavaMail.Joan%40RITA%3e
- http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3C1699016538.6219.1531246785603.JavaMail.Joan%40RITA%3E
- http://www.securityfocus.com/bid/104741
- https://blog.couchdb.org/2018/07/10/cve-2018-8007/
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us
FAQ
Is CVE-2018-8007 being exploited?
There is no confirmed exploitation: CVE-2018-8007 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 12.06% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-8007?
High: CVSS 7.2 (v3.0, scored by NVD). Remote, login needed.
Which versions are affected by CVE-2018-8007?
Apache Software Foundation Apache CouchDB < 1.7.2; 2.0.0 to 2.1.1.
Is there a fix for CVE-2018-8007?
Yes. Fixed in Apache Software Foundation Apache CouchDB 1.7.2. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2018-8007?
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.