CVE-2026-142202

HIGHCVSS 8.3/10EPSS 0.68%

Last modified

CVE-2026-142202 is a high-severity vulnerability rated 8.3/10 on the CVSS scale. PHPOffice PHPWord through 1.4.0 contains a path traversal vulnerability in Element\Image::getImageString() and Writer\AbstractWriter::addFileToPackage() that allows attackers to read and delete arbitrary files via crafted zip entry names. Attackers can submit a docx whose image relationship targets and zip entries contain ../ sequences, exposing server files in converted output and unlinking files writable by the web server.. EPSS estimates a 0.68% chance of exploitation in the next 30 days.

Description

PHPOffice PHPWord through 1.4.0 contains a path traversal vulnerability in Element\Image::getImageString() and Writer\AbstractWriter::addFileToPackage() that allows attackers to read and delete arbitrary files via crafted zip entry names. Attackers can submit a docx whose image relationship targets and zip entries contain ../ sequences, exposing server files in converted output and unlinking files writable by the web server.

Metrics

Weakness Enumeration

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
PHPOfficePHPWord<= 1.4.0

References

Timeline

Published
Last Modified
Status
Awaiting Analysis

Frequently Asked Questions

What is CVE-2026-142202?
PHPOffice PHPWord through 1.4.0 contains a path traversal vulnerability in Element\Image::getImageString() and Writer\AbstractWriter::addFileToPackage() that allows attackers to read and delete arbitrary files via crafted zip entry names. Attackers can submit a docx whose image relationship targets and zip entries contain ../ sequences, exposing server files in converted output and unlinking files writable by the web server.
How severe is CVE-2026-142202?
CVE-2026-142202 has a CVSS score of 8.3/10 (HIGH severity). The EPSS model estimates a 0.68% probability of exploitation in the next 30 days.
How do I fix CVE-2026-142202?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-142202?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST