---
title: "mysql2 3.24.6: release notes, upgrades and advisories"
description: "mysql2 3.24.6: release notes, breaking changes by major version and 7 known advisories with their fix."
url: https://inlinr.com/packages/mysql2
lang: en
---

[Packages](https://inlinr.com/packages)

# mysql2

3.24.6 · 13 Oct 2026 MIT 25.7M / week [Repository](https://github.com/sidorares/node-mysql2) [Homepage](https://sidorares.github.io/node-mysql2/docs) [npm](https://www.npmjs.com/package/mysql2) [Atom feed](https://inlinr.com/packages/feed/mysql2)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/mysql2/upgrade)

LineNewestSecurity

- 3.x 3.24.6 Safe from 3.23.1 Latest line
- 2.x and older 2.3.3 126 open advisories, worst critical  · last release Nov 2021, no longer updated [To 3.24.6](https://inlinr.com/packages/mysql2/upgrade/2.3.3-3.24.6)

## Latest releases

[All 218 releases](https://inlinr.com/packages/mysql2/releases)

1. ### [3.24.6](https://inlinr.com/packages/mysql2/releases/3.24.6 "Open this release") [](https://github.com/sidorares/node-mysql2/releases/tag/v3.24.6 "Read this release where it was published")  
13 Oct 2026

  - Allocate a new LOCAL INFILE terminator packet per write ([#4580](https://github.com/sidorares/node-mysql2/issues/4580 "https://github.com/sidorares/node-mysql2/issues/4580")) ([8c068ef](https://github.com/sidorares/node-mysql2/commit/8c068efa427f1a6afef250beda6716b8520f07d9 "https://github.com/sidorares/node-mysql2/commit/8c068efa427f1a6afef250beda6716b8520f07d9")), closes [#4568](https://github.com/sidorares/node-mysql2/issues/4568 "https://github.com/sidorares/node-mysql2/issues/4568")
2. ### [3.24.5](https://inlinr.com/packages/mysql2/releases/3.24.5 "Open this release") [](https://github.com/sidorares/node-mysql2/releases/tag/v3.24.5 "Read this release where it was published")  
29 Sep 2026

  - Strip the brackets from an IPv6 host in a connection URI
3. ### [3.24.4](https://inlinr.com/packages/mysql2/releases/3.24.4 "Open this release") [](https://github.com/sidorares/node-mysql2/releases/tag/v3.24.4 "Read this release where it was published")  
8 Sep 2026

  - per-query overhead, local dates, short strings, TLS context and compression
  - Reuse TLS sessions across connections to the same server

Dependency tracking

## Know when your own dependencies move

mysql2 had 2 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

[All 7](https://inlinr.com/packages/mysql2/security)

- [MySQL2 for Node Arbitrary Code Injection](https://inlinr.com/advisories/GHSA-4rch-2fh8-94vw) Critical · fixed in 3.9.7
- [mysql2 Remote Code Execution (RCE) via the readCodeFor function](https://inlinr.com/advisories/GHSA-fpw7-j2hg-69v5) Critical · fixed in 3.9.4
- [MySQL2: Auth Plugin Downgrade to mysql\_clear\_password Leaks Plaintext Credentials](https://inlinr.com/advisories/GHSA-3f6p-5ww8-9rcr) High · fixed in 3.22.0

## Health of 3.24.6

[Details](https://inlinr.com/packages/mysql2/security#signals)

- **Provenance**: Present
- **Publisher**: GitHub Actions
- **Maintainers**: 1
- **Scorecard**: 5.9 / 10
- **Size**: 630 kB

## Weekly downloads

## Works with

- [@types/node](https://inlinr.com/packages/@types/node)

Reading releases, release notes and advisories…

Registry facts last checked 18 Nov 2026\. Releases and advisories last read 22 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
