---
title: "CAPEC-149: Explore for Predictable Temporary File Names"
url: https://radicalnotion.ai/capec/capec-149
type: capec
description: "An attacker explores a target to identify the names and locations of predictable temporary files for the purpose of launching further attacks against the target. This involves analyzing naming conventions and storage locations of the temporary files created by a target application. If an attacker can predict the names of temporary files they can use this information to mount other attacks, such as information gathering and symlink attacks."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-149: Explore for Predictable Temporary File Names

- **Abstraction:** Detailed
- **Status:** Draft
- **Typical severity:** Medium
- **CAPEC catalog version:** 3.9

## Description

An attacker explores a target to identify the names and locations of predictable temporary files for the purpose of launching further attacks against the target. This involves analyzing naming conventions and storage locations of the temporary files created by a target application. If an attacker can predict the names of temporary files they can use this information to mount other attacks, such as information gathering and symlink attacks.

## Prerequisites

- The targeted application must create names for temporary files using a predictable procedure, e.g. using sequentially increasing numbers.
- The attacker must be able to see the names of the files the target is creating.

## Resources required

- None: No specialized resources are required to execute this type of attack.

## Related weaknesses (CWE)

- [CWE-377](https://radicalnotion.ai/cwe/cwe-377): DEPRECATED: Insecure Temporary File

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-497](https://radicalnotion.ai/capec/capec-497) | File Discovery |
| Can precede | [CAPEC-155](https://radicalnotion.ai/capec/capec-155) | Screen Temporary Files for Sensitive Information |

## Frequently asked questions

### What is CAPEC-149?

An attacker explores a target to identify the names and locations of predictable temporary files for the purpose of launching further attacks against the target. This involves analyzing naming conventions and storage locations of the temporary files created by a target application. If an attacker can predict the names of temporary files they can use this information to mount other attacks, such as information gathering and symlink attacks.

### What weaknesses does CAPEC-149 target?

CAPEC-149 exploits one CWE weakness: CWE-377 (DEPRECATED: Insecure Temporary File).

### How severe is CAPEC-149?

MITRE rates CAPEC-149 as Medium severity.

Primary source: [MITRE CAPEC](https://capec.mitre.org/data/definitions/149.html)

---

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