Dompdf: Chroot Validation Bypass
Published Jul 28, 2026
2.3
LOWCVSS 4.0
EPSS 0.45%
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.
Affected products
-
- Version < 3.1.6StatusaffectedConstraints-
- Version
- < 3.1.6
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
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
1 other source (NVD) ▾
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Jul 29, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
Jul–Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.45% (0.00451) | 36.98th | v5 (v2026.06.15) |
| Jul 29, 2026 | 0.28% (0.00278) | 20.03th | v5 (v2026.06.15) |
References (4)
- https://github.com/advisories/GHSA-wvh6-f5jh-8gw4 Advisory
- https://github.com/dompdf/dompdf/commit/1b3b61ec4f6962678e56ee8a42920b4f835ab006
- https://github.com/dompdf/dompdf/releases/tag/v3.1.6 x_refsource_MISCRelease Notes
- https://github.com/dompdf/dompdf/security/advisories/GHSA-wvh6-f5jh-8gw4 exploitx_refsource_CONFIRMThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-wvh6-f5jh-8gw4 | Advisory | |
| https://github.com/dompdf/dompdf/commit/1b3b61ec4f6962678e56ee8a42920b4f835ab006 | ||
| https://github.com/dompdf/dompdf/releases/tag/v3.1.6 | x_refsource_MISCRelease Notes | |
| https://github.com/dompdf/dompdf/security/advisories/GHSA-wvh6-f5jh-8gw4 | exploitx_refsource_CONFIRMThird Party Advisory |
Change history (0)
No recorded changes yet.