---
id: "CVE-2026-127050"
page: "https://infrastack.ai/live/CVE-2026-127050"
kind: "vulnerability"
aliases: ["CVE-2026-127050"]
title: "WordPress Backup Migration: path traversal in restore lets attackers write PHP files"
severity: "high"
cvss: 7.1
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "Backup Migration", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["package", "php", "self-hosted", "wordpress"]
not_affected_if: ["no-untrusted-restores", "version-2.1.8-or-later", "zip-extension-installed"]
published_at: "2026-11-12T13:17:16+00:00"
first_seen_at: "2026-11-12T13:38:24+00:00"
updated_at: "2026-11-12T13:38:50+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-127050", "first_seen_at": "2026-11-12T13:38:24+00:00"}]
exploit_sources: []
---

# WordPress Backup Migration: path traversal in restore lets attackers write PHP files

Link for people: https://infrastack.ai/live/CVE-2026-127050 (this .md is for agents)

Backup Migration for WordPress before 2.1.8 has a path traversal flaw in its PclZip restore fallback, used on servers without the PHP zip extension. A malicious backup archive with '..' entry names can write a PHP file outside the extraction folder into the web-servable tree, leading to remote code execution.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:Backup Migration affected range not listed fixed no fixed version listed

## How to check

- Check the installed Backup Migration plugin version in the WordPress admin Plugins page; affected if below `2.1.8`.
- On the server, run `php -m | grep -i zip` to see whether the PHP zip extension is missing, which activates the PclZip fallback.

## Fix

- Backup Migration: move to `2.1.8` or later

## Timeline

- 2026-11-12T13:38:24+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-127050

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/backup-migration-before-path-traversal-via-pclzip-restore-fallback

## From the sources

Backup Migration before 2.1.8 for WordPress contains a path traversal vulnerability in its PclZip restore fallback that allows an attacker to achieve arbitrary file write when an administrator restores a malicious backup archive on a server lacking the PHP zip extension. Attackers can craft a zip archive with entry names containing ".." sequences, which PclZip's extract() processes without the PCLZIP_OPT_EXTRACT_DIR_RESTRICTION option, writing a PHP file outside the intended extraction directory into the web-servable tree to achieve remote code execution.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
