cve.bz

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

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. 9.8CVE-2026-64731apple macosEPSS 0.6%

    A path handling issue was addressed with improved validation. This issue is fixed in macOS Sequoia 15.7.8, macOS Tahoe 26.6. A malicious app may be able to break out of its sandbox.

  2. 8.2CVE-2026-43772apple macosEPSS 0.2%

    A path traversal issue was addressed with improved input validation. This issue is fixed in macOS Sequoia 15.7.8, macOS Sonoma 14.8.8, macOS Tahoe 26.6. An app may be able to break out of its sandbox.

  3. 7.8CVE-2026-43749apple macosEPSS 0.2%

    A parsing issue in the handling of directory paths was addressed with improved path validation. This issue is fixed in macOS Sequoia 15.7.8, macOS Sonoma 14.8.8, macOS Tahoe 26.6. An app may be able to gain root privileges.

  4. 7.8CVE-2026-43723appleEPSS 0.2%

    A path handling issue was addressed with improved validation. This issue is fixed in iOS 18.7.10 and iPadOS 18.7.10, iOS 26.6 and iPadOS 26.6, macOS Sequoia 15.7.8, macOS Sonoma 14.8.8, macOS Tahoe 26.6, tvOS 26.6, visionOS 26.6, watchOS 2…

  5. 8.8CVE-2026-65921jfrog artifactoryEPSS 0.6%

    A path validation weakness in archive extraction/write handling allows entries with traversal sequences to be written outside the intended build artifacts location.

  6. 9.1CVE-2026-45623postcssEPSS 0.6%

    PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. In versions 8.5.11 and prior, the PreviousMap parses the /*# sourceMappingURL=PATH */ comment from any CSS…

  7. 8.6CVE-2026-66397thorsten phpmyfaqEPSS 0.4%

    phpMyFAQ before 4.1.6 fails to validate path traversal sequences in the existing_image field during category updates, allowing authenticated attackers to delete arbitrary files by exploiting insufficient sanitization in Image::delete(). At…

  8. 4.9CVE-2026-66476syed balkhi easy digital downloadsEPSS 0.5%

    Administrator Arbitrary File Deletion in Easy Digital Downloads <= 3.6.9 versions.

  9. 8.7CVE-2026-66050nitroshare nitroshare-desktopEPSS 1.1%

    NitroShare Desktop through 0.3.4 contains a path traversal vulnerability in its LAN file transfer server that allows unauthenticated attackers on the same network to write arbitrary files by sending a crafted filename containing directory …

  10. 6.8CVE-2026-65436themeum kirkiEPSS 0.5%

    Editor Arbitrary File Deletion in Kirki <= 6.0.13 versions.

  11. 8.3CVE-2026-65878joomshaper.com sp page builder extension for joomlaEPSS 0.5%

    Joomla Extension - joomshaper.com - Authenticated arbitrary file delete in SP Page Builder < 6.7.1- Improper path validation and ACL checks lead to a file deletion vector in the media manager.

  12. 1.9CVE-2026-17514zjonsson node-unzipperEPSS 0.2%

    A vulnerability was determined in ZJONSSON node-unzipper up to 0.12.3. Affected by this vulnerability is the function Extract of the file lib/extract.js. This manipulation causes path traversal. The attack requires local access. The exploi…

  13. 1.8CVE-2026-40000zte blade a75 5gEPSS 0.2%

    The Activity zte.com.cn.filer/zte.com.cn.filer.FilePreViewActivity within ZTE File Manager is designed to preview compressed files. Third-party applications can launch this Activity and supply arbitrary file paths (e.g., content://zte.com.…

  14. 6.9CVE-2026-65765phoca.cz phoca commander extension for joomlaEPSS 0.5%

    Joomla Extension - phoca.cz - Path Traversal vulnerability in Phoca Commander 1.0.0-6.1.1 - Improper limitation of paths for save and download actions lead to path traversal vulnerabilities.

  15. 6.5CVE-2026-14955themehigh checkout field editor for woocommerce (pro)EPSS 0.8%

    The Checkout Field Editor for WooCommerce (Pro) plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 3.7.7 via the 'thwcfe_legacy_file' parameter. This makes it possible for authenticated attacker…

  16. 6.9CVE-2026-66007huggingface datasetsEPSS 0.5%

    Datasets through 5.0.0, fixed in commit f989ef9, contains a path traversal vulnerability in folder-based dataset builders where the file_name metadata field is not properly validated before being joined to the dataset directory. Attackers …

  17. 6.0CVE-2026-66004EPSS 0.3%

    BlenderMCP before commit 30a3308 contains a path traversal vulnerability in the download_polyhaven_asset method that allows attackers to write arbitrary files by injecting traversal sequences in API response include keys. Attackers perform…

  18. 4.3CVE-2026-15420posimyththemes nexter blocks – gutenberg blocks, page builder & ai website builderEPSS 0.9%

    The Nexter Blocks – Gutenberg Blocks, Page Builder & AI Website Builder plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 5.0.0 via the 'plus_name' parameter. This makes it possible for authent…

  19. 5.5CVE-2026-16767ne-lexa php-zipEPSS 0.7%

    A vulnerability was detected in Ne-Lexa php-zip up to 4.0.2. This affects the function ZipFile::extractTo of the file src/ZipFile.php of the component ZIP Handler. Performing a manipulation of the argument entryName results in path travers…

  20. 8.7CVE-2026-65694microweberEPSS 3.4%

    Microweber CMS through 2.0.20 contains a path traversal vulnerability in the static file controller that allows unauthenticated remote attackers to read arbitrary files by supplying directory traversal sequences in the path query parameter…

  21. 9.3CVE-2026-47669dbgateEPSS 0.5%

    DbGate is cross-platform database manager. In versions 7.1.8 and prior, the `unzipDirectory()` function in `packages/api/src/shell/unzipDirectory.js` (line 27) does not validate that extracted file paths stay within the output directory. A…

  22. 2.4CVE-2026-15687kubernetes kubernetes-client/javaEPSS 0.4%

    A security issue was discovered in the Kubernetes Java client library where a compromised pod may be able to create new files in arbitrary locations on the client machine executing copy operations via non-tar copyDirectoryFromPod when enab…

  23. 5.3CVE-2026-65920huggingface diffusersEPSS 0.4%

    Diffusers through 0.39.0, fixed in commit cee298c, contains a path traversal vulnerability in the _get_checkpoint_shard_files function that allows attackers to read arbitrary files by supplying malicious weight_map values in model index JS…

  24. 8.7CVE-2026-65919mesheryEPSS 2.1%

    Meshery before 1.0.57 contains an unauthenticated arbitrary file read vulnerability in the /api/system/fileView and /api/system/fileDownload endpoints that pass user-supplied file parameters directly to os.Open without path validation. Att…

  25. 8.8CVE-2026-65702vanna-ai vannaEPSS 0.6%

    Vanna through 2.0.2 contains a path traversal vulnerability in the FileSystemConversationStore persistence integration that allows unauthenticated remote attackers to write attacker-controlled JSON files to arbitrary filesystem locations a…

  26. 9.3CVE-2026-65701EPSS 0.7%

    SoftVC VITS Singing Voice Conversion through commit 730930d contains a path traversal vulnerability in the full-song inference server that allows unauthenticated remote attackers to read and exfiltrate arbitrary files by supplying attacker…

  27. 9.3CVE-2026-65700h2oai h2ogptEPSS 1.5%

    h2oGPT through 0.2.1 contains a path traversal vulnerability in the OpenAI-compatible files API that allows unauthenticated remote attackers to read, write, and delete arbitrary files accessible to the server process by supplying traversal…

  28. 6.0CVE-2026-65698voideditor voidEPSS 0.5%

    Void through 1.3.4 contains a path traversal vulnerability in the AI agent file-reading tools that allows network-adjacent attackers to read arbitrary host files outside the open workspace by injecting instructions into content the agent p…

  29. 7.6CVE-2026-65695gongrzhe office-word-mcp-serverEPSS 0.5%

    Office-Word-MCP-Server through 1.1.11 contains a path traversal vulnerability in its document tools that allows attackers who can influence the filename argument to read arbitrary .docx files or create and overwrite .docx files outside the…

  30. 8.7CVE-2026-65690syncfusion standalone report designerEPSS 0.9%

    Bold Reports Standalone Report Designer before 14.1.12 contains a missing filepath validation vulnerability in its file upload functionality that allows authenticated attackers to traverse outside the intended directory by supplying a craf…

  31. 9.3CVE-2026-65689syncfusion standalone report designerEPSS 0.9%

    Bold Reports Standalone Report Designer before 14.1.12 contains a missing filepath validation vulnerability in its database download feature that allows unauthenticated attackers to read arbitrary files from the server filesystem by supply…

  32. 9.3CVE-2026-65688syncfusion standalone report designerEPSS 0.9%

    Bold Reports Standalone Report Designer before 14.1.12 contains a missing filepath validation vulnerability in its font processing feature that allows unauthenticated attackers to read arbitrary files from the server filesystem by supplyin…

  33. 9.3CVE-2026-65687syncfusion standalone report designerEPSS 0.9%

    Bold Reports Standalone Report Designer before 14.1.12 contains a missing filepath validation vulnerability in its SVG processing feature that allows unauthenticated attackers to read arbitrary files from the server filesystem by supplying…

  34. 7.1CVE-2026-65607siyuan-note siyuanEPSS 0.6%

    SiYuan before v3.7.2 contains a path traversal vulnerability in the /export/temp/ short-circuit branch of the serveExport handler (kernel/server/serve.go). Unlike the main export branch, this branch joins the raw, percent-decoded request p…

  35. 10.0CVE-2026-59555roland barker participants databaseEPSS 0.6%

    Unauthenticated Arbitrary File Deletion in Participants Database <= 2.7.8.3 versions.

  36. 7.7CVE-2026-59542wp chill kali formsEPSS 0.5%

    Subscriber Arbitrary File Deletion in Kali Forms <= 2.4.18 versions.

  37. 5.3CVE-2026-57716videowhisper broadcast live videoEPSS 0.4%

    Unauthenticated Arbitrary File Deletion in Broadcast Live Video <= 7.2.4 versions.

  38. 7.1CVE-2026-57696videowhisper picture galleryEPSS 0.4%

    Contributor Arbitrary File Deletion in Picture Gallery <= 1.6.5 versions.

  39. 7.5CVE-2026-65754regularlabs.com rereplacer pro extension for joomlaEPSS 0.5%

    Joomla Extension - regularlabs.com - Insecure path handling in ReReplacer Pro extension - ReReplacer XML include paths could read files outside the site directory.

  40. 6.5CVE-2026-65713regularlabs.com modals pro extension for joomlaEPSS 0.3%

    Joomla Extension - regularlabs.com - Insecure path handling in Modals Pro extension - Modals gallery paths could enumerate unintended directories.

  41. 6.2CVE-2026-65712regularlabs.com cdn for joomla pro extension for joomlaEPSS 0.2%

    Joomla Extension - regularlabs.com - Insecure path handling in CDN for Joomla Pro extension - CDN versioning could check file paths outside the site directory, exposing local file existence and modification metadata.

  42. 9.8CVE-2026-65431regularlabs.com geoip extension for joomlaEPSS 0.6%

    Joomla Extension - regularlabs.com - Zipslip in GeoIP extension - Geo IP database update archives have been broadly extracted without path validation, leading to unsafe file extractions.

  43. 6.5CVE-2026-64872regularlabs.com cache cleaner pro extension for joomlaEPSS 0.3%

    Joomla Extension - regularlabs.com - Path traversal in Cache Cleaner Pro extension - Custom purge and log paths could escape the site webroot directory.

  44. 6.5CVE-2026-16078kilbot wcpos – point of sale (pos) plugin for woocommerceEPSS 0.9%

    The WCPOS – Point of Sale (POS) plugin for WooCommerce plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 1.9.8 via the 'type' parameter parameter. This makes it possible for authenticated attac…

  45. 4.4CVE-2026-15786gowebsmarty wp encryption – lifetime free ssl cert & https, force ssl / https redirect, ssl securityEPSS 0.6%

    The WP Encryption – One Click Free SSL Certificate & SSL / HTTPS Redirect, Security & SSL Scan plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 7.8.6.6 via the 'imploded' parameter parameter. …

  46. 7.5CVE-2026-15074fastify fastify-staticEPSS 0.7%

    @fastify/static up to and including version 10.1.0 fails to reject dot-dot path segments in request pathnames before the file-resolution stage. This is a bypass of the earlier fix for CVE-2026-6414, which only covered encoded forward slash…

  47. 5.5CVE-2026-16653boazsegev facil.ioEPSS 0.7%

    A security flaw has been discovered in boazsegev facil.io up to 0.7.58. This affects the function http_sendfile2 of the file lib/facil/http/http.c of the component Public Folder Handler. Performing a manipulation results in path traversal.…

  48. 7.8CVE-2026-14985analog way picturall quad compact mark iiEPSS 0.2%

    The Analog Way Picturall Quad Compact Mark II version 3.5.8, contains a local privilege escalation vulnerability in the core firmware. This is due to improper privilege delegation and insufficient input validation in a maintenance script.

  49. 8.1CVE-2026-13186progress telerik ui for asp.net ajaxEPSS 0.7%

    In Progress® Telerik® UI for AJAX prior to v2026.2.708, a path traversal vulnerability in the file-based persistence storage provider can be exploited when the storage key is derived from user-controlled input, enabling attacker-controlled…

  50. 7.8CVE-2026-65600traefikEPSS 1.0%

    Traefik versions <= v2.11.51, >= v3.6.0 <= v3.6.22, and >= v3.7.0 <= v3.7.6 contain an authentication bypass via path traversal in the ReplacePathRegex middleware. When ReplacePathRegex is configured with a regex that captures user-control…