---
title: "CWE-535: Exposure of Information Through Shell Error Message"
url: https://radicalnotion.ai/cwe/cwe-535
type: cwe
description: "A command shell error message indicates that there exists an unhandled exception in the web application code. In many cases, an attacker can leverage the conditions that cause these errors in order to gain unauthorized access to the system."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-535: Exposure of Information Through Shell Error Message

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

## Description

A command shell error message indicates that there exists an unhandled exception in the web application code. In many cases, an attacker can leverage the conditions that cause these errors in order to gain unauthorized access to the system.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Application Data | - |

## 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.)

Effectiveness: High

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2023-1098 | - | medium | 5.8 | - | No | 2023-04-05 |
| CVE-2026-35109 | HCL AION is affected by multiple security vulnerabilities. | low | 3.7 | - | No | 2026-11-06 |
| CVE-2022-3375 | - | low | 3.7 | - | No | 2023-04-05 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-211](https://radicalnotion.ai/cwe/cwe-211) | Externally-Generated Error Message Containing Sensitive Information |

## Frequently asked questions

### What is CWE-535?

A command shell error message indicates that there exists an unhandled exception in the web application code. In many cases, an attacker can leverage the conditions that cause these errors in order to gain unauthorized access to the system.

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

3 recorded CVEs are attributed to CWE-535, including CVE-2023-1098, CVE-2026-35109 and CVE-2022-3375.

### How is CWE-535 detected?

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.)

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

Exploiting CWE-535 can lead to: Read Application Data.

### Is CWE-535 actively exploited?

3 recorded CVEs are caused by CWE-535; none are currently in CISA's KEV catalog of actively exploited flaws.

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

---

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