CVE-2026-82054: A security issue exists in MongoDB server's JSON Pointer parser used during $jsonSchema query filter processing.

Medium CVSS 6.5

CVE id
CVE-2026-82054
Published
Last modified

Affected packages

PackageAffected versionsFixed in
MongoDB
Runtimes and servers
>= 7.0.0, < 7.0.41
>= 8.0.0, < 8.0.30
>= 8.2.0, <= 8.2.12
>= 8.3.0, < 8.3.9
7.0.41, 8.0.30, 8.3.9

How to fix it

Upgrade MongoDB to the fixed release of the line you run: 7.0.41, 8.0.30, 8.3.9.

mongod --version
  • Install the patched MongoDB release of your series (the mongo image tag or the mongodb-org packages); on Atlas, MongoDB patches the servers.

A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.

Details

A security issue exists in MongoDB server's JSON Pointer parser used during $jsonSchema query filter processing. When a find command includes a specially crafted $jsonSchema filter field, the parser processes the input without enforcing adequate limits on iteration count or total allocation size, resulting in significant memory amplification. Under concurrent request load, the cumulative memory consumption can exhaust available heap memory, causing the server's out-of-memory handler to terminate the mongod process and deny service to all connected clients.

References

Am I affected?

Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.

or paste its content

Needed when you paste. package.json and pyproject.toml only have version ranges: use the lockfile next to them.

Only package names and versions are checked; the file itself is not kept. We use your email to send this report and nothing else unless you tick the box above. Privacy policy.

About this data

Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.