Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
MEDIUM severity

Prototype Pollution in AjvGHSA-v88g-cgmw-v5xw

MEDIUMFix: ajv-validator/ajv@65b2f7d

GHSA-v88g-cgmw-v5xw is a medium-severity (CVSS 5.6) CWE-1321 vulnerability in ajv. A fix is available for ajv — see the affected versions and patch details below.

Also known asCVE-2020-15366
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Oct 9, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
2.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs83th percentile — riskier than 83% of all scored CVEsHighest risk
0.00%0.97%1.94%2.91%0.4%0.3%2.3%2.3%2.3%Apr 26Jul 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

GHSA-v88g-cgmw-v5xw by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

20Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
ajvnpm
391.1Mdownloads / week

Description

An issue was discovered in ajv.validate() in Ajv (aka Another JSON Schema Validator) 6.12.2. A carefully crafted JSON schema could be provided that allows execution of other code by prototype pollution. (While untrusted schemas are recommended against, the worst case of an untrusted schema should be a denial of service, not execution of code.)

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmajvall versions6.12.3npm install ajv@6.12.3

Affected Products

1 product · 1 configurations
Application
ajvajv.js
1 version
6.12.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for ajv, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update ajv to 6.12.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-v88g-cgmw-v5xw is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

In both OpenShift Container Platform (OCP) and OpenShift ServiceMesh (OSSM), the affected containers are behind OpenShift OAuth authentication. This restricts access to the vulnerable nodejs-ajv library to authenticated users only, therefore the impact is low.

ProductFixed inAdvisory
Red Hat Automation Hub 4.2 for RHEL 7automation-hub-0:4.2.2-1.el7pcRHSA-2021:0781
Red Hat Enterprise Linux 8nodejs:12-8030020201124152102.229f0a1cRHSA-2020:5499
Red Hat Enterprise Linux 8nodejs:10-8030020210118191659.229f0a1cRHSA-2021:0548
Red Hat Enterprise Linux 8nodejs:14-8030020210126165503.229f0a1cRHSA-2021:0551
Red Hat OpenShift Container Platform 4.6openshift4/ose-console:v4.6.0-202010100121.p0RHSA-2020:4298
Red Hat Quay 3quay/quay-rhel8:v3.6.0-62RHSA-2021:3917
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs12-nodejs-0:12.19.1-2.el7RHSA-2020:5305
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-0:14.15.4-2.el7RHSA-2021:0421

Frequently Asked Questions

An issue was discovered in ajv.validate() in Ajv (aka Another JSON Schema Validator) 6.12.2. A carefully crafted JSON schema could be provided that allows execution of other code by prototype pollution. (While untrusted schemas are recommended against, the worst case of an untrusted schema should be a denial of service, not execution of code.)
O3 Security · Impact-Aware SCA

Is GHSA-v88g-cgmw-v5xw in your dependencies?

Find it across npm, including transitive dependencies.

Prototype Pollution in Ajv (Medium 5.6)