---
title: "CWE-55: Path Equivalence: '/./' (Single Dot Directory)"
url: https://radicalnotion.ai/cwe/cwe-55
type: cwe
description: "The product accepts path input in the form of single dot directory exploit ('/./') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-55: Path Equivalence: '/./' (Single Dot Directory)

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

## Description

The product accepts path input in the form of single dot directory exploit ('/./') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files.

## Modes of introduction

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

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity | Read Files or Directories, Modify Files or Directories | - |

## Potential mitigations

### Implementation (Input Validation)

Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2024-6091 | Chain: AI agent platform does not restrict pathnames containing internal "/./" sequences (CWE-55), leading to an incomplete denylist (CWE-184) that does not prevent OS command injection (CWE-78) |
| CVE-2000-0004 | Server allows remote attackers to read source code for executable files by inserting a . (dot) into the URL. |
| CVE-2002-0304 | Server allows remote attackers to read password-protected files via a /./ in the HTTP request. |
| CVE-1999-1083 | Possibly (could be a cleansing error) |
| CVE-2004-0815 | "/./////etc" cleansed to ".///etc" then "/etc" |
| CVE-2002-0112 | Server allows remote attackers to view password protected files via /./ in the URL. |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-79768 | Apache HTTP Server: mod\_userdir information disclosure | medium | 5.3 | - | No | 2026-10-01 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-41](https://radicalnotion.ai/cwe/cwe-41) | Improper Resolution of Path Equivalence |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | /./ (single dot directory) | - | - |
| Software Fault Patterns | Path Traversal | SFP16 | - |

## Frequently asked questions

### What is CWE-55?

The product accepts path input in the form of single dot directory exploit ('/./') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files.

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

1 recorded CVE is attributed to CWE-55: CVE-2026-79768.

### How do you prevent CWE-55?

Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.

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

Exploiting CWE-55 can lead to: Read Files or Directories, Modify Files or Directories.

### Is CWE-55 actively exploited?

1 recorded CVE is caused by CWE-55; it is not currently in CISA's KEV catalog of actively exploited flaws.

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

---

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