Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2025-59333: MCP Database Server Read-Only Mode Bypass

Published Sep 16, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.1High · v3.1
EPSS0.40%35th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Executeautomation
IdentifiersCVE-2025-59333CWE-284 · Improper Access Control

CVE-2025-59333 is an improper access control vulnerability in ExecuteAutomation MCP Database Server versions 1.1.0 and earlier distributed through npm. The read_query handler implements read-only mode by permitting queries whose trimmed, lowercased text begins with SELECT. This prefix check is insufficient for PostgreSQL, where SELECT statements can invoke stored functions and administrative functions with side effects. An attacker can therefore submit apparently read-only queries that perform actions otherwise expected to be blocked by the server's read-only control. Other distribution channels are not affected.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An authenticated attacker able to issue queries through the MCP server can invoke database functions permitted to the MCP server's database account. Depending on assigned database privileges and available functions, this can enable unauthorized data access, invocation of data-changing stored functions, and denial of service by terminating active database backends or queries. The reported CVSS v3.1 score is 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H).

Mitigation

If you can’t patch tonight, do this now.

Until remediation is deployed, disable or restrict MCP Database Server access, limit it to trusted authenticated users and networks, and use a dedicated database account with only the minimum SELECT permissions required. Revoke access to administrative and side-effecting functions, avoid granting broad roles, restrict accessible schemas and tables, and monitor query activity for function invocation and database-session termination attempts.

Remediation

Patch, then assume compromise.

Replace prefix-based SQL validation with enforceable database-side authorization controls. Use a dedicated least-privilege database role that lacks permissions for administrative functions, data modification, and access to non-required objects. Restrict the MCP service to explicitly allowlisted read operations and tables, enforce single-statement requests, and upgrade to a vendor release that corrects the issue when available. This applies to the affected npm distribution.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
ExecuteautomationMcp Database Serverapplication
FAQ

Frequently asked questions

Is CVE-2025-59333 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2025-59333 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-59333?
Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2025-59333.
Is there a patch for CVE-2025-59333?
Replace prefix-based SQL validation with enforceable database-side authorization controls. Use a dedicated least-privilege database role that lacks permissions for administrative functions, data modification, and access to non-required objects.
What products are affected by CVE-2025-59333?
Executeautomation Mcp Database Server.
How severe is CVE-2025-59333?
CVE-2025-59333 has a CVSS v3.1 score of 8.1 (High) and an EPSS score of 0.40% (35th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.