{"id":"CVE-2026-32885","published":"2026-04-22T16:54:47Z","modified":"2026-04-22T18:35:36Z","title":"DDEV has ZipSlip path traversal in tar and zip archive extraction","vendor":"ddev","product":"ddev","tier":"tail","description":{"text":"DDEV is an open-source tool for running local web development environments for PHP and Node.js. Versions prior to 1.25.2 have unsanitized extraction in both `Untar()` and `Unzip()` functions in `pkg/archive/archive.go`. Downloads and extracts archives from remote sources without path validation. Version 1.25.2 patches the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00435,"percentile":0.38611,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/ddev/ddev/security/advisories/GHSA-x2xq-qhjf-5mvg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ddev/ddev/releases/tag/v1.25.2","tags":["x_refsource_MISC"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":7.72},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"ddev","affectedVersions":[{"vendor":"ddev","product":"ddev","versions":["< 1.25.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-22T18:25:23.835580Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/ddev/ddev","vulnerableRanges":["<1.25.2"],"patched":["1.25.2"],"from":["GHSA-x2xq-qhjf-5mvg","GO-2026-5735"],"provenance":"source"}],"summary":{"text":"DDEV, an open-source tool for local PHP and Node.js web development, has a path traversal flaw (ZipSlip) in the tar and zip extraction functions in pkg/archive/archive.go, where archives downloaded from remote sources are extracted without path validation. An attacker who can get a crafted archive fetched and extracted by a DDEV installation can write files outside the intended directory, provided a user interacts with the operation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:00Z"},"euvd":{"id":"EUVD-2026-25049","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-ddev-cve-2026-32885","children":[{"from":"CVE-2026-32885","to":"CVE-2026-108262","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/ddev/ddev","fromFixed":"1.25.2","toFixed":"1.25.4","daysApart":198},{"kind":"same-code","provenance":"machine","files":["pkg/archive/archive.go"],"commits":["https://github.com/ddev/ddev/commit/7034963403c5374fecceb02070d27b335329cede","https://github.com/ddev/ddev/commit/05cbe299770a590b89bfc8dddab33e61b4302e43"],"basis":"shared function","functions":["Untar"]},{"kind":"similar","provenance":"machine","score":0.48,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-32885","published":"2026-04-22","fixed":"1.25.2","kev":false},{"cve":"CVE-2026-108262","published":"2026-11-06","fixed":"1.25.4","kev":false}],"package":"Go:github.com/ddev/ddev"}}