cvelo
P2 · HighCVSS 9.0EPSS 0.9%

Pre-authentication use-after-free in MongoDB Server replica set primary catch-up

  • CVE-2026-118383
  • GHSA-fjxh-6vgh-cx2c
  • EUVD-2026-122846

Description

A use-after-free in the replication component of MongoDB Server can occur when a newly elected replica set primary completes catch-up. The condition can be caused by requests that do not require authentication, and may result in the server terminating unexpectedly or, under certain conditions, arbitrary code execution in the context of the server process. Replica set members are affected, including the shard and config server replica set members of sharded clusters; standalone mongod instances are not.

Text from the CVE.org record.

Recommendation

  • mongodb

    • If you run 9.0.xupdate to 9.0.7 or laterPatch update: breaking changes are unlikely
    • If you run 8.3.xupdate to 8.3.16 or laterPatch update: breaking changes are unlikely
    • If you run 8.0.xupdate to 8.0.37 or laterPatch update: breaking changes are unlikely
    • If you run 7.0.xupdate to 7.0.48 or laterPatch update: breaking changes are unlikely
    • If you run 6.0.xupdate to 6.0.30 or laterPatch update: breaking changes are unlikely
    • If you run 5.0.xupdate to 5.0.35 or laterPatch update: breaking changes are unlikely
    • If you run 4.4.xupdate to 4.4.32 or laterPatch update: breaking changes are unlikely

Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • mongodb

    Affected versionsFixed in
    from 9.0.0 to before 9.0.79.0.7
    from 8.3.0 to before 8.3.168.3.16
    from 8.0.0 to before 8.0.378.0.37
    from 7.0.0 to before 7.0.487.0.48
    from 6.0.0 to before 6.0.306.0.30
    from 5.0.0 to before 5.0.355.0.35
    from 4.4.0 to before 4.4.324.4.32

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.