Description
libmongocrypt builds requests to external key management services (AWS, Azure and GCP) by inserting values from key vault documents, KMS provider configuration and KMS responses into request lines, headers and signed request bodies without validating or encoding them for each context. A user with write access to the key vault collection can alter the structure of these requests, including adding members to request bodies and token claims that the library then signs with the application's credentials. This may result in key management operations being performed with parameters the application did not intend.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | libmongocrypt | 1.0.0 – < 1.21.1 | 1.21.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libmongocrypt | 1.21.1-1 | — |
| Debian 13 | libmongocrypt | No fix yet | — |
| Debian 12 | libmongocrypt | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libmongocrypt | No fix yet | — |
| Ubuntu 26.04 LTS | libmongocrypt | No fix yet | — |
| Ubuntu 24.04 LTS | libmongocrypt | No fix yet | — |
| Ubuntu 22.04 LTS | libmongocrypt | No fix yet | — |