CVE-2026-15187 Details
Description
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.
A prototype pollution vulnerability has been identified in the Enquirer package, specifically in versions through 2.4.1. The issue arises in the Public Package API, where the Enquirer.set function improperly handles the question.name argument. This mismanagement allows for uncontrolled modifications of object prototype attributes. The vulnerability can be exploited remotely, and the published exploit takes advantage of this flaw.
It is recommended to reject harmful path segments in question names before processing them, particularly those related to the prototype, such as '__proto__', 'constructor', and 'prototype'. Additionally, internal setters should be modified to only traverse safe own properties, avoiding inherited ones.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 9, 2026CISA-ADP
Assessed Jul 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/enquirer/enquirer/ | [email protected] | ProductSource CodeVendor |
| https://github.com/enquirer/enquirer/issues/487 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/enquirer/enquirer/issues/487#issuecomment-4648521328 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/cve/CVE-2026-15187 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/851357 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/377113 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/377113/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| enquirer | <= 2.4.1 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 3, 2026 | CVE Modified | [email protected] |
| Sep 3, 2026 | CVE Modified | CISA-ADP |
| Jul 9, 2026 | CVE Modified | CISA-ADP |
| Jul 9, 2026 | New CVE Received | [email protected] |
Volerion