CVE-2026-49260

HIGHPre-NVD 8.28.2
EchelonGraph scoreMEDIUM confidence

This high-severity CVE scores 8.2 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 95% 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).

Triggered by: NVD CVSS baseline
Sources: epss, secondary
8.2
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 0%CVSS: 8.2Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

PhpWeasyPrint is a PHP library allowing PDF generation from a URL or an HTML page. Prior to version 2.5.1, pontedilana/php-weasyprint builds the shell command for WeasyPrint by passing the binary path through escapeshellarg() first and then checking the *quoted* result with is_executable(). On POSIX escapeshellarg('/usr/local/bin/weasyprint') returns '/usr/local/bin/weasyprint' with the single-quote characters as part of the string, so is_executable() looks for a file whose actual name includes those quotes. That file never exists, the "safe" branch is dead code, and the raw $binary string (set via the constructor or setBinary()) flows directly into Symfony\Component\Process\Process::fromShellCommandline(). Any deployment whose binary path is sourced from configuration, an environment variable, or a per-tenant setting reaches a shell-command-injection sink. The library is documented as a one-to-one substitute for KnpLabs/snappy and inherited the exact pre-fix codepath KnpLabs patched in GHSA-vpr4-p6fq-85jc. PhpWeasyPrint version 2.5.1 contains a patch for the issue.

CVSS v3
8.2
EG Score
8.2(medium)
EPSS
4.9%
KEV
Not listed

Published

June 19, 2026

Last Modified

June 22, 2026

Advisory Details (4)

Auto-updated Jun 19, 2026
🔬 Proof of concept available. Patch available. Sources: github, github_commit, github_release.
github Patch Available🟡 PoC Available

php-weasyprint: shell command injection via configurable WeasyPrint binary path due to inverted is_executable() guard (mirror of KnpLabs/snappy GHSA-vpr4-p6fq-85jc) · Advisory · pontedilana/php-weasyprint · GitHub

Affected: 2.5.1

https://github.com/pontedilana/php-weasyprint/security/advisories/GHSA-f5gc-qxf8-mh9g
github_release Patch Available

2.5.1

Patch available: pontedilana/php-weasyprint 2.5.1

https://github.com/pontedilana/php-weasyprint/releases/tag/2.5.1
github_commit Patch Available

commit 9e86a2b31723 (pontedilana/php-weasyprint)

Patch available: pontedilana/php-weasyprint 2.5.1 (contains commit 9e86a2b31723)

https://github.com/pontedilana/php-weasyprint/commit/9e86a2b317237fc5728f712f5037164530117f7e
github Patch Available🟡 PoC Available

Binary path is never shell-escaped due to an inverted is_executable check · Advisory · KnpLabs/snappy · GitHub

https://github.com/KnpLabs/snappy/security/advisories/GHSA-vpr4-p6fq-85jc

Vendor Advisories for CVE-2026-49260(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 / 54× 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.

  1. 2026-07-07 07:01 UTCEG score recompute
  2. 2026-07-06 18:58 UTCEG score recompute
  3. 2026-07-06 16:27 UTCEPSS rescore
  4. 2026-07-06 06:26 UTCEG score recompute
  5. 2026-07-06 02:23 UTCEPSS rescore
  6. 2026-07-05 18:49 UTCEG score recompute
  7. 2026-07-05 07:14 UTCEG score recompute
  8. 2026-07-05 02:30 UTCEPSS rescore
  9. 2026-07-04 19:27 UTCEG score recompute
  10. 2026-07-04 07:50 UTCEG score recompute
  11. 2026-07-04 06:31 UTCEPSS rescore
  12. 2026-07-03 20:00 UTCEG score recompute
  13. 2026-07-03 08:25 UTCEG score recompute
  14. 2026-07-02 20:48 UTCEG score recompute
  15. 2026-07-02 09:09 UTCEG score recompute
  16. 2026-07-01 21:34 UTCEG score recompute
  17. 2026-07-01 15:07 UTCEPSS rescore
  18. 2026-07-01 09:58 UTCEG score recompute
  19. 2026-06-30 23:22 UTCEPSS rescore
  20. 2026-06-30 22:22 UTCEG score recompute
  21. 2026-06-30 10:47 UTCEG score recompute
  22. 2026-06-29 23:09 UTCEG score recompute
  23. 2026-06-29 14:06 UTCEPSS rescore
  24. 2026-06-29 14:06 UTCEPSS rescore
  25. 2026-06-29 11:34 UTCEG score recompute
Show 29 more
  1. 2026-06-28 23:58 UTCEG score recompute
  2. 2026-06-28 14:07 UTCEPSS rescore
  3. 2026-06-28 12:22 UTCEG score recompute
  4. 2026-06-28 04:56 UTCEPSS rescore
  5. 2026-06-28 04:56 UTCEPSS rescore
  6. 2026-06-28 00:47 UTCEG score recompute
  7. 2026-06-27 13:12 UTCEG score recompute
  8. 2026-06-27 03:08 UTCEPSS rescore
  9. 2026-06-27 01:37 UTCEG score recompute
  10. 2026-06-26 14:00 UTCEG score recompute
  11. 2026-06-26 02:25 UTCEG score recompute
  12. 2026-06-25 14:50 UTCEG score recompute
  13. 2026-06-25 13:49 UTCEPSS rescore
  14. 2026-06-25 03:14 UTCEG score recompute
  15. 2026-06-24 15:39 UTCEG score recompute
  16. 2026-06-24 14:05 UTCEPSS rescore
  17. 2026-06-24 04:04 UTCEG score recompute
  18. 2026-06-23 21:33 UTCEPSS rescore
  19. 2026-06-23 21:33 UTCEPSS rescore
  20. 2026-06-23 16:24 UTCEG score recompute
  21. 2026-06-23 04:49 UTCEG score recompute
  22. 2026-06-22 17:09 UTCEG score recompute
  23. 2026-06-22 05:33 UTCEG score recompute
  24. 2026-06-21 17:57 UTCEG score recompute
  25. 2026-06-21 06:19 UTCEG score recompute
  26. 2026-06-20 18:40 UTCEG score recompute
  27. 2026-06-20 07:02 UTCEG score recompute
  28. 2026-06-19 19:14 UTCEG score recompute
  29. 2026-06-19 19:14 UTCNVD updatefirst tracked

Frequently asked(5)

What is CVE-2026-49260?
CVE-2026-49260 is a high vulnerability published on June 19, 2026. PhpWeasyPrint is a PHP library allowing PDF generation from a URL or an HTML page. Prior to version 2.5.1, pontedilana/php-weasyprint builds the shell command for WeasyPrint by passing the binary path through escapeshellarg() first and then checking the quoted result with isexecutable(). On POSIX…
When was CVE-2026-49260 disclosed?
CVE-2026-49260 was first published in the National Vulnerability Database on June 19, 2026, with the most recent update on June 22, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-49260 actively exploited?
CVE-2026-49260 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 4.9% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-49260?
CVE-2026-49260 has a CVSS v3 base score of 8.2 (NVD).
How do I remediate CVE-2026-49260?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-49260, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-49260

Explore →

Is Your Infrastructure Affected by CVE-2026-49260?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.