PhpWeasyPrint is a PHP library allowing PDF generation from a URL or an HTML page. Prior to version 2.6.0, pontedilana/php-weasyprint guarded the output filename against the phar:// stream wrapper with a case-sensitive blacklist. PHP stream wrappers are case-insensitive, so PHAR://, Phar://, etc. bypass the check and reach fileExists() (file_exists()) in prepareOutput(). On PHP 7 (which the library still supports — PHP 7.4+), this triggers deserialization of a crafted PHAR archive's metadata, leading to remote code execution. This is the patch-bypass of CVE-2023-28115. The same issue and fix were handled upstream in KnpLabs/snappy (GHSA-92rv-4j2h-8mjj). PhpWeasyPrint version 2.6.0 contains a patch for the issue.
CVE-2026-49286
This high-severity CVE scores 8.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.6%, top 58% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.1
- EG Score
- 8.1(medium)
- EPSS
- 42.3%
- KEV
- Not listed
Published
June 19, 2026
Last Modified
June 22, 2026
Advisory Details (4)
Auto-updated Jun 19, 2026PHAR deserialization via output filename (CVE-2023-28115 case-insensitive bypass) · Advisory · pontedilana/php-weasyprint · GitHub
https://github.com/pontedilana/php-weasyprint/security/advisories/GHSA-2fmj-p74r-3wjm2.6.0
Patch available: pontedilana/php-weasyprint 2.6.0
https://github.com/pontedilana/php-weasyprint/releases/tag/2.6.0commit d1aa487722b5 (pontedilana/php-weasyprint)
Patch available: pontedilana/php-weasyprint 2.6.0 (contains commit d1aa487722b5)
https://github.com/pontedilana/php-weasyprint/commit/d1aa487722b5a3cab9b222b85fdb5608a5a550c3PHAR deserialization (CVE-2023-28115 patch bypass) · Advisory · KnpLabs/snappy · GitHub
https://github.com/KnpLabs/snappy/security/advisories/GHSA-92rv-4j2h-8mjjVendor Advisories for CVE-2026-49286(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 21× in last 7d / 55× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 06:11 UTCEG score recompute
- 2026-07-06 18:58 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 06:41 UTCEG score recompute
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 19:30 UTCEG score recompute
- 2026-07-05 08:17 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 21:04 UTCEG score recompute
- 2026-07-04 09:53 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 22:41 UTCEG score recompute
- 2026-07-03 11:29 UTCEG score recompute
- 2026-07-03 00:05 UTCEG score recompute
- 2026-07-02 12:53 UTCEG score recompute
- 2026-07-02 01:42 UTCEG score recompute
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 14:31 UTCEG score recompute
- 2026-07-01 03:20 UTCEG score recompute
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 16:08 UTCEG score recompute
- 2026-06-30 04:57 UTCEG score recompute
- 2026-06-29 17:39 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
Show 30 moreShow fewer
- 2026-06-29 06:27 UTCEG score recompute
- 2026-06-28 19:14 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 08:02 UTCEG score recompute
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 20:51 UTCEG score recompute
- 2026-06-27 09:40 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 22:29 UTCEG score recompute
- 2026-06-26 11:18 UTCEG score recompute
- 2026-06-25 20:58 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 09:46 UTCEG score recompute
- 2026-06-24 22:35 UTCEG score recompute
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-24 11:23 UTCEG score recompute
- 2026-06-24 00:12 UTCEG score recompute
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 12:58 UTCEG score recompute
- 2026-06-23 01:47 UTCEG score recompute
- 2026-06-22 14:35 UTCEG score recompute
- 2026-06-22 03:22 UTCEG score recompute
- 2026-06-21 16:08 UTCEG score recompute
- 2026-06-21 04:53 UTCEG score recompute
- 2026-06-20 17:39 UTCEG score recompute
- 2026-06-20 06:27 UTCEG score recompute
- 2026-06-19 19:14 UTCEG score recompute
- 2026-06-19 19:14 UTCNVD updatefirst tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-502
- CVE-2017-20208EG 9.8CRITICAL
- CVE-2017-20207EG 9.8CRITICAL
- CVE-2017-20206EG 9.8CRITICAL
- CVE-2017-20189EG 9.8CRITICAL
- CVE-2017-10992EG 9.8EPSS 95%CRITICAL
- CVE-2013-4521EG 9.8EPSS 90%CRITICAL
- CVE-2014-1860EG 9.8CRITICAL
- CVE-2016-1000027EG 9.8EPSS 98%CRITICAL
- CVE-2014-3699EG 9.8CRITICAL
- CVE-2017-18605EG 9.8CRITICAL
Frequently asked(5)
What is CVE-2026-49286?
When was CVE-2026-49286 disclosed?
Is CVE-2026-49286 actively exploited?
What is the CVSS score of CVE-2026-49286?
How do I remediate CVE-2026-49286?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-49286
Is Your Infrastructure Affected by CVE-2026-49286?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.