CWEweakness

CWE-489 Active Debug Code

Official page ↗
Alternate terms
Leftover debug code
Abstraction
Base
Structure
Simple
Status
Draft
Languages
Not Language-Specific, Python
CWE version
5.0

Description

The product is released with debugging code still enabled or active.

Common consequences

• Confidentiality, Integrity, Availability, Access Control, Other: Bypass Protection Mechanism, Read Application Data, Gain Privileges or Assume Identity, Varies by Context — Active debug code can create unintended entry points or expose sensitive information. The severity of the exposed debug code will depend on the particular instance. At the least, it will give an attacker sensitive information about the settings and mechanics of web applications on the server. At worst, as is often the case, the debug code will allow an attacker complete control over the web application and server, as well as confidential information that is accessed by either of these.

Potential mitigations

• [Build and Compilation, Distribution] Remove debug code before deploying the application.

Detection methods

• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Observed examples

• CVE-2024-44092: smartphone is built for production with debugging code present, allowing local privilege escalation • CVE-2024-36475: network hub contains active debug code, which allows users to execute arbitrary OS commands using a debug function • CVE-2024-29075: Mesh Wi-Fi router has active debug code, allowing attackers to modify device settings

Related

Attack pattern · CAPEC (2)

  • CAPEC-121 Exploit Non-Production Interfaces attack pattern
  • CAPEC-661 Root/Jailbreak Detection Evasion via Debugging attack pattern

Observed example · CVE (3)

  • CVE-2024-29075 Active debug code vulnerability exists in Mesh Wi-Fi router RP562B firmware version v1.0.2 and earlier. vulnerability
  • CVE-2024-44092 There is a possible LCS signing enforcement missing due to test/debugging code left in a production build. vulnerability
  • CVE-2024-36475 FutureNet NXR series, VXR series and WXR series provided by Century Systems Co., Ltd. vulnerability

Can precede · CWE (1)

  • CWE-215 Insertion of Sensitive Information Into Debugging Code weakness

Child of · CWE (1)

  • CWE-710 Improper Adherence to Coding Standards weakness

Referenced by CAPEC · weakness (2)

  • CAPEC-121 Exploit Non-Production Interfaces attack pattern
  • CAPEC-661 Root/Jailbreak Detection Evasion via Debugging attack pattern

Referenced by CVE · weakness (104)

  • CVE-2026-115727 AgenticSeek before commit 409840c contains a remote code execution vulnerability because llm_server/app.py hardcodes Flask debug mode while… vulnerability
  • CVE-2026-15575 Active debug code vulnerability in SFM Software Technologies Inc. vulnerability
  • CVE-2026-83550 A flaw was found in postgres-exporter. vulnerability
  • CVE-2026-100102 Perforce P4 Search container images prior to 2026.4.2 enable an unauthenticated Java debug interface. vulnerability
  • CVE-2026-102628 The Cadmos LTI application hosted at cadmos.eummena.io had Laravel debug mode enabled (APP_DEBUG=true, APP_ENV=local) in a publicly… vulnerability
  • CVE-2026-13313 An Active Debug Code vulnerability in certain ASUS router models allows a remote authenticated user, via a crafted HTTP request, to bypass… vulnerability
  • CVE-2026-103475 yii2-starter-kit through 4.2.0 exposes the Yii debug and Gii modules to all IP addresses by setting allowedIPs to ['*'] in its default… vulnerability
  • CVE-2026-100295 In Anjvision YSSD‑RTMP‑H5 firmware version 3.3.2.4, an internal debug interface can be enabled through an undocumented pathway, exposing… vulnerability
  • CVE-2026-73593 Dell Secure Connect Gateway (SCG) Policy Manager, versions prior to 5.34.00.16, contains an Active Debug Code vulnerability. vulnerability
  • CVE-2026-50228 An unauthenticated local attacker can connect to the Electron DevTools endpoint exposed by Acer NitroSense software (versions up to and… vulnerability
  • CVE-2026-84486 A flaw was found in Red Hat Ansible Automation Platform's automation- controller. vulnerability
  • CVE-2026-81943 PLANET IGS-5225-8P2T4S industrial managed switch V1 and V2 firmware versions before 1.2412b260707 and 2.2412b260519 contain active debug… vulnerability
  • CVE-2026-53952 GetSimple CMS is a content management system (CMS), and GetSimple CMS CE is the community edition of that CMS. vulnerability
  • CVE-2026-6485 UEFI BIOS embedded Shell could be used to bypass Secure Boot via shell commands or startup scripts. vulnerability
  • CVE-2026-77545 A malicious actor with access to the network, low privileges and under certain conditions could exploit an Active Debug Code vulnerability… vulnerability
  • CVE-2026-66403 DEEBOT PRO M1 and DEEBOT PRO K1VAC leave the web server for debugging purposes enabled. vulnerability
  • CVE-2026-66405 DEEBOT PRO M1 and DEEBOT PRO K1VAC leave the telnet servers enabled. vulnerability
  • CVE-2026-41186 When Calico's shared debug server is enabled (disabled by default), the Calico kube-controllers and Goldmane components bind their Go pprof… vulnerability
  • CVE-2026-65893 This vulnerability exists in CP PLUS EZ-P21 IP Camera due to an insecure debug feature enabled in the firmware. vulnerability
  • CVE-2026-64529 In the Linux kernel, the following vulnerability has been resolved: crypto: qat - remove unused character device and IOCTLs The QAT driver… vulnerability
  • CVE-2026-54798 A vulnerability has been identified in CPCI85 Central Processing/Communication (All versions < V26.20), SICORE Base system (All versions <… vulnerability
  • CVE-2026-54799 A vulnerability has been identified in CPCI85 Central Processing/Communication (All versions < V26.20), SICORE Base system (All versions <… vulnerability
  • CVE-2026-58378 Allwinner H616 TV Box TV98 has ADB enabled and exposed to the network on production. vulnerability
  • CVE-2026-58191 Appium is a cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol. vulnerability
  • CVE-2026-59092 JuiceFS through 1.3.1, fixed in commit a46979c, contains an authentication bypass vulnerability that allows unauthenticated remote… vulnerability
  • CVE-2026-49188 The ai_cmd utility executes with full root permissions. vulnerability
  • CVE-2026-45728 Algernon is a small self-contained pure-Go web server. vulnerability
  • CVE-2026-9133 Active debug code exists in the ARN resolver of amazon-mq rabbitmq-aws before version 0.2.1. vulnerability
  • CVE-2026-40035 Unfurl through 2025.08 contains an improper input validation vulnerability in config parsing that enables Flask debug mode by default. vulnerability
  • CVE-2026-32662 Development and test API endpoints are present that mirror production functionality. vulnerability
Show all 104 ›

Referenced by CWE · child of (1)

  • CWE-11 ASP.NET Misconfiguration: Creating Debug Binary weakness

Referenced by OWASP · mapped cwe (1)

  • A02:2025 Security Misconfiguration Top 10 2025