{"id":"CVE-2026-55554","published":"2026-07-28T19:28:43Z","modified":"2026-07-29T15:24:54Z","title":"Dompdf: Chroot Validation Bypass","vendor":"dompdf","product":"dompdf","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00451,"percentile":0.40073,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/dompdf/dompdf/security/advisories/GHSA-wvh6-f5jh-8gw4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dompdf/dompdf/releases/tag/v3.1.6","tags":["x_refsource_MISC"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":8.01},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"dompdf","affectedVersions":[{"vendor":"dompdf","product":"dompdf","versions":["< 3.1.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-29T13:23:30.682270Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"dompdf/dompdf","vulnerableRanges":["<3.1.6"],"patched":["3.1.6"],"from":["GHSA-wvh6-f5jh-8gw4"],"provenance":"source"}],"summary":{"text":"Dompdf, the HTML-to-PDF converter for PHP, has a chroot validation flaw in its validateLocalUri() method, which checks path boundaries with a plain string-prefix comparison after realpath() normalization that drops the trailing separator from the chroot path. An attacker who can influence part of the rendered HTML, and the victim must process that content, can exploit the prefix match to reach sibling directories such as /var/www2 or /var/www_backup from a /var/www chroot and read files outside the intended directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:14Z"},"euvd":{"id":"EUVD-2026-50011","exploited":false,"provenance":"source"}}