# CVE-2024-6382: Adversarial unsanitized input may cause MongoDB Rust Driver to issue unintended commands.

- Priority: **Routine**
- Reason: Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-07-02 · Modified: 2024-08-01
- Aliases: GHSA-32jf-h775-g29h
- Record: https://cvemate.com/vulnerability/CVE-2024-6382 · JSON: https://cvemate.com/vulnerability/CVE-2024-6382/json

## Description

```text
Incorrect handling of certain string inputs may result in MongoDB Rust driver constructing unintended server commands. This may cause unexpected application behavior including data modification. This issue affects MongoDB Rust Driver 2.0 versions prior to 2.8.2
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.277%, percentile 21.486%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- Crates.Io mongodb (Crates.Io): ≥ 2.0.0, \< 2.8.2
- mongodb inc mongodb rust driver: ≥ 2.0, \< 2.8.2
- mongodb rust driver: ≥ 2.0.0, \< 2.8.2

## References

- <https://jira.mongodb.org/browse/RUST-1881>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-6382>
- <https://github.com/mongodb/mongo-rust-driver/pull/1045>
- <https://github.com/mongodb/mongo-rust-driver/commit/8eac3bc6dc37a6d7667ed6c1a895c224e3ff47e1>
- <https://github.com/mongodb/mongo-rust-driver/commit/a3fe6c84ce6287348b1268f651fdac9fbed66187>
- <https://github.com/mongodb/mongo-rust-driver>

---

Data as of 2026-12-05T04:44:37.481Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
