Loading the vulnerability…
Mysql2 before 3.25.0 SQL Injection via Placeholder Escaping under NO_BACKSLASH_ESCAPES
Not on CISA's list of exploited flaws, and not in the news we track.
9.1of 10, critical
Reading the vendor advisory
Fix it in your code
Each opens with a short prompt that points at Global Exploits's public runbook for CVE-2026-139877. Nothing runs until you send it.
mysql2 before 3.25.0 contains an sql injection vulnerability in Connection.format() and Connection.escape() because quotes are always backslash-escaped regardless of session SQL mode. When NO_BACKSLASH_ESCAPES is enabled, attackers can pass crafted values through ? placeholders in connection.query() to close string literals and append SQL, disclosing or modifying data.