CVE-2026-139877 mysql2 - SQL Injection

mysql2 < 3.25.0 contains an SQL injection caused by improper escaping in Connection.format() and Connection.escape() when NO_BACKSLASH_ESCAPES mode is enabled, letting attackers disclose or modify data via crafted query placeholders.

CVSS base score 7.4 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
View the NVD record ↗