---
title: "CWE-553: Command Shell in Externally Accessible Directory"
url: https://radicalnotion.ai/cwe/cwe-553
type: cwe
description: "A possible shell file exists in /cgi-bin/ or other accessible directories. This is extremely dangerous and can be used by an attacker to execute commands on the web server."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-553: Command Shell in Externally Accessible Directory

- **Abstraction:** Variant
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 1
- **Of those, in CISA KEV:** 0
- **New in 2026:** 1
- **CWE catalog version:** 4.21

## Description

A possible shell file exists in /cgi-bin/ or other accessible directories. This is extremely dangerous and can be used by an attacker to execute commands on the web server.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | - |
| Operation | - |

## Applicable platforms

**Technologies:** Web Based (Undetermined), Web Server (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Availability | Execute Unauthorized Code or Commands | - |

## Potential mitigations

### Installation, System Configuration

Remove any Shells accessible under the web root folder and children directories.

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-66620 | Columbia Weather Systems MicroServer Command Shell in Externally Accessible Directory | high | 8.6 | - | No | 2026-01-07 |

## Related attack patterns (CAPEC)

- [CAPEC-650](https://radicalnotion.ai/capec/capec-650): Upload a Web Shell to a Web Server

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-552](https://radicalnotion.ai/cwe/cwe-552) | Files or Directories Accessible to External Parties |

## Frequently asked questions

### What is CWE-553?

A possible shell file exists in /cgi-bin/ or other accessible directories. This is extremely dangerous and can be used by an attacker to execute commands on the web server.

### What CVEs are caused by CWE-553?

1 recorded CVE is attributed to CWE-553: CVE-2025-66620.

### How do you prevent CWE-553?

Remove any Shells accessible under the web root folder and children directories.

### What are the consequences of CWE-553?

Exploiting CWE-553 can lead to: Execute Unauthorized Code or Commands.

### Is CWE-553 actively exploited?

1 recorded CVE is caused by CWE-553; it is not currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/553.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-553). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
