CVE-2016-10546: Arbitrary Code Injection in pouchdb

pouchdb Updated 02 Oct 2025

Summary

26/07/2018
Yes i
Critical
Not published

CVE-2016-10546: Arbitrary Code Injection in pouchdb. Affects pouchdb versions < 6.0.5. Fixed in 6.0.5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

PouchDB is an open-source JavaScript database that enables developers to build applications that work offline and sync with a remote database when online. It provides a simple API for creating, reading, updating, and deleting documents. PouchDB is widely used in web and mobile applications to enable offline data storage and synchronization. However, certain versions of PouchDB are vulnerable to arbitrary code injection.

Vulnerability Detail

Affected versions of PouchDB do not properly sandbox the code execution engine used for temporary views and design documents. This allows an attacker to exploit the vulnerability and execute arbitrary code on the server. The attacker can potentially gain unauthorized access, manipulate data, or perform other malicious actions depending on the privileges of the server process. This vulnerability poses a significant risk to the confidentiality, integrity, and availability of the affected system.

How To Fix

Latest published version: 9.0.0 as of 22 Oct 2026

npm install pouchdb@9.0.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

6.0.5

This is the first release that contains the fix.

npm install pouchdb@6.0.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The vulnerability in PouchDB allows for arbitrary code injection, which can lead to unauthorized access and other malicious actions. It is crucial to update PouchDB to version 6.0.5 or later to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for pouchdb →

Share this vulnerability

FAQ

PouchDB is an open-source JavaScript database that enables developers to build offline-capable applications that can sync with a remote database.

Arbitrary code injection is a security vulnerability that allows an attacker to insert and execute their own code within an application or system, potentially leading to unauthorized access or other malicious actions.

This vulnerability affects certain versions of PouchDB where the code execution engine used for temporary views and design documents is not properly sandboxed, allowing an attacker to execute arbitrary code on the server.

The potential consequences of this vulnerability include unauthorized access to sensitive data, data manipulation, and other malicious actions depending on the privileges of the server process.

To fix this vulnerability, update PouchDB to version 6.0.5 or later, which includes the necessary security patches to properly sandbox the code execution engine.

How To Fix

Latest published version: 9.0.0 as of 22 Oct 2026

npm install pouchdb@9.0.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

6.0.5

This is the first release that contains the fix.

npm install pouchdb@6.0.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback