Answer in brief
CVE-2026-139877 records a Critical severity (CVSS 9.1) vulnerability in mysql2 before 3.25.0 SQL Injection via Placeholder Escaping under NO_BACKSLASH_ESCAPES. The current sources do not mark it as known exploited. The current feed maps sidorares/mysql2 (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 9.1. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps sidorares/mysql2 (generic). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| sidorares/mysql2generic | >=0 <3.25.0 | 3.25.0 |
Published upstream
Nov 30, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Nov 30, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Nov 30, 2026
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.
Quoted source text, attributed separately from HOL analysis.