Skip to content

CVE-2026-107755: Apache CouchDB Replicator Credential Exposure via Object-Form URLs

Density:
C-Level Executive Briefing CVE-2026-107755 MEDIUM SCORE 76/100

A credential exposure vulnerability (CVE-2026-107755) has been identified in Apache CouchDB versions 3.5.2 and earlier. The _replicator database allows replication endpoints to be specified as either plain URL strings or structured URL objects. While CouchDB masked authentication passwords when serializing string-based endpoints to non-owner users, it omitted sanitization for object-form endpoints. Any authenticated user with read access to the _replicator database can view cleartext authentication headers, API keys, and passwords belonging to other users' replication jobs. Apache CouchDB 3.5.3 addresses this defect. Hermes evaluates this vulnerability at HTS 76 (MEDIUM).

HERMES

HERMES THREAT SCORE & CREDENTIAL PRIVACY INTEGRITY

Target: Apache CouchDB Replicator Document Masking (/src/couch_replicator/)
Confidence: 98%
76 / 100
MEDIUM

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

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

CVSS v4.0 evaluates this flaw at 6.0 Medium, while CVSS v3.1 rates it at 6.5 Medium. Hermes Threat Score assigns 76 (MEDIUM). In shared development environments or multi-tenant databases, leaking cross-cluster replication secrets provides lateral movement vectors into upstream central corporate databases.

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

CVE-2026-107755: Apache CouchDB Replicator Credential Exposure via Object-Form URLsVULNERABILITY

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โ€™s replication protocol supports rich endpoint configurations. Users can declare replication sources and targets as simple strings ("https://user:pass@example.com/db") or as JSON objects providing customized HTTP headers, proxies, and authentication parameters.

To preserve confidentiality in shared databases, CouchDB strips embedded credentials before presenting replication documents to users who are not owners or administrators. Prior to version 3.5.3, this sanitization routine was applied exclusively to URL strings, completely bypassing structured URL objects.


In couch_replicator_docs.erl, the function strip_credentials/2 handled string URLs via regex pattern matching:

%% String URLs were masked:
strip_credentials(Url) when is_binary(Url) ->
couch_util:url_strip_password(Url);
%% Object-form URLs were returned unmodified:
strip_credentials({Props}) when is_list(Props) ->
Props. %% Bug: returned headers and authorization objects in plaintext!

Consequently, non-owner users requesting documents from _replicator received the exact headers configured by other developers or service accounts.


GET /_replicator/corp_sync_job HTTP/1.1
Host: couchdb.target.internal:5984
Authorization: Basic dXNlcl9sb3dwcml2OnBhc3M=
Accept: application/json

Unsanitized Response:

{
"_id": "corp_sync_job",
"source": {
"url": "https://upstream.corp.internal/production_db",
"headers": {
"Authorization": "Basic YWRtaW5fc2VjcmV0OlN1cGVyU2VjcmV0UGFzczEyMyE="
}
},
"target": "local_cache",
"continuous": true
}

ProductVulnerable VersionsPatched VersionUpdate Urgency
Apache CouchDB<= 3.5.2 (All Platforms)3.5.3MEDIUM (Recommended)

title: CouchDB Replicator Database Enumeration
id: a1077550-c04c-4db0-7755-couchdb00006
status: experimental
description: Detects non-administrative querying of _replicator documents containing object-form endpoints.
logsource:
category: webserver
service: couchdb
detection:
selection:
cs-method: 'GET'
cs-uri-stem|contains: '/_replicator'
cs-uri-query|contains: 'include_docs=true'
condition: selection
level: medium

  1. Upgrade to Apache CouchDB 3.5.3: The update recursively inspects and redacts credentials across both string and object-form replication endpoint declarations.

  2. Rotate Potentially Exposed Credentials: If non-owner users have read access to _replicator, immediately rotate passwords and API tokens used across existing replication tasks.

  3. Restrict Access to the _replicator Database: Enforce strict access controls by setting the _security object of _replicator so only administrators can read replication configurations.