CWE-548: Exposure of Information Through Directory Listing
The product inappropriately exposes a directory listing with an index of all the resources located inside of the directory.
Last updated
The product inappropriately exposes a directory listing with an index of all the resources located inside of the directory.
Last updated
CWE-548 (Exposure of Information Through Directory Listing) is a variant-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
66 recorded CVEs are caused by CWE-548 (Exposure of Information Through Directory Listing). The highest-severity and most recent are shown first. 11 new CWE-548 CVEs have been recorded so far in 2026 (21 in 2025).
OpenBMCS Directory Listing Information Disclosure
AquaNPlayer directory traversing vulnerability
Directory traversal in Rack::Directory app bundled with Rack
CVE-2025-27452
IBM Security Directory Integrator information disclosure
BackWPup < 4.0.4 - Unauthenticated Backup Download
Showing 12 of 66 recorded CWE-548 CVEs. Get an alert for each new one, with AI-written analysis and fixes.
Monitor these CVEsWhat can happen when CWE-548 is exploited.
Read Files or Directories
Affects: Confidentiality
Exposing the contents of a directory can lead to an attacker gaining access to source code or providing useful information for the attacker to devise exploits, such as creation times of files or any information that may be encoded in file names. The directory listing may also compromise private or confidential data.
Typically introduced during these phases of the software lifecycle.
Practical mitigations for CWE-548, grouped by where in the lifecycle they apply.
Recommendations include restricting access to important directories or files by adopting a need to know requirement for both the document and server root, and turning off features such as Automatic Directory Listings that could expose private files and provide information that could be utilized by an attacker when formulating or conducting an attack.
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.)
Effectiveness: High
Real CVEs that MITRE cites as examples of this weakness.
Common questions about CWE-548.
Weakness data is sourced from the MITRE CWE catalog (v4.21). CVE associations are aggregated and kept current by RadicalNotion.AI.
Get an alert when a new CWE-548 CVE affects your products, with AI-written analysis and remediation steps.