CVE-2026-49359

MEDIUMPre-NVD 6.56.5
EchelonGraph scoreMEDIUM confidence

This medium-severity CVE scores 6.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 85% 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
Elevated
6.5
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS: 0%CVSS: 6.5Exploit: 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.6.0, pontedilana/php-weasyprint fetches the content of option values server-side via file_get_contents() when the value looks like a URL, without restricting the URL scheme. The attachment option of Pdf is the reachable sink: any value that passes isOptionUrl() (filter_var(..., FILTER_VALIDATE_URL)) is downloaded by the PHP process and embedded into the generated PDF. Because FILTER_VALIDATE_URL accepts http, https, ftp, file and PHP stream wrappers such as php://, an attacker who can influence the attachment value reaches both a Server-Side Request Forgery primitive (e.g. internal HTTP endpoints, cloud metadata) and a local file disclosure primitive (file://, php://filter/...), with the fetched bytes exfiltrated as a PDF attachment. This is the same class of issue KnpLabs/snappy patched for its xsl-style-sheet option in GHSA-c5fp-p67m-gq56. The library is documented as a one-to-one substitute for KnpLabs/snappy and shares the same code shape. PhpWeasyPrint version 2.6.0 contains a patch for the issue.

CVSS v3
6.5
EG Score
6.5(medium)
EPSS
15.3%
KEV
Not listed

Published

June 19, 2026

Last Modified

June 23, 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

SSRF and local file disclosure via the attachment option · Advisory · pontedilana/php-weasyprint · GitHub

https://github.com/pontedilana/php-weasyprint/security/advisories/GHSA-x8g9-h984-pc36
github_release Patch Available

2.6.0

Patch available: pontedilana/php-weasyprint 2.6.0

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

commit 9582dcf119a4 (pontedilana/php-weasyprint)

Patch available: pontedilana/php-weasyprint 2.6.0 (contains commit 9582dcf119a4)

https://github.com/pontedilana/php-weasyprint/commit/9582dcf119a405276cf55e9e10bc577a887792cb
github Patch Available

SSRF and local file read via the xsl-style-sheet option · Advisory · KnpLabs/snappy · GitHub

https://github.com/KnpLabs/snappy/security/advisories/GHSA-c5fp-p67m-gq56

Vendor Advisories for CVE-2026-49359(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 13× in last 7d / 35× 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 02:45 UTCEG score recompute
  2. 2026-07-06 16:27 UTCEPSS rescore
  3. 2026-07-06 02:23 UTCEPSS rescore
  4. 2026-07-06 02:20 UTCEG score recompute
  5. 2026-07-05 02:30 UTCEPSS rescore
  6. 2026-07-05 01:54 UTCEG score recompute
  7. 2026-07-04 06:31 UTCEPSS rescore
  8. 2026-07-04 01:29 UTCEG score recompute
  9. 2026-07-03 01:03 UTCEG score recompute
  10. 2026-07-02 00:38 UTCEG score recompute
  11. 2026-07-01 15:07 UTCEPSS rescore
  12. 2026-07-01 00:11 UTCEG score recompute
  13. 2026-06-30 23:22 UTCEPSS rescore
  14. 2026-06-29 23:43 UTCEG score recompute
  15. 2026-06-29 14:06 UTCEPSS rescore
  16. 2026-06-29 14:06 UTCEPSS rescore
  17. 2026-06-28 23:17 UTCEG score recompute
  18. 2026-06-28 14:07 UTCEPSS rescore
  19. 2026-06-28 04:56 UTCEPSS rescore
  20. 2026-06-28 04:56 UTCEPSS rescore
  21. 2026-06-27 22:50 UTCEG score recompute
  22. 2026-06-27 03:08 UTCEPSS rescore
  23. 2026-06-26 22:25 UTCEG score recompute
  24. 2026-06-25 21:58 UTCEG score recompute
  25. 2026-06-25 13:49 UTCEPSS rescore
Show 10 more
  1. 2026-06-24 21:32 UTCEG score recompute
  2. 2026-06-24 14:05 UTCEPSS rescore
  3. 2026-06-23 21:33 UTCEPSS rescore
  4. 2026-06-23 21:33 UTCEPSS rescore
  5. 2026-06-23 21:07 UTCEG score recompute
  6. 2026-06-22 20:36 UTCEG score recompute
  7. 2026-06-21 20:09 UTCEG score recompute
  8. 2026-06-20 19:43 UTCEG score recompute
  9. 2026-06-19 19:14 UTCEG score recompute
  10. 2026-06-19 19:14 UTCNVD updatefirst tracked

Frequently asked(5)

What is CVE-2026-49359?
CVE-2026-49359 is a medium 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.6.0, pontedilana/php-weasyprint fetches the content of option values server-side via filegetcontents() when the value looks like a URL, without restricting the URL scheme. The attachment option of…
When was CVE-2026-49359 disclosed?
CVE-2026-49359 was first published in the National Vulnerability Database on June 19, 2026, with the most recent update on June 23, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-49359 actively exploited?
CVE-2026-49359 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 15.3% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-49359?
CVE-2026-49359 has a CVSS v3 base score of 6.5 (NVD).
How do I remediate CVE-2026-49359?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-49359, 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-49359

Explore →

Is Your Infrastructure Affected by CVE-2026-49359?

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