GoWorst: Moderate2 advisories

go.mongodb.org/mongo-driver: known vulnerabilities

go.mongodb.org/mongo-driver has 2 reviewed security advisories in the GitHub Advisory Database — 2 moderate. The most recent was published 2026-02-10. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the go.mongodb.org/mongo-driver versions running across your servers, containers and images, and ranks what to patch first.

How to fix go.mongodb.org/mongo-driver

Upgrade go.mongodb.org/mongo-driver to a release at or above the fixed version shown for each advisory below. For Go:

go get go.mongodb.org/mongo-driver@1.17.7 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

mongo-go-driver has Heap Out-of-Bounds Read in GSSAPI Error Handling Moderate 6.5 CWE-183 — Affected: before 1.17.7. Fixed in 1.17.7. Published 2026-02-10. GHSA-cp6g-7hqx-qxhp · CVE-2026-2303
go.mongodb.org/mongo-driver improperly validates cstrings when marshalling Go objects into BSON Moderate 6.8 CWE-1287 CWE-20 — Affected: before 1.5.1. Fixed in 1.5.1. Published 2021-06-10. GHSA-f6mq-5m25-4r72 · CVE-2021-20329

Find go.mongodb.org/mongo-driver across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.