CVE-2026-139877

HIGH Status: Received

CVSS Scores

CVSS v3.x Base Score
7.4
HIGH

Description

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.

Published
November 30, 2026 5:18 PM
Last Modified
November 30, 2026 5:18 PM
Source
[email protected]

Weaknesses (CWE)

CWE-89

References

Contact Us

Get the CyboWatch SIEM platform, hosting, and 24×7 SOC analysts. Send an enquiry, or call or email us to get started.

Send an enquiry