Weaknesses of type CWE-22

6,635 results

Traversal de diretório (path traversal)

A aplicação recebe um caminho de arquivo fornecido pelo usuário e o usa para acessar arquivos sem validar adequadamente se o resultado fica dentro do diretório permitido. Um atacante injeta sequências como '../' ou '..' para "escapar" do diretório esperado e acessar arquivos sensíveis do sistema.

Example

Um site permite download de arquivos do diretório /uploads passando o nome via URL: download.php?file=documento.pdf. Um atacante envia file=../../etc/passwd e consegue ler arquivos fora de /uploads, porque o código não neutraliza a sequência '..'.

How to mitigate

Valide e canonicalize todo caminho fornecido pelo usuário antes de usá-lo: implemente uma whitelist de nomes permitidos, normalize caminhos para sua forma canônica, verifique se o resultado está dentro do diretório esperado, e use APIs de segurança da linguagem (ex: Path.normalize() + validação de prefix em Java, pathlib em Python).

CVE-2024-12035HIGHCS Framework <= 7.0 - Authenticated (Subscriber+) Arbitrary File DeletionEPSS 0.9%CVE-2024-0763HIGHImproper validation of document removal parameterEPSS 0.9%CVE-2026-4659HIGHUnlimited Elements For Elementor <= 2.0.6 - Authenticated (Contributor+) Arbitrary File Read via Path Traversal in Repeater JSON/CSV URL with Path TraversalEPSS 0.9%CVE-2022-44942HIGHCasdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.EPSS 0.9%CVE-2026-65103HIGHNVIDIA AIStore for Linux contains a path traversal vulnerability in the target-side object rename handler, where an unauthenticated remote aEPSS 0.9%CVE-2026-45233HIGHHTMLy CMS 3.1.1 Path Traversal via oldfile Parameter in AutosaveEPSS 0.9%CVE-2024-3737MEDIUMcym1102 nginxWebUI addOver findCountByQuery path traversalEPSS 0.9%CVE-2024-22398MEDIUMAn improper Limitation of a Pathname to a Restricted Directory (Path Traversal) vulnerability in SonicWall Email Security Appliance could alEPSS 0.9%CVE-2022-39001HIGHThe number identification module has a path traversal vulnerability. Successful exploitation of this vulnerability may cause data disclosureEPSS 0.9%CVE-2025-59709MEDIUMAn issue was discovered in Biztalk360 through 11.5. because of mishandling of user-provided input in a path to be read by the server, a SupeEPSS 0.9%CVE-2025-1281HIGHBM Content Builder < 3.17.1 - Authenticated (Subscriber+) Arbitrary File DeletionEPSS 0.9%CVE-2026-57863HIGHCrater Invoice 6.0.6 Path Traversal RCE via update/unzip endpointEPSS 0.9%CVE-2026-87115CRITICALVikAppointments Services Booking Calendar <= 1.2.21 - Unauthenticated Arbitrary File Deletion via 'old_vapcfN' ParameterEPSS 0.9%CVE-2025-32509HIGHWordPress Simple WP Events plugin <= 1.8.17 - Arbitrary File Deletion vulnerabilityEPSS 0.9%CVE-2024-11952HIGHClassic Addons – WPBakery Page Builder <= 3.0 - Authenticated (Contributor+) Limited Local PHP File InclusionEPSS 0.9%CVE-2022-44008MEDIUMAn issue was discovered in BACKCLICK Professional 5.9.63. Due to improper validation, arbitrary local files can be retrieved by accessing thEPSS 0.9%CVE-2026-85606HIGHfirecrawl-mcp-server 3.20.2 Arbitrary Local File Read via filePathEPSS 0.9%CVE-2025-3055HIGHWP User Frontend Pro <= 4.1.3 - Authenticated (Subscriber+) Arbitrary File DeletionEPSS 0.9%CVE-2026-82460CRITICALCloud Commander before 19.20.2 Directory Traversal via REST and MarkdownEPSS 0.9%CVE-2025-23092HIGHMitel OpenScape Accounting Management through V5 R1.1.0 could allow an authenticated attacker with administrative privileges to conduct a paEPSS 0.9%