Skip to content
STAGE33R

CVE-2026-139877

HIGH 7.4

Summary

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.

Key facts

  • Vendor: sidorares
  • CVSS 3.1: 7.4 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N)
  • EPSS (30-day exploitation probability): 0.78%
  • Published: 2026-11-30
  • Last modified: 2026-11-30
  • Weakness: CWE-89

Data aggregated from NVD, CISA KEV, FIRST EPSS and OSV.dev. Updated 2026-12-02.

Get alerts and watchlists for vulnerabilities like this · Browse all vulnerabilities