---
title: "CWE-220: Storage of File With Sensitive Data Under FTP Root"
url: https://radicalnotion.ai/cwe/cwe-220
type: cwe
description: "The product stores sensitive data under the FTP server root with insufficient access control, which might make it accessible to untrusted parties."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-220: Storage of File With Sensitive Data Under FTP Root

- **Abstraction:** Variant
- **Structure:** Simple
- **Status:** Draft
- **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 stores sensitive data under the FTP server root with insufficient access control, which might make it accessible to untrusted parties.

## Background

Various Unix FTP servers require a password file that is under the FTP root, due to use of chroot.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Operation | - |
| Architecture and Design | COMMISSION: This weakness refers to an incorrect design related to an architectural security tactic. |

## Common consequences

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

## Potential mitigations

### Implementation, System Configuration

Avoid storing information under the FTP root directory.

### System Configuration

Access control permissions should be set to prevent reading/writing of sensitive files inside/outside of the FTP directory.

## Related weaknesses

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

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Sensitive Data Under FTP Root | - | - |

## Frequently asked questions

### What is CWE-220?

The product stores sensitive data under the FTP server root with insufficient access control, which might make it accessible to untrusted parties.

### How do you prevent CWE-220?

Avoid storing information under the FTP root directory.

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

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

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

---

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