CVE-2026-139877

HighCVSS 7.4/10Last modified Dec 4, 2026

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.

Metrics

CVSS 3.1 7.4/10CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Dec 4, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-1398787.0Cykooz fast_image_resize before 6.2.0 contains an integer overflow vulnerability in check_crop_box() that allows attackers to bypass crop boCVE-2026-1398795.4An incorrect authorization flaw in Kibana Fleet allows an authenticated user with Fleet Agent policies: Read privileges, but without IntegraCVE-2026-139886.5Inappropriate implementation in Paint in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to perform UI spoofing via a craftedCVE-2026-1398805.5FontForge through 20251009 contains an out-of-bounds read vulnerability in PcfReadEncodingsNames() in fontforge/fvimportbdf.c that allows atCVE-2026-1398813.7libexpat 2.2.3 through 2.11.0 contains an insufficient entropy vulnerability in writeRandomBytes_dev_urandom() that falls back to a predictaCVE-2026-1398826.5OS4ED openSIS Classic through 9.3 contains an sql injection vulnerability in api/StudentEnrollmentInfo.php and api/StaffInfo.php via the unqCVE-2026-1398835.3PriceBuddy before 1.0.59 contains a missing authorization vulnerability that allows unauthenticated users to refresh any product's prices thCVE-2026-1398846.0Kudu before 1.48.0 contains a time-of-check time-of-use race condition in the File Shredder feature that allows local unprivileged users to CVE-2026-1398865.3A vulnerability has been found in ApodexAI FrontierAgent up to 0.1.0. The impacted element is the function PermissionStore.load of the file CVE-2026-1398875.3A vulnerability was found in nanocoai NanoClaw up to 2026.11.0. This affects the function readEnvFile of the file src/env.ts of the componenCVE-2026-1398885.3A vulnerability was determined in Twigpine Zero up to 0.14.0. This impacts the function LoadConfig of the file internal/hooks/hooks.go. ThisCVE-2026-1398895.3A vulnerability was identified in Moonshot AI Kimi Code up to 2.5.2. Affected is the function AgentToolPolicyService of the file packages/ag
CVE-2026-139877: High severity, CVSS 7.4 | Vulnix