High severity · published Jul 28, 2026
CVE-2026-55554
Dompdf: Chroot Validation Bypass
7.5
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 39% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DO
dompdf · dompdf
< 3.1.6 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-55554
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-55554
Release Notes
https://github.com/dompdf/dompdf/releases/tag/v3.1.6
Exploit
https://github.com/dompdf/dompdf/security/advisories/GHSA-wvh6-f5jh-8gw4
More from dompdf
9.8
CVE-2021-3902
Improper Restriction of XML External Entity Reference in dompdf/dompdf
9.8
CVE-2021-3838
PHAR Deserialization in dompdf/dompdf
7.5
CVE-2026-59941
Dompdf: Uncontrolled resource consumption based on declared BMP dimensions
7.5
CVE-2026-59942
Dompdf: Denial of Service (DoS) via Resource Exhaustion using Oversized Image Bitmaps
7.5
CVE-2026-55555
Dompdf: File existence oracle via font-face stylesheet declaration
