CVE-2026-55554 Details
Description
Dompdf is an HTML to PDF converter for PHP. In versions 3.15 and prior, the validateLocalUri() method enforces chroot boundaries with a strpos() prefix check after normalizing paths with realpath() . Because normalization strips the trailing directory separator from $chrootPath , the check only verifies that $chrootPath is a string prefix of $realfile, so a chroot of /var/www also matches sibling directories like /var/www2 , /var/www-admin, or /var/www_backup. An attacker who controls part of the rendered HTML could exploit this to escape the chroot and read sensitive files outside the allowed directory. This issue has been fixed in version 3.16.
A chroot validation bypass vulnerability has been identified in Dompdf, an HTML to PDF converter for PHP, in versions through 3.1.5. The issue arises in the validateLocalUri() method, where chroot boundaries are enforced using a strpos() prefix check after normalizing paths with realpath(). This normalization process removes the trailing directory separator, allowing an attacker to exploit the vulnerability by crafting document paths that escape the chroot restrictions and access sensitive files outside the designated directory.
Users can upgrade to Dompdf version 3.1.6, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dompdf/dompdf/security/advisories/GHSA-wvh6-f5jh-8gw4 | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/dompdf/dompdf/releases/tag/v3.1.6 | [email protected] | Release Notes |
| https://github.com/dompdf/dompdf/security/advisories/GHSA-wvh6-f5jh-8gw4 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dompdf project dompdf | < 3.1.6 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 5, 2026 | Initial Analysis | [email protected] |
| Jul 29, 2026 | CVE Modified | CISA-ADP |
| Jul 28, 2026 | New CVE Received | [email protected] |