PoC Monitor
← All CVEs
CVE-2026-55554published 28 Jul 2026 19:28 UTCData: JSON · API

Dompdf

Dompdf: Chroot Validation Bypass

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-20
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

dompdf dompdf
  • < 3.1.6

Fixed in 3.1.6

Mitigation

Upgrade dompdf to 3.1.6 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published28 Jul 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.