---
title: "CWE-349: Acceptance of Extraneous Untrusted Data With Trusted Data"
url: https://radicalnotion.ai/cwe/cwe-349
type: cwe
description: "The product, when processing trusted data, accepts any untrusted data that is also included with the trusted data, treating the untrusted data as if it were trusted."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-349: Acceptance of Extraneous Untrusted Data With Trusted Data

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Draft
- **CVEs with this as primary weakness:** 53
- **Of those, in CISA KEV:** 0
- **New in 2026:** 23
- **CWE catalog version:** 4.21

## Description

The product, when processing trusted data, accepts any untrusted data that is also included with the trusted data, treating the untrusted data as if it were trusted.

## Modes of introduction

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

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Access Control, Integrity | Bypass Protection Mechanism, Modify Application Data | An attacker could package untrusted data with trusted data to bypass protection mechanisms to gain access to and possibly modify sensitive data. |

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2002-0018 | Does not verify that trusted entity is authoritative for all entities in its response. |
| CVE-2006-5462 | use of extra data in a signature allows certificate signature forging |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-41120 | - | critical | 9.8 | - | No | 2026-06-25 |
| CVE-2023-51655 | - | critical | 9.8 | - | No | 2023-12-21 |
| CVE-2019-9535 | iTerm2, up to and including version 3.3.5, with tmux integration is vulnerable to remote command execution | critical | 9.8 | - | No | 2019-10-09 |
| CVE-2026-112256 | Logon bypass (trust of attacker-controlled completed-methods list) | critical | 9.2 | - | No | 2026-10-29 |
| CVE-2026-45602 | Windows Dynamic Host Configuration Protocol (DHCP) Tampering Vulnerability | critical | 9.1 | - | No | 2026-06-09 |
| CVE-2014-1418 | Django Vulnerable to Cache Poisoning | critical | 9.1 | - | No | 2014-05-16 |
| CVE-2018-1131 | Deserialization of Untrusted Data in Infinispan | high | 8.8 | - | No | 2018-05-15 |
| CVE-2026-48100 | Payy: agg\_agg trailing message slots are unconstrained and allow forged burn messages | high | 8.7 | - | No | 2026-09-28 |
| CVE-2025-5994 | Cache poisoning via the ECS-enabled Rebirthday Attack | high | 8.7 | - | No | 2025-07-16 |
| CVE-2025-40778 | Cache poisoning attacks with unsolicited RRs | high | 8.6 | - | No | 2025-10-22 |
| CVE-2025-40776 | Birthday Attack against Resolvers supporting ECS | high | 8.6 | - | No | 2025-07-16 |
| CVE-2023-44317 | Affected products do not properly validate the content of uploaded X509 certificates which could allow an attacker with administrative privileges to execute arbitrary code on the device. | high | 8.6 | - | No | 2023-11-14 |

## Related attack patterns (CAPEC)

- [CAPEC-141](https://radicalnotion.ai/capec/capec-141): Cache Poisoning
- [CAPEC-142](https://radicalnotion.ai/capec/capec-142): DNS Cache Poisoning
- [CAPEC-75](https://radicalnotion.ai/capec/capec-75): Manipulating Writeable Configuration Files

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-345](https://radicalnotion.ai/cwe/cwe-345) | Insufficient Verification of Data Authenticity |
| Peer | [CWE-501](https://radicalnotion.ai/cwe/cwe-501) | Trust Boundary Violation |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Untrusted Data Appended with Trusted Data | - | - |
| The CERT Oracle Secure Coding Standard for Java (2011) | Place all security-sensitive code in a single JAR and sign and seal it | ENV01-J | - |

## Frequently asked questions

### What is CWE-349?

The product, when processing trusted data, accepts any untrusted data that is also included with the trusted data, treating the untrusted data as if it were trusted.

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

53 recorded CVEs are attributed to CWE-349, including CVE-2026-41120, CVE-2023-51655 and CVE-2019-9535.

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

Exploiting CWE-349 can lead to: Bypass Protection Mechanism, Modify Application Data.

### Is CWE-349 actively exploited?

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

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

---

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