CVE-2026-32885

DDEV has ZipSlip path traversal in tar and zip archive extraction

Published Apr 22, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

DDEV contains a path traversal flaw in its Untar() and Unzip() functions when handling archives downloaded from remote sources. The extractor does not validate paths, enabling an attacker who controls the archive to write files to arbitrary locations on the host. By embedding malicious payloads within such an archive, an attacker could achieve remote code execution, consistent with CWE-22.

Affected Systems

The vulnerability affects the open‑source DDEV tool used for local PHP and Node.js development environments. All releases prior to version 1.25.2 are susceptible. The 1.25.2 release and later include a patch that sanitises archive extraction.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred to be a local or remote attacker who can supply a crafted archive; once the archive is downloaded, the extraction routine will write potentially harmful files. No publicly reported exploits exist yet, but the lack of path validation poses a notable risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade DDEV to version 1.25.2 or later to apply the vendor patch.
  • Disable or remove any configuration that allows DDEV to download and extract archives from untrusted network sources.
  • If an upgrade is not immediately possible, enforce strict directory permissions on the extraction target folder to mitigate potential overwrites.

Generated by OpenCVE AI on April 27, 2026 at 08:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-x2xq-qhjf-5mvg DDEV has ZipSlip path traversal in tar and zip archive extraction
History
Type Values Removed Values Added
CPEs cpe:2.3:a:ddev:ddev:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Ddev
Ddev ddev
Vendors & Products Ddev
Ddev ddev
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title DDEV has ZipSlip path traversal in tar and zip archive extraction
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 22, 2026, 6:35 PM
Reserved
Mar 16, 2026, 9:03 PM
Status
Analyzed
Published
Apr 22, 2026, 5:16 PM
Modified
Nov 11, 2026, 11:10 PM