PT-2026-163875

CVE-2026-139877

·

Published

2026-11-30

·

Updated

2026-12-01

Description by

CVSS 4.0
9.1
Critical
MetricsAV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions mysql2 versions prior to 3.25.0
Description An issue exists where quotes are always backslash-escaped regardless of the session SQL mode. When the MySQL server is configured with the NO BACKSLASH ESCAPES sql mode enabled, attackers can provide crafted values through ? placeholders in connection.query() to close string literals and append arbitrary SQL, leading to unauthorized data disclosure or modification. This affects the Connection.format() and Connection.escape() functions. Prepared statements using connection.execute() are not affected.
Recommendations Update to version 3.25.0.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-F763-MV98-7RV9
Found an issue in the description? Have something to add? Feel free to write us 👾