# CVE-2023-45725: Apache CouchDB, IBM Cloudant: Privilege Escalation Using _design Documents

- Severity: Medium 5.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.23%, higher than 69% of CVEs (2026-12-01)
- Published: 2023-12-13T08:02:17.326Z
- Modified: 2026-09-08T08:46:04.225Z
- Also known as: BIT-COUCHDB-2023-45725
- Weaknesses: CWE-200
- Assigned by: apache

## Description

Design document functions which receive a user http request object may expose authorization or session cookie headers of the user who accesses the document.

These design document functions are:
  *    list
  *    show
  *    rewrite
  *    update

An attacker can leak the session component using an HTML-like output, insert the session as an external resource (such as an image), or store the credential in a _local document with an "update" function.

For the attack to succeed the attacker has to be able to insert the design documents into the database, then manipulate a user to access a function from that design document.

Workaround: Avoid using design documents from untrusted sources which may attempt to access or manipulate request object's headers

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache CouchDB: up to 3.3.2
- Apache Software Foundation IBM Cloudant: before 8413
- apache couchdb: up to 3.3.2
- couchdb (Bitnami): before 3.3.3

## Every score

- NVD: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://lists.apache.org/thread/pqjq9zt8vq9rsobkc1cow9sqm9vozlrg> (advisory, mailing-list, vendor-advisory)
- <https://docs.couchdb.org/en/stable/cve/2023-45725.html> (advisory, patch, release-notes, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-45725> (web)

## Sources

- CVE List: [CVE-2023-45725](https://www.cve.org/CVERecord?id=CVE-2023-45725), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2023-45725](https://nvd.nist.gov/vuln/detail/CVE-2023-45725), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-COUCHDB-2023-45725](https://osv.dev/vulnerability/BIT-COUCHDB-2023-45725), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-45725 · Whole record: https://cve.day/CVE-2023-45725.json · Rebuilt by cve.day 2026-11-25T22:58:31.278Z
