CVE-2026-51077: DedeCMS SQL injection in sys_sql_query.php

CVE-2026-51077 · Severity: info · CVSS 0 · Published 2026-07-27

DedeCMS, a popular content management system, contains a security vulnerability in its SQL Command Line Tool. An attacker with access to the administrative backend can execute unauthorized database commands to steal sensitive information, such as administrator credentials, or delete critical website data. This could lead to a complete takeover of the website or permanent loss of business information.

Technologies: DedeCMS. Vendors: DedeCMS.

Quick answers

Is CVE-2026-51077 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-51077 being exploited in the wild.
How severe is CVE-2026-51077?
Informational severity, with a CVSS score of 0, published 27 July 2026.
Which products and versions are affected?
DedeCMS <= V5.7.118.
Is there a fix for CVE-2026-51077?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-51077 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-51077?
Check whether you run DedeCMS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A SQL injection vulnerability exists in the 'sqlquery' parameter of the 'sys_sql_query.php' component in DedeCMS <= V5.7.118. The vulnerability arises because the 'safeCheck' security mechanism, intended to block dangerous SQL operations like data deletion, is explicitly disabled (set to FALSE) in the '/dede/config.php' configuration file. An authenticated attacker can bypass intended restrictions by using error-based SQL injection techniques (e.g., using extractvalue) or by creating malicious database triggers to perform unauthorized data exfiltration or deletion. The backend executes these commands via the ExecuteNoneQuery function in the DedeSqlite/mysqli class without sufficient sanitization.

Affected products

  • DedeCMS DedeCMS <= V5.7.118

Timeline

  • 2026-07-27: disclosed: Initial disclosure and CVE assignment
  • 2026-07-27: advisory: NVD publication date

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.