CVE-2026-15195: apidevtools json-schema-ref-parser pointer.ts Pointer.set prototype pollution
A weakness has been identified in apidevtools json-schema-ref-parser up to 15.3.5. This impacts the function Refs.set/Pointer.set in the library lib/pointer.ts. Executing a manipulation can lead to improperly controlled modification of object prototype attributes. The attack can be launched remotely. Upgrading to version 15.3.6 will fix this issue. This patch is called a786bc6afc3674f650496472ee93d5cf74c4bd84. It is suggested to upgrade the affected component.
Other sources
A weakness has been identified in apidevtools json-schema-ref-parser. This impacts the function Refs.set/Pointer.set in the library lib/pointer.ts. Executing a manipulation can lead to improperly controlled modification of object prototype attributes. The attack can be launched remotely. Upgrading to version 15.3.6 will fix this issue. This patch is called a786bc6afc3674f650496472ee93d5cf74c4bd84. It is suggested to upgrade the affected component. The project maintainer confirms: "I reproduced prototype pollution through the public $Refs.set() API in published versions 7.1.4, 9.0.0, 11.0.0, 14.0.0, 14.2.1, 15.3.0, and 15.3.5. The same pointer is rejected by 15.3.6 without modifying Object.prototype. This reported path requires an application to pass an attacker-controlled pointer to $Refs.set(); dependency presence alone does not establish exploitability."
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
apidevtools/json-schema-ref-parserto a version that resolves this vulnerability.Fixed in 15.3.6Patch a786bc6afc3674f650496472ee93d5cf74c4bd84
Event History
Frequently Asked Questions
What is the severity of CVE-2026-15195?
The severity of CVE-2026-15195 is assessed as low with a score of 2.1.
What is the nature of the vulnerability in CVE-2026-15195?
CVE-2026-15195 involves prototype pollution in the apidevtools json-schema-ref-parser library, specifically in the function Refs.set/Pointer.set.
How can I mitigate CVE-2026-15195?
To mitigate CVE-2026-15195, update to a patched version of apidevtools/json-schema-ref-parser greater than 15.3.5.
What kind of attacks can be executed using CVE-2026-15195?
Exploitation of CVE-2026-15195 can allow attackers to manipulate object prototype attributes from a remote location.
Is CVE-2026-15195 a code injection vulnerability?
Yes, CVE-2026-15195 is classified under the Code Injection category due to its ability to allow modification of object prototypes.