{"id":"CVE-2026-127050","kind":"vulnerability","aliases":["CVE-2026-127050"],"related":[],"title":"WordPress Backup Migration: path traversal in restore lets attackers write PHP files","description":"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.","summary":"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.","severity":"high","cvss":7.1,"epss":null,"exploited":false,"exploited_at":null,"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"],"how_to_check":"- Check the installed Backup Migration plugin version in the WordPress admin Plugins page; affected if below `2.1.8`.\n- 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","status":"open","published_at":"2026-11-12T13:17:16+00:00","first_seen_at":"2026-11-12T13:38:24+00:00","triaged_at":"2026-11-12T13:38:50+00:00","updated_at":"2026-11-12T13:38:50+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-12T13:38:50Z","model":"claude-haiku-5-5","output":{"fix":"- Backup Migration: move to `2.1.8` or later","reach":"internet","title":"WordPress Backup Migration: path traversal in restore lets attackers write PHP files","impact":"high","summary":"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.","audience":"businesses","category":"package","nicknames":[],"who_cares":["wordpress","php","self-hosted"],"confidence":0.7,"fix_status":"available","needs_auth":"yes","worst_case":"Attacker writes a PHP file and runs code on the server","analyst_note":"","how_to_check":"- Check the installed Backup Migration plugin version in the WordPress admin Plugins page; affected if below `2.1.8`.\n- On the server, run `php -m | grep -i zip` to see whether the PHP zip extension is missing, which activates the PclZip fallback.\n- unknown for other checks","plain_action":"","product_name":"Backup Migration","needs_analyst":false,"not_affected_if":["version-2.1.8-or-later","zip-extension-installed","no-untrusted-restores"],"who_is_affected":"Sites running the Backup Migration WordPress plugin before 2.1.8, particularly where the PHP zip extension is not installed so the PclZip restore fallback runs. Exploitation requires an administrator to restore a malicious backup archive, so sites that never restore untrusted backups are at lower risk. Sites on hosts with the zip extension may not use the vulnerable code path.","user_interaction":"yes","product_ecosystem":"vendor","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000787,"input_tokens":4673,"output_tokens":640,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-127050':15A,18A '-2026':14A,17A '2.1.8':32B,81C 'achiev':99C,159C 'administr':105C 'allow':95C 'arbitrari':100C 'archiv':54B,110C,124C 'attack':9A,97C,119C 'backup':2A,19A,27B,53B,78C,109C 'code':76B,161C 'contain':84C,128C 'craft':121C 'cve':13A,16A 'dir':140C 'directori':151C 'entri':56B,126C 'execut':77B,162C 'extens':50B,118C 'extract':65B,133C,139C,150C 'fallback':42B,93C 'file':12A,62B,101C,146C 'flaw':37B 'folder':66B 'host':25B 'intend':149C 'lack':114C 'lead':73B 'let':8A 'malici':52B,108C 'migrat':3A,28B,79C 'migration':20A 'name':57B,127C 'opt':138C 'option':142C 'outsid':63B,147C 'packag':21B 'path':4A,35B,86C 'pclzip':40B,91C,131C,137C 'php':11A,22B,48B,61B,116C,145C 'process':134C 'remot':75B,160C 'restor':7A,41B,92C,106C 'restrict':141C 'self':24B 'self-host':23B 'sequenc':129C 'servabl':71B,156C 'server':45B,113C 'travers':5A,36B,87C 'tree':72B,157C 'use':43B 'vulner':88C 'web':70B,155C 'web-serv':69B,154C 'without':46B,135C 'wordpress':1A,26B,30B,83C 'write':10A,59B,102C,143C 'zip':49B,117C,123C","nicknames":[],"mitigations":[],"who_affected":"Sites running the Backup Migration WordPress plugin before 2.1.8, particularly where the PHP zip extension is not installed so the PclZip restore fallback runs. Exploitation requires an administrator to restore a malicious backup archive, so sites that never restore untrusted backups are at lower risk. Sites on hosts with the zip extension may not use the vulnerable code path.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":["backupmigration","migration"],"ptokens":["backup","migration"],"labels":["high","package","php","selfhosted","vendor","wordpress"],"campaign_type":null,"search_a":"'-127050':15A,18A '-2026':14A,17A 'attack':9A 'backup':2A,19A 'cve':13A,16A 'file':12A 'let':8A 'migrat':3A 'migration':20A 'path':4A 'php':11A 'restor':7A 'travers':5A 'wordpress':1A 'write':10A","search_b":"'2.1.8':32B 'archiv':54B 'backup':27B,53B 'code':76B 'entri':56B 'execut':77B 'extens':50B 'extract':65B 'fallback':42B 'file':62B 'flaw':37B 'folder':66B 'host':25B 'lead':73B 'malici':52B 'migrat':28B 'name':57B 'outsid':63B 'packag':21B 'path':35B 'pclzip':40B 'php':22B,48B,61B 'remot':75B 'restor':41B 'self':24B 'self-host':23B 'servabl':71B 'server':45B 'travers':36B 'tree':72B 'use':43B 'web':70B 'web-serv':69B 'without':46B 'wordpress':26B,30B 'write':59B 'zip':49B","search_c":"'2.1.8':81C 'achiev':99C,159C 'administr':105C 'allow':95C 'arbitrari':100C 'archiv':110C,124C 'attack':97C,119C 'backup':78C,109C 'code':161C 'contain':84C,128C 'craft':121C 'dir':140C 'directori':151C 'entri':126C 'execut':162C 'extens':118C 'extract':133C,139C,150C 'fallback':93C 'file':101C,146C 'intend':149C 'lack':114C 'malici':108C 'migrat':79C 'name':127C 'opt':138C 'option':142C 'outsid':147C 'path':86C 'pclzip':91C,131C,137C 'php':116C,145C 'process':134C 'remot':160C 'restor':92C,106C 'restrict':141C 'sequenc':129C 'servabl':156C 'server':113C 'travers':87C 'tree':157C 'vulner':88C 'web':155C 'web-serv':154C 'without':135C 'wordpress':83C 'write':102C,143C 'zip':117C,123C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-12T13:17:16+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-127050","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-127050","severity":null,"published_at":"2026-11-12T13:17:16+00:00","modified_at":"2026-11-12T13:17:16+00:00","first_seen_at":"2026-11-12T13:38:24+00:00","fetched_at":"2026-11-12T13:38:24+00:00","note":null}],"documents":[{"id":135105,"url":"https://www.vulncheck.com/advisories/backup-migration-before-path-traversal-via-pclzip-restore-fallback","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}