---
title: "CWE-76: Improper Neutralization of Equivalent Special Elements"
url: https://radicalnotion.ai/cwe/cwe-76
type: cwe
description: "The product correctly neutralizes certain special elements, but it improperly neutralizes equivalent special elements."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-76: Improper Neutralization of Equivalent Special Elements

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Draft
- **Likelihood of exploit:** High
- **CVEs with this as primary weakness:** 16
- **Of those, in CISA KEV:** 0
- **New in 2026:** 7
- **CWE catalog version:** 4.21

## Description

The product correctly neutralizes certain special elements, but it improperly neutralizes equivalent special elements.

The product may have a fixed list of special characters it believes is complete. However, there may be alternate encodings, or representations that also have the same meaning. For example, the product may filter out a leading slash (/) to prevent absolute path names, but does not account for a tilde (~) followed by a user name, which on some \*nix systems could be expanded to an absolute pathname. Alternately, the product might filter a dangerous "-e" command-line switch when calling an external program, but it might not account for "--exec" or other switches that have the same semantics.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | REALIZATION: This weakness is caused during implementation of an architectural security tactic. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Other | Other | - |

## Potential mitigations

### Requirements

Programming languages and supporting technologies might be chosen which are not subject to these issues.

### Implementation

Utilize an appropriate mix of allowlist and denylist parsing to filter equivalent special element syntax from all input.

## Real CVEs with this weakness (sample of 12 of 16)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-2952 | Server-Side Template Injection in BerriAI/litellm | critical | 9.8 | - | No | 2024-04-10 |
| CVE-2024-34359 | llama-cpp-python vulnerable to Remote Code Execution by Server-Side Template Injection in Model Metadata | critical | 9.7 | - | No | 2024-05-10 |
| CVE-2025-64441 | ownCloud Desktop App is vulnerable to Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | high | 8.9 | - | No | 2026-11-18 |
| CVE-2023-0493 | Improper Neutralization of Equivalent Special Elements in btcpayserver/btcpayserver | high | 8.8 | - | No | 2023-01-26 |
| CVE-2026-91184 | NGINX Gateway Fabric vulnerability | high | 8.7 | - | No | 2026-10-14 |
| CVE-2026-77180 | NGINX Ingress Controller vulnerability | high | 8.7 | - | No | 2026-09-02 |
| CVE-2026-54722 | dssrf: there a critical security bug with remove\_at\_symbol\_in\_string | high | 8.7 | - | No | 2026-07-30 |
| CVE-2026-55723 | NGINX Ingress Controller vulnerability | high | 8.7 | - | No | 2026-07-15 |
| CVE-2026-66362 | NGF vulnerability | high | 8.6 | - | No | 2026-09-02 |
| CVE-2026-11311 | NGINX Gateway Fabric vulnerability | high | 8.6 | - | No | 2026-06-17 |
| CVE-2024-4897 | Remote Code Execution in parisneo/lollms-webui | high | 8.4 | - | No | 2024-07-02 |
| CVE-2024-1882 | Server-side resource injection in PaperCut NG/MF | high | 7.2 | - | No | 2024-03-14 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-75](https://radicalnotion.ai/cwe/cwe-75) | Failure to Sanitize Special Elements into a Different Plane |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Equivalent Special Element Injection | - | - |

## Frequently asked questions

### What is CWE-76?

The product correctly neutralizes certain special elements, but it improperly neutralizes equivalent special elements.

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

16 recorded CVEs are attributed to CWE-76, including CVE-2024-2952, CVE-2024-34359 and CVE-2025-64441.

### How do you prevent CWE-76?

Programming languages and supporting technologies might be chosen which are not subject to these issues.

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

Exploiting CWE-76 can lead to: Other.

### Is CWE-76 actively exploited?

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

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

---

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