BaseDraft

CWE-489Active Debug Code

Category: config

Description

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

Common consequences· 1

  • 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 either of these access.

Potential mitigations· 1

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

Related CAPEC attack patterns· 2

CAPEC-121CAPEC-661

References

  1. https://cwe.mitre.org/data/definitions/489.html

Exploits (incoming)2

TypeTargetConfidenceTier
AttackPatternExploit Non-Production Interfacescapec-121100%live
AttackPatternRoot/Jailbreak Detection Evasion via Debuggingcapec-661100%live

Compliance frameworks addressing this (incoming)1

TypeTargetConfidenceTier
ComplianceControlowasp_api_top10-api09100%live

(incoming)5

TypeTargetConfidenceTier
VulnerabilityCVE-2025-2486cve-2025-24860%live
VulnerabilityCVE-2025-36899cve-2025-368990%live
VulnerabilityCVE-2025-46674cve-2025-466740%live
VulnerabilityCVE-2025-64983cve-2025-649830%live
VulnerabilityCVE-2026-40035cve-2026-400350%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Insertion of Sensitive Information Into Debugging Code
CWE
Dead Code
CWE
Incorrect Chaining or Granularity of Debug Components
CWE
Deadlock
CWE
Excessive Use of Self-Modifying Code
CWE
Critical Data Element Declared Public
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.