{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.28.0"
                  },
                  {
                    "fixed": "0.31.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "4b582856b36a0d037ff43ecbed2026d93f22ecc6"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v0.31.1",
                "range": [
                  {
                    "fixed": "68dd5fa59d2218dc39c1e732e3c72c426293839c"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "8ab139e222b977a7bd634412c03cc8de19d367ec"
            },
            {
              "fixed": "68dd5fa59d2218dc39c1e732e3c72c426293839c"
            },
            {
              "fixed": "4b582856b36a0d037ff43ecbed2026d93f22ecc6"
            }
          ],
          "repo": "https://github.com/dokploy/dokploy",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-q7cq-vxv7-449c"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133520.json"
  },
  "details": "Dokploy 0.28.0 before 0.31.1 contains a path traversal vulnerability in the patch.readRepoDirectories tRPC procedure that allows authenticated organization members to list tracked files of arbitrary git repositories. Attackers with service read permission can supply a crafted repoPath, which is passed to git ls-tree unconfined, to enumerate other organizations' application and compose source trees.",
  "id": "CVE-2026-133520",
  "modified": "2026-11-20T01:45:49.978000281Z",
  "published": "2026-11-20T00:37:08.135Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133520.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Dokploy/dokploy"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Dokploy/dokploy/blob/v0.31.0/apps/dokploy/server/api/routers/patch.ts#L181-L202"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Dokploy/dokploy/commit/4b582856b36a0d037ff43ecbed2026d93f22ecc6"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Dokploy/dokploy/pull/5899"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Dokploy/dokploy/releases/tag/v0.31.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Dokploy/dokploy/security/advisories/GHSA-q7cq-vxv7-449c"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-133520"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/dokploy-0.28.0-before-0.31.1-path-traversal-via-patch-readrepodirectories-repopath"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Dokploy 0.28.0 before 0.31.1 Path Traversal via patch.readRepoDirectories repoPath"
}