Critical Remote Code Execution (CVE‑2026‑92189) in Quest Foglight for Databases Allows Unauthenticated System‑Level Compromise
What It Is — Quest Foglight for Databases, a widely‑deployed performance‑monitoring suite for Oracle, SQL Server, DB2 and other enterprise databases, contains a remote code execution flaw (CVE‑2026‑92189) with a CVSS v3.1 base score of 9.8 Critical. The defect resides in the writeTopologySectionToFile method, which writes topology information to a file supplied by the caller. The method fails to validate the caller‑provided path, allowing an attacker to specify an arbitrary location on the host filesystem. Because the function runs under the Windows SYSTEM service account, an unauthenticated network‑connected adversary can craft a request that causes the server to write a malicious payload (e.g., a Windows DLL or PowerShell script) to any location, then trigger its execution via the same or a secondary call. No authentication, user interaction, or prior foothold is required; the attack vector is network‑reachable (AV:N) and the exploit can be launched automatically (UI:N).
Affected Products — Quest Foglight for Databases, all versions prior to 8.3. The advisory lists the vendor as Quest and the product family as Foglight for Databases.
Why It Matters for Trust & Control Assurance — The vulnerability directly tests an organization’s vulnerability‑management and secure‑development control objective: the ability to detect, prioritize, and remediate critical software flaws before they can be weaponized.
Recommended Actions —
- Patch Immediately – Upgrade all Foglight installations to version 8.3 or later, which contains the vendor‑supplied fix.
- Validate Asset Inventories – Confirm that every monitored host runs the patched version; document the version state as evidence of remediation.
- Enable Runtime Monitoring – Deploy host‑based intrusion‑detection or file‑integrity monitoring to alert on unexpected writes to system directories.
- Review Logging – Ensure that Foglight’s audit logs capture file‑write operations and that they are forwarded to a centralized SIEM for correlation.
- Conduct Post‑Remediation Testing – Perform a controlled exploit test (or use a reputable scanning service) to verify that the vulnerability is no longer exploitable.
Source: Zero Day Initiative advisory
Background
Quest Foglight for Databases is a commercial monitoring platform that aggregates performance metrics, query statistics, and topology data from heterogeneous database environments. Enterprises rely on it for capacity planning, SLA reporting, and early‑warning of database health issues. Because Foglight runs as a privileged Windows service (often under the SYSTEM account) and must write topology files to disk, it has historically been a high‑value target for attackers seeking lateral movement or persistence within a network.
Discovery and Disclosure Timeline
- 2026‑04‑30 – An independent security researcher reported the flaw to Quest under a coordinated vulnerability‑disclosure program.
- 2026‑11‑03 – Quest publicly released an advisory (ZDI‑26‑861 / ZDI‑CAN‑29169) confirming the vulnerability, assigning CVE‑2026‑92189, and publishing a CVSS 9.8 score.
- 2026‑11‑03 – The advisory was updated the same day to include remediation guidance and a reference to the forthcoming patch.
Technical Details
The vulnerable code path is invoked when Foglight’s web UI or API receives a request to export topology data. The request includes a filePath parameter that the server concatenates directly into a File.WriteAllText call without sanitization. An attacker can supply a path such as C:\Windows\System32\malicious.dll or C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\evil.ps1. Because the Foglight service runs with SYSTEM privileges, the write succeeds, placing the attacker’s payload in a location that will be executed automatically by the OS or by a subsequent Foglight operation.
Exploitation can be automated with a simple HTTP POST containing the malicious path and a base‑64‑encoded payload. No authentication token, session cookie, or prior compromise is required, making the attack viable against any externally reachable Foglight endpoint.
Impact
Successful exploitation grants arbitrary code execution in the context of the SYSTEM account, effectively giving the attacker full control over the host. From there, lateral movement to other database servers, credential dumping, or deployment of ransomware becomes trivial. The advisory notes that the vulnerability is universal across all supported database platforms, meaning any organization using Foglight for Oracle, SQL Server, DB2, MySQL, or PostgreSQL is exposed.
Detection and Response
Quest’s internal security team detected the issue during a routine code review and engaged the reporting researcher. The vendor issued a security advisory and a patch (Foglight 8.3) within the same day of public disclosure. No known active exploitation was reported at the time of the advisory, but the high severity and ease of exploitation prompted immediate customer notifications.
Industry Reaction
Security analysts have highlighted the flaw as a reminder that privileged monitoring agents must be subject to the same rigorous secure‑coding standards as core applications. The vulnerability also underscores the importance of continuous vulnerability scanning for third‑party software that runs with elevated privileges.
Open Questions
- Whether any threat actors have weaponized the flaw in the wild remains unknown; no public exploit code has been released.
- The advisory does not detail whether any compromised Foglight deployments have been observed in the field.