CVE-2023-3696Mongoosejs Mongoose
Critical 9.8 No auth needed
Follow: this CVE · Mongoosejs · Mongoosejs Mongoose We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- Jul 17, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Prototype Pollution in GitHub repository automattic/mongoose prior to 7.3.4.
What to do
- Apply the vendor's security update for Mongoose.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | mongoose |
≥ 7.0.0 < 7.3.3 |
7.3.3 |
npm install mongoose@7.3.3 |
| npm | mongoose |
≥ 6.0.0 < 6.11.3 |
6.11.3 |
npm install mongoose@6.11.3 |
| npm | mongoose |
< 5.13.20 |
5.13.20 |
npm install mongoose@5.13.20 |
Per OSV / GitHub Advisories (GHSA-9m93-w8w6-76hh). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mongoosejs | mongoose | < 5.13.20 |
| mongoosejs | mongoose | ≥ 6.0.0 < 6.11.3 |
| mongoosejs | mongoose | ≥ 7.0.0 < 7.3.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- huntr.dev Exploit Patch