cve.bz

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

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. 7.5CVE-2026-16915ibm db2 mirror for iEPSS 0.9%

    IBM Db2 Mirror for i 7.4, 7.5, and 7.6 could allow a remote authenticated attacker to obtain sensitive information due to improper input validation.

  2. 6.9CVE-2026-57472kunbus revpipyloadEPSS 0.2%

    Nozomi Networks Labs identified a CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in the file management functionality of the XML-RPC management interface of KUNBUS RevPiPyLoad in versio…

  3. 6.8CVE-2026-57471kunbus revpipyloadEPSS 0.2%

    Nozomi Networks Labs identified a CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in the file management functionality of the XML-RPC management interface of KUNBUS RevPiPyLoad in versio…

  4. 6.3CVE-2026-19880qos.ch sarl logback-classicEPSS 0.3%

    Path-traversal vulnerability in QOS.CH Sarl Logback-classic on Java (logback-classic module) allows path-traversal vulnerability. More specifically, an MDC-based discriminator value flows unsanitized into a nested FileAppender path, lett…

  5. 2.1CVE-2026-19829648540858 wvp-gb28181-proEPSS 0.5%

    A security flaw has been discovered in 648540858 wvp-GB28181-pro 2.7.4-20260107. This vulnerability affects unknown code of the file LogController.java of the component Log File Download Endpoint. The manipulation of the argument fileName …

  6. 2.1CVE-2026-19828648540858 wvp-gb28181-proEPSS 0.4%

    A vulnerability was identified in 648540858 wvp-GB28181-pro 2.7.4-20260107. This affects an unknown part of the file PlayController.java of the component Snapshot Endpoint. The manipulation of the argument deviceId/channelId leads to path …

  7. 5.5CVE-2026-19827alldatacenter alldataEPSS 0.7%

    A flaw has been found in alldatacenter alldata up to 0.6.8. This impacts the function FileInputStream of the file /admin/controller/JobLogController.java of the component logDetailCat Endpoint. This manipulation of the argument executorAdd…

  8. 6.9CVE-2026-72820getgrav gravEPSS 0.5%

    Grav versions before 2.0.13 fail to properly validate backup profile root paths, allowing attackers to archive directories outside GRAV_ROOT when not in the hard-coded deny-list. Attackers with profile editor access can configure backup pr…

  9. 6.3CVE-2026-72814actix actix-filesEPSS 0.5%

    The actix-files crate (actix_files) before version 0.6.10 contains an information exposure vulnerability. When a non-existing folder is passed as the serve_from argument to Files::new(), the mount path defaults to an empty path; the servic…

  10. 5.1CVE-2026-19763dtstack taierEPSS 0.6%

    A vulnerability was determined in DTStack Taier 1.4.0. Affected by this issue is the function FileUtils.deleteDirectory of the file ClusterController.java of the component Cluster Creation. This manipulation of the argument clusterName cau…

  11. 5.5CVE-2026-19762dtstack taierEPSS 0.6%

    A vulnerability was found in DTStack Taier 1.4.0. Affected by this vulnerability is the function Paths.ge of the file FileChunkController.java of the component Chunk-Check Endpoint. The manipulation of the argument Name results in path tra…

  12. 5.1CVE-2026-19761dtstack taierEPSS 0.5%

    A vulnerability has been found in DTStack Taier 1.4.0. Affected is the function MultipartFile.getOriginalFilename of the file UploadController.java of the component Upload Controller. The manipulation of the argument File leads to path tra…

  13. 5.5CVE-2026-19758dromara lamp-cloudEPSS 0.6%

    A vulnerability was determined in dromara lamp-cloud up to 5.10.0. This issue affects some unknown processing of the file FileChunkController.java of the component chunk-check endpoint. Executing a manipulation of the argument Name can lea…

  14. 5.5CVE-2026-19757dromara lamp-cloudEPSS 0.6%

    A vulnerability was found in Dromara lamp-cloud up to 5.10.0. This vulnerability affects unknown code of the file FileAnyoneController.java of the component File-Upload Controller. Performing a manipulation of the argument bucket/bizType r…

  15. 2.1CVE-2026-19756dromara lamp-cloudEPSS 0.4%

    A vulnerability has been found in Dromara lamp-cloud up to 5.10.0. This affects an unknown part of the file DefGenProjectController.java of the component Code Generator. Such manipulation of the argument outputDir/parent/projectPrefix lead…

  16. 8.1CVE-2026-73659triggerdotdev trigger.devEPSS 0.5%

    Trigger.dev is the open-source platform for building AI workflows in TypeScript. From 4.4.2 until 4.5.0, the packet presign routes in apps/webapp/app/routes/api.v1.packets.$.ts pass a caller-controlled filename through resolveStoreProtocol…

  17. 8.2CVE-2026-73658triggerdotdev trigger.devEPSS 0.4%

    Trigger.dev is a platform for building and deploying fully managed AI agents and workflows. From 4.4.2 until 4.5.0-rc.5, Aws4FetchClient.buildUrl() and Aws4FetchClient.presign() in apps/webapp/app/v3/objectStoreClient.server.ts assign user…

  18. 4.2CVE-2026-73657triggerdotdev trigger.devEPSS 0.2%

    Trigger.dev is a platform for building and deploying fully managed AI agents and workflows. From 4.4.2 until 4.5.0-rc.4, `POST /api/v1/runs/:runParam/replay` in apps/webapp/app/routes/api.v1.runs.$runParam.replay.ts uses `prisma.taskRun.fi…

  19. 9.4CVE-2026-72850budibase serverEPSS 0.5%

    Budibase before 3.40.0 fails to properly sanitize S3 object keys, allowing authenticated builders to upload files with traversal sequences that are preserved during export. Attackers can craft filenames containing .. segments that escape t…

  20. 7.5CVE-2026-17473ibm documentation offlineEPSS 0.6%

    IBM Documentation Offline 1.0.0 through 1.4.1 could allow a remote attacker to read arbitrary files due to improper limitation of a pathname to a restricted directory.

  21. 4.3CVE-2026-17088ibm iEPSS 0.5%

    IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote authenticated attacker to obtain sensitive information due to a path traversal vulnerability.

  22. 2.7CVE-2026-17071ibm iEPSS 0.4%

    IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote authenticated attacker to perform file manipulation due to path traversal.

  23. 7.1CVE-2026-48099mar10 wsgidavEPSS 0.3%

    WsgiDAV is a generic and extendable WebDAV server based on WSGI. WsgiDAV 4.3.3 and prior can allow a WebDAV request path containing an encoded parent-directory segment to escape the configured filesystem share root in a specific path layou…

  24. 6.9CVE-2026-45774oscal-compass compliance-trestleEPSS 0.5%

    compliance-trestle is a tooling platform for managing compliance as code. Prior to versions 3.12.2 and 4.0.3, the compliance-trestle library's profile import mechanism resolves `trestle://` URIs and relative file paths by joining them with…

  25. 3.8CVE-2026-17043ibm iEPSS 0.5%

    IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote authenticated attacker to delete arbitrary files due to path traversal.

  26. 8.8CVE-2026-16908ibm iEPSS 0.6%

    IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote authenticated attacker to gain unauthorized access to arbitrary objects due to a path traversal vulnerability.

  27. 9.4CVE-2026-73653vitest-dev vitestEPSS 0.8%

    Vitest is a testing framework powered by Vite. Prior to versions 3.2.7, 4.1.10, and 5.0.0-beta.6, Browser Mode provider commands including upload, takeScreenshot, screenshotMatcher, stopChunkTrace, deleteTracing, and annotateTraces accept …

  28. 6.9CVE-2026-67613usmannasir cyberpanelEPSS 0.5%

    CyberPanel before 3.0.0 contains a path traversal vulnerability that allows authenticated administrators to read arbitrary files from the server filesystem by supplying unsanitized file paths to the cloudAPI ReadReport endpoint. Attackers …

  29. 8.2CVE-2026-13048EPSS 0.6%

    Data::MuForm::Localizer versions through 0.05 for Perl execute Perl from a message catalog header, reached at an arbitrary path because load_lexicon interpolates the language attribute into the catalog filename. load_lexicon builds the ca…

  30. 7.6CVE-2026-73509openlistteam openlistEPSS 0.5%

    OpenList a file list program that supports multiple storage. Prior to 4.2.4, the authenticated /api/fs/batch_rename handler in server/handles/fsbatch.go authorizes only the source directory produced by user.JoinPath(req.SrcDir) and validat…

  31. 9.2CVE-2026-70460samba rsyncEPSS 0.4%

    rsync 2.3.3 before 3.5.0 contains a path traversal vulnerability that allows a malicious sender to escape the module root by exploiting symlinks within the module file tree when using --partial-dir or --backup-dir options. Attackers with w…

  32. 7.7CVE-2026-65582liquidthemes ai hubEPSS 0.4%

    Subscriber Arbitrary File Download in AI Hub <= 1.3.10 versions.

  33. 7.5CVE-2026-61980daan.dev omgf proEPSS 0.5%

    Unauthenticated Arbitrary File Download in OMGF Pro <= 5.2.7 versions.

  34. 7.4CVE-2026-28189roland barker participants databaseEPSS 0.4%

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

  35. 7.2CVE-2026-73620gitpython project gitpythonEPSS 0.6%

    GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository c…

  36. 7.7CVE-2026-73498sooperset mcp-atlassianEPSS 0.5%

    MCP Atlassian is a Model Context Protocol (MCP) server for Atlassian products (Confluence and Jira). Prior to 0.22.0, confluence_upload_attachment passes its client-supplied file_path directly to open(file_path, "rb") in src/mcp_atlassian/…

  37. 9.9CVE-2026-66898canonical lxdEPSS 0.6%

    A path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and restore operations. When importing or restoring a backup archive, LXD fails to validate instance and storage volume names con…

  38. 7.1CVE-2026-64826rconfigEPSS 0.5%

    rConfig before 8.2.13 contains a path traversal vulnerability that allows authenticated attackers to read arbitrary files by supplying unsanitized directory traversal sequences in the filename GET parameter of the download_export() method.…

  39. 8.5CVE-2026-16033canonical lxdEPSS 0.5%

    A path traversal vulnerability in LXD allows an attacker to achieve arbitrary host file read or unconstrained file creation. When processing image metadata templates, LXD fails to properly sanitize or restrict template file paths from esca…

  40. 8.8CVE-2026-13622EPSS 0.2%

    A symlink following vulnerability was found in KubeVirt's virt-handler migration proxy. During live migration, virt-handler dials Unix sockets inside the target virt-launcher pod via /proc/<pid>/root/ paths using net.Dial() without symlink…

  41. 8.8CVE-2026-13105ibm i access client solutionsEPSS 0.5%

    IBM i Access Client Solutions 1.1.2.0 through 1.1.9.13 is vulnerable to zip slip path traversal exploit when importing a configuration.

  42. 9.0CVE-2026-73407budibaseEPSS 0.5%

    Budibase is an open-source low-code platform. Prior to 3.40.1, RestIntegration._req in packages/server/src/integrations/rest.ts attached credentials from getAuthHeaders and defaultHeaders without requiring the final request destination to …

  43. 6.5CVE-2026-17266ibm iEPSS 0.7%

    IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote authenticated attacker to obtain sensitive information due to improper limitation of a pathname to a restricted directory.

  44. 4.3CVE-2026-18106ibm iEPSS 0.5%

    IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote authenticated attacker to obtain sensitive information due to improper validation of user-supplied path input.

  45. 7.1CVE-2026-17094ibm iEPSS 0.5%

    IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote authenticated attacker to obtain sensitive information and manipulate files due to a path traversal vulnerability.

  46. 5.3CVE-2026-66384jfrog artifactoryKEVEPSS 0.7%

    An authenticated user may write data outside the intended Docker cache path under specific remote-repository conditions.

  47. 6.8CVE-2026-65939progress whatsup goldEPSS 0.4%

    In WhatsUp Gold versions released before 2026.0.2, a privileged attacker can create a LogToFile action specifying an arbitrary file extension within the IIS web root.

  48. 7.1CVE-2026-73291seerr-team seerrEPSS 0.4%

    Seerr is an open-source media request and discovery manager for Jellyfin, Plex, and Emby. Prior to version 3.4.0, Seerr's ImageProxy in server/lib/imageproxy.ts uses the upstream ETag and Content-Type response headers to build a cache file…

  49. 6.3CVE-2026-67286joomshaper.com sp page builder extension for joomlaEPSS 0.5%

    Joomla Extension - joomshaper.com - Unauthenticated arbitrary directory creation and file write in SP Page Builder < 6.8.0 - An unauthenticated attacker can create arbitrary directories and files with a predefined name.

  50. 4.3CVE-2026-66382jfrog artifactoryEPSS 0.4%

    An authenticated user may write files outside the intended Artifactory work directory under specific conditions.