HOMEVULNERABILITIESCVE-2009-5026
MEDIUMPOC

CVE-2009-5026

CWE-89Published: August 17, 2012· Updated: Jun 16, 2026

6.8
CVSS v3.1

Official Description

The executable comment feature in MySQL 5.0.x before 5.0.93 and 5.1.x before 5.1.50, when running in certain slave configurations in which the slave is running a newer version than the master, allows remote attackers to execute arbitrary SQL commands via custom comments.

NVD Source

Technical Analysis

CVE-2009-5026 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A proof-of-concept (PoC) exploit exists for CVE-2009-5026. While not yet confirmed in active campaigns, the availability of PoC code increases exploitation risk substantially.

From a weakness classification perspective (CWE-89): SQL injection vulnerabilities allow attackers to manipulate database queries, potentially exposing or modifying sensitive data.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityM
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityP
IntegrityP
AvailabilityP
AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected Vendors & Products

mysql1 product(s)
mysql
Oracle1 product(s)
mysql
Source: NVD CPE · 81 total CPE entries

Exploit & PoC Resources

POC AVAILABLEProof-of-concept code exists
External links open in a new tab. Always verify in a controlled environment before use.

All References (14)

Quick Facts

CVE IDCVE-2009-5026
CVSS Score6.8 / 10
SeverityMEDIUM
WeaknessCWE-89
CISA KEVNo
ExploitPOC
Affected2 vendor(s)
PublishedAug 17, 2012

Related CVEs (CWE-89)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2009-5026 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.