Due to differences in the Erlang-based JSON parser and JavaScript-based JSON parser, it is possible in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to submit _users documents with duplicate keys for 'roles' used for access control within the database, including the special case '_admin' role, that denotes administrative users. In combination with CVE-2017-12636 (Remote Code Execution), this can be used to give non-admin users access to arbitrary shell commands on the server as the database system user. The JSON parser differences result in behaviour that if two 'roles' keys are available in the JSON, the second one will be used for authorising the document write, but the first 'roles' key is used for subsequent authorization for the newly created user. By design, users can not assign themselves roles. The vulnerability allows non-admin users to give themselves admin privileges.
Exploitability Profile
None Observed
No active abuse flagged
Available
0 PoC signals · 2 repos
Confirmed
0 patch mentions · 2 advisories
Stable
Peak 1 on Oct 15, 2026
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Verify version impact across your CPE inventory and schedule remediation within the next planned patch window.
| Authority |
|---|
Triage Priority
CVSS v3.0
Authoritative NIST NVD score · 2 sources compared below
1mention
Across 1 tracked day
| Version |
|---|
| Score |
|---|
| Vector String |
|---|
NISTNIST NVD | v3.0 | 9.8CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
NISTNIST NVD | v2.0 | 10.0HIGH | AV:N/AC:L/Au:N/C:C/I:C/A:C |
1 total mentions across 1 observed day · Peak 1 on Oct 15, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.
Normalized NVD configurations scoped by vendor, product, version, and platform.
Affected Vendors
Affected Products
| Part | Vendor | Product | Version | CPE 2.3 URI |
|---|---|---|---|---|
| App | Apache | All versions | cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:* | |
| App | Apache | 2.0.0 | cpe:2.3:a:apache:couchdb:2.0.0:*:*:*:*:*:*:* | |
| App | Apache | 2.0.0 (rc1) | cpe:2.3:a:apache:couchdb:2.0.0:rc1:*:*:*:*:*:* | |
| App | Apache | 2.0.0 (rc2) | cpe:2.3:a:apache:couchdb:2.0.0:rc2:*:*:*:*:*:* | |
| App | Apache | 2.0.0 (rc3) | cpe:2.3:a:apache:couchdb:2.0.0:rc3:*:*:*:*:*:* | |
| App | Apache | 2.0.0 (rc4) | cpe:2.3:a:apache:couchdb:2.0.0:rc4:*:*:*:*:*:* |