Security advisory
The Windows installer that the Apache CouchDB team provides was vulnerable to local privilege escalation. All files in the install inherit the file permissions of the parent directory and therefore a non-privileged user can substitute any executable for the nssm.exe service launcher, or CouchDB batch or binary files. A subsequent service or server restart will then run that binary with administrator privilege. This issue affected CouchDB 2.0.0 (Windows platform only) and was addressed in CouchDB 2.0.0.1.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-8742
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:32 UTC · Revision 1
Source evidence
The Windows installer that the Apache CouchDB team provides was vulnerable to local privilege escalation. All files in the install inherit the file permissions of the parent directory and therefore a non-privileged user can substitute any executable for the nssm.exe service launcher, or CouchDB batch or binary files. A subsequent service or server restart will then run that binary with administrator privilege. This issue affected CouchDB 2.0.0 (Windows platform only) and was addressed in CouchDB 2.0.0.1.
osv:CVE-2016-8742
Complete source record
{
"id": "c4f1b797f8c9f0729ce578ab9fb372924a1783cc505cb33d77b9d4fc774c4c13",
"url": "https://osv.dev/vulnerability/CVE-2016-8742",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-8742",
"summary": "The Windows installer that the Apache CouchDB team provides was vulnerable to local privilege escalation. All files in the install inherit the file permissions of the parent directory and therefore a non-privileged user can substitute any executable for the nssm.exe service launcher, or CouchDB batch or binary files. A subsequent service or server restart will then run that binary with administrator privilege. This issue affected CouchDB 2.0.0 (Windows platform only) and was addressed in CouchDB 2.0.0.1.",
"evidence": "osv:CVE-2016-8742",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2016-8742",
"aliases": [
"CVE-2016-8742"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/couchdb",
"type": "GIT",
"events": [
{
"introduced": "cb02b9b812174609403d67f60c314959388ba06c"
},
{
"last_affected": "cb02b9b812174609403d67f60c314959388ba06c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:couchdb:2.0.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"last_affected": "2.0.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-8742.json"
}
}
],
"modified": "2026-10-24T10:30:40.877825265Z",
"provider": "osv",
"references": [
"https://www.exploit-db.com/exploits/40865/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2016-8742",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 435030,
"published_at": "2018-02-12T17:29:00.277+00:00"
}