CVE-2023-0163: Prototype Pollution in convict

convict Updated 02 Oct 2025

Summary

10/01/2023
Yes i
High
8.4

CVE-2023-0163: convict vulnerable to Prototype Pollution. Affects convict versions < 6.2.4. Fixed in 6.2.4. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Convict is an npm package used for handling server-side configurations written by server admins. It provides a way to define configuration schemas and validate and parse configuration files. However, it is vulnerable to Prototype Pollution, a type of vulnerability where an attacker can inject attributes that are used in other components or override existing attributes with incompatible types. This can lead to various security issues and crashes.

Vulnerability Detail

The Prototype Pollution vulnerability in convict allows an attacker to inject malicious JavaScript code into config files, potentially compromising the server. By manipulating the configuration, an attacker can modify the behavior of the application, leading to unauthorized access, data leaks, or denial of service. This vulnerability is rated as HIGH severity with a CVSS score of 8.4.

How To Fix

Latest published version: 6.2.5 as of 23 Oct 2026

npm install convict@6.2.5

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

This is the first release that contains the fix.

npm install convict@6.2.4

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

Workaround

There is no known workaround for this vulnerability. Users must upgrade to the fixed version to mitigate the risk.

Conclusion

The Prototype Pollution vulnerability in the convict package can have serious security implications for applications using it. It is crucial to upgrade to version 6.2.4 or later to mitigate the risk. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for convict →

Share this vulnerability

FAQ

Prototype Pollution is a vulnerability that allows an attacker to modify the prototype of an object, leading to unexpected behavior and potential security issues.

An attacker can inject malicious attributes into config files, which can be used to modify the behavior of the application or cause crashes.

Yes, this vulnerability can be exploited remotely if the application allows remote access to the configuration files.

No, only versions prior to 6.2.4 are affected. Users should upgrade to the latest version to ensure they are protected.

There is no evidence of active exploitation of this vulnerability at the moment. However, it is recommended to upgrade to the fixed version as a precautionary measure.

Related vulnerabilities

Recent vulnerabilities recorded for convict.

How To Fix

Latest published version: 6.2.5 as of 23 Oct 2026

npm install convict@6.2.5

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

This is the first release that contains the fix.

npm install convict@6.2.4

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