VYPR

CWE-42

Path Equivalence: 'filename.' (Trailing Dot)

VariantIncomplete

Description

The product accepts path input in the form of trailing dot ('filedir.') 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.

Hierarchy (View 1000)

Children

CVEs mapped to this weakness (2)

  • CVE-2021-21682MedOct 6, 2021
    risk 0.21cvss 4.3epss 0.01

    Jenkins 2.314 and earlier, LTS 2.303.1 and earlier accepts names of jobs and other entities with a trailing dot character, potentially replacing the configuration and data of other entities on Windows.

  • CVE-2026-52884HigJun 26, 2026
    risk 0.00cvss 7.8epss 0.00

    Notepad++ is a free and open-source source code editor. In v8.9.6.1, isInTrustedDirectory() does NOT canonicalize the path before checking. It uses a prefix-based check (PathIsPrefix() or equivalent) that matches paths starting with trusted directory strings. A path traversal…