Skip to main content

enquirer EUVDEUVD-2026-42599

| CVE-2026-15187 LOW
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-07-09 VulDB GHSA-5727-r6pv-59f5
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege access
  2. Delivery
    Supply crafted question.name value
  3. Exploit
    Invoke Enquirer.set() without sanitization
  4. Execution
    Pollute Object.prototype
  5. Impact
    Achieve limited integrity modification in process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

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

Exploitation Conditions

Exploitation requires that the attacker has sufficient access (PR:L per CVSS 4.0) to supply a crafted value for the question.name argument to the Enquirer.set() function - either directly as an API consumer or indirectly through an application layer that exposes this parameter to user input. The vulnerable code path is within the Public Package API of the enquirer library; applications that do not expose question.name to external input are not exploitable. The impact is limited to low integrity modification on the vulnerable system only (VI:L, VC:N, VA:N), with no scope change to subsequent systems (SC:N/SI:N/SA:N). Exploitation is further constrained to environments running enquirer versions 2.4.0 or 2.4.1. The attack is most realistic in Node.js developer tooling, CLI wrappers, or CI/CD pipelines where this library processes externally supplied prompt configuration.

Impact

The CVSS 4.0 base score of 2.1 (Low) is consistent with the narrow blast radius: VI:L with no confidentiality or availability impact, and PR:L indicating the attacker must have some level of authenticated or authorized access. The E:P supplemental metric confirms the exploit is publicly available, elevating practical risk above what the score alone suggests. However, enquirer is a CLI prompt library - its attack surface is primarily developer toolchains and build environments, not externally exposed production services, which constrains real-world exploitation. EPSS data is not provided; however, given the niche deployment context and low CVSS, widespread automated exploitation is unlikely. No CISA KEV listing confirms the vulnerability has not been observed in active mass exploitation. The primary real-world risk is supply-chain or build-time integrity manipulation in CI/CD environments where enquirer is a dependency. The conflict between AV:N in the CVSS vector and enquirer's primarily local/CLI nature should be verified - network reachability may depend on how an application wraps the library.

Exploit ScenarioDerived

An attacker with low-privilege access to an application that passes user-supplied input to enquirer's Enquirer.set() function submits a crafted question.name value such as __proto__[isAdmin]=true. The enquirer library processes this without sanitization, writing the property into Object.prototype and polluting the shared prototype chain for the entire Node.js process. Depending on how the host application reads object properties, this may result in privilege escalation, logic bypass, or unexpected behavior in downstream code - a publicly available proof-of-concept at https://github.com/enquirer/enquirer/issues/487#issuecomment-4648521328 demonstrates the pollution mechanism.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 09, 2026

Prototype pollution in the enquirer npm package (versions up to 2.4.1) allows remote authenticated attackers to manipulate JavaScript Object.prototype attributes by injecting a crafted value into the question.name argument of the Enquirer.set() function. The vulnerability carries a low CVSS 4.0 score of 2.1, reflecting limited integrity-only impact scoped to the vulnerable system with no confidentiality or availability consequence. Publicly available exploit code exists via GitHub issue #487, though no active exploitation has been confirmed in CISA KEV.

RemediationAI

No vendor-released patched version has been identified at the time of analysis - the fix status should be monitored via the GitHub issue at https://github.com/enquirer/enquirer/issues/487 and the VulDB entry at https://vuldb.com/vuln/377113. As a compensating control, operators should validate and sanitize all inputs to Enquirer.set() to reject keys containing __proto__, constructor, or prototype before they reach the function. Alternatively, applications consuming enquirer can wrap question.name values with Object.freeze() on the prototype or use a library such as 'safe-flat' to sanitize prototype-polluting payloads at ingestion. Pinning to a version prior to confirmed affected releases (below 2.4.0) may reduce exposure but does not guarantee safety given the wildcard CPE. Developers should monitor the enquirer GitHub repository for a patched release and upgrade immediately upon availability.

Affected VersionsENISA

enquirer 2.4.1
enquirer 2.4.0

Affected Packages

euvd enquirer no fix

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

CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes) describes prototype pollution - a class of vulnerability endemic to JavaScript and Node.js environments where user-controlled input is used as a property key without sanitization against __proto__, constructor, or prototype. In enquirer (CPE: cpe:2.3:a:n/a:enquirer:*:*:*:*:*:*:*:*), the Enquirer.set() function in the Public Package API processes a question.name argument that can be manipulated to write to the shared Object.prototype chain. Enquirer is a Node.js interactive CLI prompt library widely used in developer tooling and build pipelines. Prototype pollution in such a library can propagate upstream into any Node.js application that trusts properties on Object.prototype, potentially enabling property injection, logic bypass, or privilege escalation depending on how downstream code consumes affected objects.

Know when Enquirer 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 (VulDB) PRIMARY 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
vuln.today AI 4.3 MEDIUM

Network vector retained per CVSS 4.0 source; PR:L because attacker must control question.name input; S:U and C:N/A:N because only limited local integrity impact is demonstrated.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

2
Severity Changed
Jul 09, 2026 - 16:22 NVD
MEDIUM LOW
CVSS changed
Jul 09, 2026 - 16:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

A security flaw has been discovered in enquirer up to 2.4.1. Affected is the function Enquirer.set of the component Public Package API. The manipulation of the argument question.name results in improperly controlled modification of object prototype attributes. The attack can be launched remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
popular Node.js CLI prompt library, common in developer tooling
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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