CVE-2026-55554
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.
Weakness
- CWE-20: Improper Input Validation
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-07-29 |
Timeline
- 2026-07-22GitHub advisory published (GHSA-wvh6-f5jh-8gw4)6 days before publication
- 2026-07-28Published by the CNA19:28 UTC
- 2026-07-29CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-wvh6-f5jh-8gw4, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist dompdf/dompdf | before 3.1.6 | 3.1.6 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| dompdf_project dompdf | before 3.1.6fixed in 3.1.6 | 3.1.6 |
References
- https://github.com/dompdf/dompdf/security/advisories/GHSA-wvh6-f5jh-8gw4
- https://github.com/dompdf/dompdf/releases/tag/v3.1.6
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-55554'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-55554'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-55554'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-55554'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).