Skip to main content

Apache CouchDB CVE-2026-86471

| EUVDEUVD-2026-105155 CRITICAL
OS Command Injection (CWE-78)
2026-10-20 apache GHSA-885r-pfpm-ch95
9.3
CVSS 4.0 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as CouchDB server admin
  2. Exploit
    Inject shell payload into runtime config value
  3. Execution
    Trigger unvalidated config consumption
  4. Impact
    Execute arbitrary commands as CouchDB OS user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated CouchDB *server administrator* account (PR:H) that can set runtime configuration values; the attacker abuses an unvalidated configuration parameter so that its value is interpreted as a shell command executed as the CouchDB OS user. Limiting factors: exploitation is impossible without admin-level credentials/role, so the primary risk is privilege escalation from CouchDB admin to the host OS, or an insider/post-credential-theft scenario; it is NOT remote-unauthenticated. Affected: Apache CouchDB 3.5.2 and earlier on all platforms; upgrading to 3.5.3 removes the condition.

Impact

The provided CVSS 4.0 score of 9.3 (Critical) is driven by network attack vector (AV:N), low complexity (AC:L), and high vulnerable+subsequent system impact (VC:H/VI:H/SC:H/SI:H), reflecting that the flaw crosses a trust boundary from the CouchDB application into OS-level command execution. However, the single most important moderating signal is PR:H: exploitation requires an authenticated CouchDB *server admin*, so this is fundamentally a privilege-boundary escalation (database admin → arbitrary shell as the CouchDB OS user), not a remote-unauthenticated takeover. The CVSS 4.0 threat metric in the input is set to E:A ('Attacked'), which would normally imply exploit maturity, but NO CISA KEV status and NO EPSS probability were supplied in the input data, so active exploitation CANNOT be confirmed - treat the E:A value as unverified and potentially conflicting with the absence of KEV/POC evidence. Net real-world priority is moderate-to-high for environments where untrusted or multiple parties hold admin roles, or as a post-compromise escalation primitive, but lower where the CouchDB admin role is already fully trusted and tightly controlled. Patch promptly, but PR:H means this is not a wormable internet-wide emergency on its own.

Exploit ScenarioDerived

An attacker who holds (or has stolen) CouchDB server admin credentials writes a crafted, unvalidated value into a runtime configuration parameter; when CouchDB consumes that value it executes attacker-supplied shell commands as the CouchDB OS user, escaping the database into OS-level code execution. No public exploit was identified in the provided data, and exploitation is gated behind authenticated administrative access (PR:H).

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 20, 2026

Arbitrary shell command execution in Apache CouchDB 3.5.2 and earlier on all platforms allows an authenticated CouchDB server administrator to run commands as the CouchDB operating-system user by setting an unvalidated runtime configuration value. The flaw crosses from application administration into host command execution, so the main risk is privilege escalation from CouchDB admin to the underlying host or misuse of stolen admin credentials; exploitation requires high-privilege authentication (PR:H) and is not remote-unauthenticated. Vendor-released patch: 3.5.3; no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: Apache CouchDB 3.5.3, which the vendor states fixes this issue; consult https://lists.apache.org/thread/c8p73gswgogtnzvk7hpw8jb8d4mnosdp and the Apache announcement at https://lists.apache.org/thread.html/pj83174r8f8f64odf47fwhozbfjtot0f. Until upgrading, restrict the CouchDB server-admin role to trusted operators and audit runtime configuration changes, because any admin who can set configuration can trigger command execution; this does not remove the flaw and depends on disciplined access control. Run CouchDB under a dedicated low-privilege OS account with no unnecessary host rights and monitor child processes spawned by the CouchDB user to limit blast radius; this may break legitimate integrations that rely on broader host access. Network restrictions around administrative interfaces reduce exposure to stolen credentials but do not protect against an insider with admin access.

Affected VersionsENISA

Apache CouchDB 0 <3.5.3

Affected Packages

euvd apache_couchdb fix: 3.5.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache CouchDB exposes an HTTP API and permits server administrators to modify runtime configuration values. In affected versions, one such configuration value is not validated before being interpreted by the shell, allowing an admin-level user to execute commands as the CouchDB OS account; this is essentially a command-injection/configuration-validation failure that crosses a trust boundary from the database application to the host operating system. The supplied CPE cpe:2.3:a:apache_software_foundation:apache_couchdb:*:*:*:*:*:*:*:* is a wildcard, so the authoritative scope is the vendor statement: 3.5.2 and earlier on all platforms, fixed in 3.5.3. No CWE was provided, but the root-cause class is missing validation of attacker-influenced configuration input before OS command execution. The supplied CVSS 4.0 vector is 9.3 with PR:H, consistent with the independent assessment that an authenticated CouchDB server administrator is required; no CISA KEV entry or public exploit reference was included in the supplied intelligence.

Know when Apache Couchdb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L/E:A/S:N/AU:Y/R:U/V:C/RE:M/U:Red
vuln.today AI 9.0 CRITICAL

Admin-only exploitation sets PR:H; the HTTP admin interface gives AV:N/AC:L; command execution escaping the DB into the OS context justifies S:C with C:H/I:H and limited A:L.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
Low

Lifecycle Timeline

2
Patch available
Oct 20, 2026 - 17:18 EUVD
CVE Published
Oct 20, 2026 - 15:38 cve.org
CRITICAL 9.3

DescriptionCVE.org

An unvalidated runtime configuration value in Apache CouchDB 3.5.2 and below on all platforms allows a CouchDB server admin to run arbitrary shell commands as the CouchDB operating system user.

Users are recommended to upgrade to version 3.5.3, which fixes this issue.

Executive ViewAI

Why It Matters

A critical flaw in Apache CouchDB (3.5.2 and earlier) lets anyone holding server-administrator rights on the database turn that access into full command execution on the underlying host, effectively converting a database-level compromise into an operating-system compromise. Because the prerequisite is already high-privilege access, the exposure is concentrated in teams that hold or share CouchDB admin credentials - including contractors, integration accounts, and stale or over-provisioned accounts - and in any environment where CouchDB shares a host with other workloads. Leadership should care because a single leaked or misused admin credential now escalates directly to host control, putting data confidentiality, service availability, and adjacent systems at risk, even though the flaw is not remotely exploitable by anonymous outsiders.

Business Impact: High
Compensating Controls

No confirmed vendor patch per the patch-status field (fix version 3.5.3 is referenced but must be verified with Apache). Interim mitigations: restrict admin interface access to trusted networks, minimize and individually attribute server-admin accounts, rotate admin credentials, run CouchDB as a dedicated low-privilege OS user, segment CouchDB hosts from sensitive workloads, and alert on runtime configuration changes and anomalous process or outbound activity on the CouchDB host.

Threat Intelligence Overview

EPSS Score
0.6%
Top 52% exploitable
Prevalence
Medium
popular open-source NoSQL database, common but not universally deployed
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy