CVE-2026-139877
⚠️ highSummary
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.
CVSS Score
7.4
High
EPSS Score
0.8
Exploit Probability
Published Date
2026-11-30
First Seen: 2026-12-04
📊 Relative Risk Intelligence
This CVE is Moderate Risk - more severe than 56.0% of all 383,842 vulnerabilities in our database.
#168,774
Above average severity
Severity Percentile
🎯 CISA SSVC Assessment Updated: Dec 3, 2026
🔍 Exploitation Status
Poc
Proof-of-concept available
⚙️ Automatable
NO
Requires human interaction
💥 Technical Impact
Total
Complete system compromise possible
🏆 Discovered By
Vishal Suwalka
secondseccve
SSVC data provided by
CISA
Last Modified
2026-12-03
Source
NVD 🔗
CVSS Vector 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS Vector 4.0
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE IDs (Weakness Types)