Technology · npm
mysql2 (npm) vulnerabilities
Updated . Rebuilt every hour.
Junglewise Threat Intelligence has tracked 7 vulnerabilities in mysql2 (npm): 0 in the last 7 days and 2 in the last 90 days, 0 of them critical and 0 exploited in the wild. The most recent, MySQL2 auth plugin downgrade to mysql_clear_password leaks plaintext credentials, was published on 1 September 2026. Nothing was published in the last eight weeks.
- Last 7 days
- 0
- Last 90 days
- 2
- Critical, all time
- 0
- Exploited in the wild
- 0
About mysql2 (npm)
Node.js driver for MySQL database connectivity and query execution.
Latest mysql2 (npm) vulnerabilities
- MySQL2 auth plugin downgrade to mysql_clear_password leaks plaintext credentialshighCVSS 8.2
- MySQL2 unbounded zlib inflate decompression-bomb DoSlowCVSS 3.1
- CVE-2024-21512: mysql2 prototype pollution in nestTableslowCVSS 3.1EPSS 3.1%
- CVE-2024-21511: mysql2 for Node arbitrary code injection via timezone parameterlowCVSS 3.1EPSS 1.0%
- CVE-2024-21508: mysql2 remote code execution in readCodeFor functionlowCVSS 3.1EPSS 2.5%
- CVE-2024-21509: mysql2 prototype poisoning in result parserlowCVSS 3.1EPSS 1.0%
- CVE-2024-21507: mysql2 cache poisoning vulnerabilitylowCVSS 3.1EPSS 0.7%
Most severe mysql2 (npm) vulnerabilities
Exploited in the wild first, then by severity and CVSS score.
- MySQL2 auth plugin downgrade to mysql_clear_password leaks plaintext credentialshighCVSS 8.2
- CVE-2024-21512: mysql2 prototype pollution in nestTableslowCVSS 3.1EPSS 3.1%
- CVE-2024-21508: mysql2 remote code execution in readCodeFor functionlowCVSS 3.1EPSS 2.5%
- CVE-2024-21511: mysql2 for Node arbitrary code injection via timezone parameterlowCVSS 3.1EPSS 1.0%
- CVE-2024-21509: mysql2 prototype poisoning in result parserlowCVSS 3.1EPSS 1.0%
- CVE-2024-21507: mysql2 cache poisoning vulnerabilitylowCVSS 3.1EPSS 0.7%
- MySQL2 unbounded zlib inflate decompression-bomb DoSlowCVSS 3.1
Vulnerabilities per week
Nothing was published in the last eight weeks. The last 13 weeks, by the week each vulnerability was published.
| Week of | Bar | Vulns | Critical |
|---|---|---|---|
| 17 Aug 2026 | 0 | 0 | |
| 24 Aug 2026 | 0 | 0 | |
| 31 Aug 2026 | 2 | 0 | |
| 7 Sep 2026 | 0 | 0 | |
| 14 Sep 2026 | 0 | 0 | |
| 21 Sep 2026 | 0 | 0 | |
| 28 Sep 2026 | 0 | 0 | |
| 5 Oct 2026 | 0 | 0 | |
| 12 Oct 2026 | 0 | 0 | |
| 19 Oct 2026 | 0 | 0 | |
| 26 Oct 2026 | 0 | 0 | |
| 2 Nov 2026 | 0 | 0 | |
| 9 Nov 2026 | 0 | 0 |
Embed a badge
A live badge for a README, a status page or an internal wiki: how many mysql2 (npm) vulnerabilities were published in the last 7 days and how many of them are critical, refreshed hourly.
[](https://junglewise.ai/threats/technologies/mysql2)<a href="https://junglewise.ai/threats/technologies/mysql2"><img src="https://junglewise.ai/threats/technologies/mysql2/badge.svg" alt="mysql2 (npm) vulnerabilities" /></a>How this is built
Junglewise Threat Intelligence collects vulnerabilities from NVD, GitHub Security Advisories, OSV, the CISA Known Exploited Vulnerabilities catalog, FIRST EPSS and vendor advisories, and matches each one to the technologies and vendors it affects. Dates are the date a vulnerability was published, in UTC.
The pages are rebuilt from the database every hour. Frozen weekly and monthly reports never change once published, so they can be cited.
Use this data
The same data is at https://junglewise.ai/threats/technologies/mysql2.json, and this page as text at https://junglewise.ai/threats/technologies/mysql2.md, for scripts and language models. It is free to reuse under CC BY 4.0 with a link back to this page.
Cite as: Junglewise Threat Intelligence, "mysql2 (npm) vulnerabilities", https://junglewise.ai/threats/technologies/mysql2, 13 November 2026.