cve.bz

CWE-22: Improper Limitation of a Pathname to a Restricted Directory (Path traversal), published in 2026, page 25

Filter

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

What the weakness is: CWE-22 at MITRE. OWASP Top 10: A01:2025 Broken Access Control. All weaknesses

Related attack patterns (CAPEC): 5
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to CWE-22, as MITRE names them. Credits.

Ask an AI about CWE-22

Show the promptExplain CWE-22: Improper Limitation of a Pathname to a Restricted Directory and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/22.html and https://cve.bz/cve/cwe/22?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 6.5CVE-2026-82100ibm datastage on cloud pak for dataEPSS 0.6%

    IBM DataStage on Cloud Pak for Data 5.4.0.0 could allow a remote authenticated attacker to cause a denial of service due to a path traversal vulnerability.

  2. 6.5CVE-2026-81554ibm datastage on cloud pak for dataEPSS 0.8%

    IBM DataStage on Cloud Pak for Data 5.4.0.0 could allow a remote authenticated attacker to obtain sensitive information due to an absolute-path traversal vulnerability.

  3. 8.1CVE-2026-81551ibm datastage on cloud pak for dataEPSS 0.6%

    IBM DataStage on Cloud Pak for Data 5.4.0.0 could allow a remote authenticated attacker to arbitrarily write to or delete files on shared storage due to a path traversal vulnerability.

  4. 8.5CVE-2026-81540ibm datastage on cloud pak for dataEPSS 0.5%

    IBM DataStage on Cloud Pak for Data 5.4.0.0 could allow a remote authenticated attacker to overwrite ruleset files belonging to other tenants due to a path traversal vulnerability.

  5. 9.1CVE-2026-80424ibm datastage on cloud pak for dataEPSS 0.5%

    IBM DataStage on Cloud Pak for Data 5.4.0.0 could allow a remote authenticated attacker to create arbitrary files due to path traversal during archive extraction.

  6. 4.6CVE-2026-49836psd-toolsEPSS 0.2%

    psd-tools is a Python package for working with Adobe Photoshop PSD files. Prior to version 1.17.1, `SmartObject.save()` writes an embedded smart object to a path taken verbatim from the PSD file. Because that name is attacker-controlled an…

  7. 4.4CVE-2026-45767oisf suricataEPSS 0.4%

    Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Prior to versions 7.0.16 and 8.0.5, a malicious rule could potentially overwrite any file on the file system on rule load…

  8. 7.5CVE-2025-57231EPSS 1.7%

    Path Traversal in avatar attachments in Docmost v0.21.0 allows an unauthenticated malicious actor to disclose local files via a POST Request in a public url.

  9. 4.8CVE-2026-76652tp-link systems inc.EPSS 0.7%

    An authenticated directory traversal vulnerability in file upload functionality has been identified in Archer MR600 (v2, v3 & v5) and TL-MR6400 v8. Due to insufficient validation of user-supplied file information, an authenticated remote a…

  10. 5.3CVE-2026-88046rcloneEPSS 0.3%

    rclone is a command-line program to sync files and directories to and from different cloud storage providers. Prior to 1.75.1, rclone core does not reject parent-directory segments in source Object.Remote() values before fs/list, fs/walk, …

  11. 6.9CVE-2026-88940knowns-dev knownsEPSS 0.6%

    knowns through 0.33.0 fails to validate the path query parameter in the workspace browse endpoint, allowing remote attackers to enumerate arbitrary directories on the host filesystem. Attackers can traverse the directory structure to locat…

  12. 7.1CVE-2026-88938knowns-dev knownsEPSS 0.5%

    knowns through 0.33.0 fails to confine the path argument of the code.find MCP tool to the project root, allowing AI agent sessions to read source files anywhere on the host. Attackers can supply absolute paths or relative traversal sequenc…

  13. 8.6CVE-2026-88937knowns-dev knownsEPSS 0.7%

    knowns through 0.36.1 fails to properly validate template destination paths in the code generation template engine, allowing attackers to read and write arbitrary files outside the project root. Attackers can supply malicious templates tha…

  14. 6.3CVE-2026-88014rcloneEPSS 0.2%

    rclone is a command-line program to sync files and directories to and from different cloud storage providers. From 1.72.0 until 1.75.1, the archive ZIP backend method (*Fs).readZip in backend/archive/zip/zip.go accepts archive/zip.File.Nam…

  15. 8.6CVE-2026-81789studio wombat advanced product fields extended for woocommerceEPSS 0.5%

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Studio Wombat Advanced Product Fields Extended for WooCommerce allows Path Traversal. This issue affects Advanced Product Fields Extended for …

  16. 6.5CVE-2026-81275youzifyEPSS 0.4%

    Subscriber Arbitrary File Download in Youzify <= 1.3.7 versions.

  17. 0.9CVE-2026-88790proma-ai promaEPSS 0.2%

    A security vulnerability has been detected in proma-ai Proma up to 0.19.37. Affected is the function resolveTargetPath of the file apps/electron/src/main/lib/file-preview-service.ts of the component File Preview Service. Such manipulation …

  18. 8.7CVE-2026-64838icecoderEPSS 0.5%

    ICEcoder versions through 8.1 fail to properly validate the oldFileName parameter in file move and rename operations, allowing authenticated users to relocate files from outside the document root. Attackers can use path traversal sequences…

  19. 8.7CVE-2026-64836icecoderEPSS 0.6%

    ICEcoder versions through 8.1 contain a path traversal vulnerability in the file-control endpoint due to a logic error in the document-root confinement check. The File::check() validation function compares realpath() to boolean true, which…

  20. 7.5CVE-2026-9166gis informatics gislab laboratory management systemEPSS 0.5%

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in GIS Informatics GisLab Laboratory Management System allows Path Traversal. This issue affects GisLab Laboratory Management System: from 1.4.03…

  21. 6.9CVE-2026-78085joomshaper.com sp property extension for joomlaEPSS 0.5%

    Joomla Extension - joomshaper.com - Path Traversal in Gallery Image Management in SP Property < 4.1.4 - The gallery management controller tasks lacked directory confinement checks.

  22. 4.9CVE-2026-18386cssimmon wp backitup community editionEPSS 1.1%

    The WP BackItUp Community Edition plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 2.1.0 via the 'backup_file' parameter parameter. This makes it possible for authenticated attackers, with adm…

  23. 7.5CVE-2026-15019kamalyon direct download for woocommerceEPSS 1.0%

    The Direct Download for WooCommerce plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 1.19 via the (top-level include) function. This makes it possible for unauthenticated attackers to read the…

  24. 9.3CVE-2026-88069pandora-analysis pandoraEPSS 0.5%

    Pandora contains a path traversal vulnerability in its archive extraction worker. When processing a specially crafted archive or disk image, attacker-controlled file paths could be used without ensuring that the resulting destination remai…

  25. 5.4CVE-2026-53956condaEPSS 0.3%

    Rattler is a library that provides common functionality used within the conda ecosystem. `rattler_cache` prior to version 0.9.0 and `py-rattler` prior to version 0.24.0 were vulnerable to package-cache path traversal when handling package …

  26. 8.8CVE-2026-86775knowns-dev knownsEPSS 0.7%

    knowns (npm package) versions <= 0.29.1 contain a path traversal vulnerability in the Document API. The HTTP handler in internal/server/routes/docs.go normalizes the user-supplied document path with cleanDocPath(), which strips leading/tra…

  27. 8.8CVE-2026-86099chainlitEPSS 0.6%

    Chainlit through 2.12.0 fails to validate the client-supplied socket.io sessionId parameter, allowing unauthenticated attackers to traverse filesystem paths by injecting absolute or relative path sequences. Attackers can craft malicious se…

  28. 7.3CVE-2026-78485dell secure connect gatewayEPSS 0.4%

    Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions prior to 5.36.00.00, contains an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability. An unauthenticated att…

  29. 4.9CVE-2026-19729EPSS 0.6%

    A flaw was found in the key provider component of the keycloak-services library, which is the core engine for the Red Hat Build of Keycloak. The issue occurs because a previous fix for path probing was incomplete, allowing a realm administ…

  30. 8.5CVE-2026-87030tanium complyEPSS 0.4%

    Tanium addressed a path traversal vulnerability in Comply.

  31. 8.5CVE-2026-87023tanium complyEPSS 0.5%

    Tanium addressed a path traversal vulnerability in Comply.

  32. 6.6CVE-2026-14505tanium tanium data serviceEPSS 0.4%

    Tanium addressed a path traversal vulnerability in Tanium Data Service.

  33. 9.0CVE-2026-53581opnsense coreEPSS 0.5%

    OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.9 of opnsense/core and version 26.4_20 of BE/opnsense/core, a path traversal vulnerability in the NTP configuration module allows an attacker to overwrite arb…

  34. 5.3CVE-2026-86995n8nEPSS 0.4%

    n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the Git node validated the repository parameter for fetch or pull, but setUpstream wrote a branch..remote value into repository configuration withou…

  35. 6.3CVE-2026-86079n8nEPSS 0.5%

    n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the Elasticsearch and ElasticSecurity nodes interpolated workflow-controlled index and document identifiers directly into REST request paths. An ide…

  36. 4.9CVE-2026-78624okta access gatewayEPSS 0.5%

    The Okta Access Gateway backup restore function does not validate the filename embedded in an encrypted backup payload. This results in writing file contents to unintended locations on the appliance filesystem.

  37. 7.6CVE-2026-77110adobeEPSS 1.1%

    Adobe Commerce is affected by an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability that could result in a Security feature bypass. An attacker with high privileges could leverage this vulnerabilit…

  38. 6.5CVE-2026-81377microsoft visual studio codeEPSS 0.8%

    Improper limitation of a pathname to a restricted directory ('path traversal') in Visual Studio Code allows an unauthorized attacker to perform tampering over a network.

  39. 5.0CVE-2026-79904adobe photoshop mobileEPSS 0.2%

    Photoshop Mobile is affected by an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability that could result in a Security feature bypass. A low-privileged attacker could leverage this vulnerability to …

  40. 7.4CVE-2026-78461microsoft visual studio codeEPSS 1.0%

    Improper limitation of a pathname to a restricted directory ('path traversal') in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.

  41. 8.0CVE-2026-69807microsoftEPSS 0.9%

    Improper link resolution before file access ('link following') in Windows PowerShell allows an authorized attacker to elevate privileges locally.

  42. 7.8CVE-2026-69445microsoftEPSS 0.4%

    Improper limitation of a pathname to a restricted directory ('path traversal') in Windows Compressed Folder allows an authorized attacker to elevate privileges locally.

  43. 6.5CVE-2026-62801microsoftEPSS 0.8%

    Improper limitation of a pathname to a restricted directory ('path traversal') in Windows PowerShell allows an unauthorized attacker to bypass a security feature over a network.

  44. 8.6CVE-2026-74239xenforoEPSS 0.9%

    XenForo before 2.3.13 contains a path traversal vulnerability in the style archive importer on Windows deployments that allows authenticated non-super administrators with style permissions to write arbitrary files outside the intended extr…

  45. 8.3CVE-2026-77104commvaultEPSS 0.6%

    CommServe contained a path traversal issue affecting information disclosure. Software customers upgrade to resolved maintenance release. Update CommServe.

  46. 8.5CVE-2026-77091commvaultEPSS 0.2%

    DataCube contained a path traversal issue affecting security feature enforcement. Software customers upgrade to resolved maintenance release. Update Content Extractor and Index Store.

  47. 6.8CVE-2026-74859EPSS 0.2%

    The shell theme installer in gnome-tweaks extracts user-supplied ZIP archives without validating archive member paths. As a result, a crafted theme archive can write files outside ~/.themes by using ../ path traversal, absolute paths, or s…

  48. 8.8CVE-2026-86542knowns-dev knownsEPSS 0.7%

    knowns before 0.30.0 fails to validate import names in the import routes, allowing unauthenticated attackers to write files outside the imports directory. Attackers can supply traversal sequences in the name parameter to escape the imports…

  49. 7.2CVE-2026-86541knowns-dev knownsEPSS 0.8%

    knowns versions before 0.30.0 contain a path traversal vulnerability in the handleCodeReplace() function that allows attackers to overwrite arbitrary files outside the project root. Attackers can supply absolute paths or relative paths con…

  50. 8.7CVE-2026-86538knowns-dev knownsEPSS 2.8%

    knowns versions before 0.30.0 contain a path traversal vulnerability in the POST /api/templates/preview endpoint that allows unauthenticated attackers to read arbitrary files. Attackers can supply directory traversal sequences in the templ…