CVE-2026-139877

validatedZero produced an exploit or a check.

GHSA-f763-mv98-7rv9 ↗EUVD-2026-139548 ↗

check availableZero validated a working check for it.not proven exploitableZero has a detection check, but hasn't produced a full working exploit yet.
cve.orgpublic pocExploit code has been published by someone. Source signals can also carry a PoC (Proof of Concept).+17h47mkevAttacks confirmed in the real world.
sidorares mysql2 <= 3.24.6
fixed in 3.25.0
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
ETK-2026-5970Zero's internal tracking ID, independent of the CVE number., permanent identifier
pkg:npm/mysql2
+21h04mTTV
9mAI analysisAnalysis: how long the AI spent reversing this signal.
Check if you are vulnerable
timeline
0 = trigger signal
trigger signal (cve.org) +0hpublic poc+17h47mcheck available+21h04magent stopped
0
+6h
+12h

description

mysql2 versions through 3.24.6 can mishandle values supplied to text-protocol query APIs, allowing attacker-controlled input to alter SQL statements. Exposure requires the MySQL session to use NO_BACKSLASH_ESCAPES and affected client-side escaping paths such as connection.query().

mitigation

Upgrade npm mysql2 to version 3.25.0 or later. Until upgraded, disable NO_BACKSLASH_ESCAPES for affected sessions or use prepared-statement execution instead of the affected text-protocol query paths.

fixed in 3.25.0

check
available
exploit
no
automationDeterministic: a check that runs on its own, the same request on every target. Contextual: an agentic technique that needs to be applied per target, for bugs that depend on contextual flows.
contextual
auth requiredWhether an attacker needs an account first, based on the CVSS vector's Privileges Required.
no
EPSSEstimate of the chance this CVE is exploited in the next 30 days. Refreshed daily.
0.63%51st percentile
agent run time
9m
discussionsPlaces discussing this entry on GitHub, Hacker News, Bluesky and X in the last day, each counted once.
3 todayon GitHub and X, 5 this week
storiesArticles about this entry on the security news sites we follow, newest first.
–no news coverage yet
trendAttention in the last 6 hours against the 42 before.
coolinglast 6 h against the 42 before
cve.org record, t = 0The moment cve.org publishes the CVE in full.
2026-11-30 16:20Z
Δ to public pocExploit code has been published by someone. Source signals can also carry a PoC (Proof of Concept).
+17h47m
Δ to kevAttacks confirmed in the real world.
–

outcome

Contextual check: a technique exists and was validated, but no deterministic check could cover this one.

source signals

Public signals that triggered or updated the pipeline. These are inputs for the deltas above.

  1. 2026-11-30 16:20Z
    cve_org: trigger signal, started the run
  2. 2026-12-01 13:04Z

this entry in the feed

GET /api/v1/feed/CVE-2026-139877

{
  "etk_id": "ETK-2026-5970",
  "cve_id": "CVE-2026-139877",
  "display_id": "CVE-2026-139877",
  "ghsa_id": "GHSA-f763-mv98-7rv9",
  "euvd_id": "EUVD-2026-139548",
  "status": "published",
  "anchor_state": "anchored",
  "title": "SQL injection in sidorares mysql2 query escaping",
  "summary": "mysql2 versions through 3.24.6 can mishandle values supplied to text-protocol query APIs, allowing attacker-controlled input to alter SQL statements. Exposure requires the MySQL session to use NO_BACKSLASH_ESCAPES and affected client-side escaping paths such as connection.query().",
  "mitigation": "Upgrade npm mysql2 to version 3.25.0 or later. Until upgraded, disable NO_BACKSLASH_ESCAPES for affected sessions or use prepared-statement execution instead of the affected text-protocol query paths.",
  "vendor": "sidorares",
  "product": "mysql2",
  "affected": [
    {
      "affected_notes": [],
      "affected_ranges": [
        "<= 3.24.6"
      ],
      "ecosystem": "npm",
      "fixed_versions": [
        "3.25.0"
      ],
      "package_name": "mysql2",
      "purl": "pkg:npm/mysql2"
    }
  ],
  "cwes": [
    89
  ],
  "cvss_score": 9.1,
  "cvss_src": "cna_vendor",
  "cvss_vector": "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",
  "epss_score": 0.0063,
  "epss_percentile": 0.5135,
  "epss_asof": "2026-12-01",
  "automation": "contextual",
  "check": true,
  "check_confidence_basis": "assessed",
  "exploit": false,
  "pipeline_minutes": 8.64162915,
  "t0_at": "2026-11-30T16:20:44.034000+00:00",
  "signals": {
    "check": {
      "at": "2026-12-01T13:24:52.998238+00:00",
      "days": 0.8778815305324074,
      "is_lower_bound": false,
      "measured_at": "2026-11-30T16:20:44.034000+00:00",
      "url": null
    },
    "public_poc": {
      "at": "2026-12-01T10:08:12+00:00",
      "days": 0.7412959027777778,
      "is_lower_bound": false,
      "measured_at": "2026-11-30T16:20:44.034000+00:00",
      "url": "https://github.com/Xeyalm/CVE-2026-139877"
    },
    "trigger_signal": {
      "at": "2026-11-30T16:20:44.034000+00:00",
      "days": 0,
      "is_lower_bound": false,
      "measured_at": "2026-11-30T16:20:44.034000+00:00",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-139877"
    }
  }
}

published 2026-11-30 16:37Z
last change 2026-12-02 11:19Z

Need the technical details behind an entry?

Every entry here shows what we attempted and when. The technical details, the generated exploit that fired it and the evidence behind the verdict are not public. Tell us about your use case and we’ll get back to you about extended API access.