{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "4b582856b36a0d037ff43ecbed2026d93f22ecc6"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v0.31.1",
                "range": [
                  {
                    "fixed": "68dd5fa59d2218dc39c1e732e3c72c426293839c"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4b582856b36a0d037ff43ecbed2026d93f22ecc6"
            },
            {
              "fixed": "68dd5fa59d2218dc39c1e732e3c72c426293839c"
            }
          ],
          "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/128xxx/CVE-2026-128328.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "0.28.0"
              },
              {
                "fixed": "0.31.1"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "0.28.0"
              },
              {
                "fixed": "0.31.1"
              }
            ],
            "source": "CPE_FIELD",
            "strategy": "CPEApplicability"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "0.28.0"
              },
              {
                "fixed": "0.31.1"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "Dokploy 0.28.0 before 0.31.1 contains a path traversal vulnerability that allows authenticated organization members to list tracked files of any git repository by supplying an arbitrary repoPath to patch.readRepoDirectories. Attackers with read access to one service can enumerate file and directory names of other tenants' application and compose source trees on the host or managed servers.",
  "id": "CVE-2026-128328",
  "modified": "2026-11-15T02:31:07.877040586Z",
  "published": "2026-11-13T09:33:44.878Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128328.json"
    },
    {
      "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-128328"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/dokploy-0.28.0-before-0.31.1-path-traversal-via-patch-readrepodirectories-repopath"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Dokploy/dokploy/commit/4b582856b36a0d037ff43ecbed2026d93f22ecc6"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Dokploy/dokploy/pull/5899"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Dokploy/dokploy/blob/v0.31.0/apps/dokploy/server/api/routers/patch.ts#L181-L202"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Dokploy/dokploy/blob/v0.31.0/packages/server/src/services/patch-repo.ts#L84-L90"
    }
  ],
  "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"
}