---
title: "CWE-1266: Improper Scrubbing of Sensitive Data from Decommissioned Device"
url: https://radicalnotion.ai/cwe/cwe-1266
type: cwe
description: "The product does not properly provide a capability for the product administrator to remove sensitive data at the time the product is decommissioned. A scrubbing capability could be missing, insufficient, or incorrect."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1266: Improper Scrubbing of Sensitive Data from Decommissioned Device

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

## Description

The product does not properly provide a capability for the product administrator to remove sensitive data at the time the product is decommissioned. A scrubbing capability could be missing, insufficient, or incorrect.

## Background

When a product is decommissioned - i.e., taken out of service - best practices or regulatory requirements may require the administrator to remove or overwrite sensitive data first, i.e. "scrubbing."

## Modes of introduction

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

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Memory, Read Application Data | Improper scrubbing of sensitive data from a decommissioned device leaves that data vulnerable to acquisition by a malicious actor. Sensitive data may include, but is not limited to, device/manufacturer proprietary information, user/device credentials, network configurations, and other forms of sensitive data. |

## Potential mitigations

### Architecture and Design

Functionality to completely scrub data from a product at the conclusion of its lifecycle should be part of the design phase. Trying to add this function on top of an existing architecture could lead to incomplete removal of sensitive information/data.

### Policy

The manufacturer should describe the location(s) where sensitive data is stored and the policies and procedures for its removal. This information may be conveyed, for example, in an Administrators Guide or a Statement of Volatility.

### Implementation

If the capability to wipe sensitive data isn't built-in, the manufacturer may need to provide a utility to scrub sensitive data from storage if that data is located in a place which is non-accessible by the administrator. One example of this could be when sensitive data is stored on an EEPROM for which there is no user/admin interface provided by the system.

## Related attack patterns (CAPEC)

- [CAPEC-150](https://radicalnotion.ai/capec/capec-150): Collect Data from Common Resource Locations
- [CAPEC-37](https://radicalnotion.ai/capec/capec-37): Retrieve Embedded Sensitive Data
- [CAPEC-545](https://radicalnotion.ai/capec/capec-545): Pull Data from System Resources
- [CAPEC-546](https://radicalnotion.ai/capec/capec-546): Incomplete Data Deletion in a Multi-Tenant Environment
- [CAPEC-675](https://radicalnotion.ai/capec/capec-675): Retrieve Data from Decommissioned Devices

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-212](https://radicalnotion.ai/cwe/cwe-212) | Improper Removal of Sensitive Information Before Storage or Transfer |

## Frequently asked questions

### What is CWE-1266?

The product does not properly provide a capability for the product administrator to remove sensitive data at the time the product is decommissioned. A scrubbing capability could be missing, insufficient, or incorrect.

### How do you prevent CWE-1266?

Functionality to completely scrub data from a product at the conclusion of its lifecycle should be part of the design phase. Trying to add this function on top of an existing architecture could lead to incomplete removal of sensitive information/data.

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

Exploiting CWE-1266 can lead to: Read Memory, Read Application Data.

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

---

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