{"items":[{"id":"NVI-00005055","kind":"vulnerability","title":"PhpWeasyPrint vulnerable to arbitrary file deletion at shutdown via public $temporaryFiles","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-5g9f-cwwg-4p8g","CVE-2026-49358"],"plain_summary":"OSV carries this publisher advisory for pontedilana/php-weasyprint. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.6.0 for pontedilana/php-weasyprint. Confirm the publisher’s latest guidance.","source_ids":["sr-7f042dc16e363218129ecb5343527157"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-0645a3b5c34c289043752541222938c0"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-25T23:10:00.167Z","value":"3 LOW (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-60685c1783564752769a1b99b66c5a2e"},{"kind":"EPSS","as_of":"2026-11-02T12:00:30.000Z","value":"0.166%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.0578. Missing scores are unknown.","source_id":"sr-0645a3b5c34c289043752541222938c0"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-7f042dc16e363218129ecb5343527157","url":"https://github.com/advisories/GHSA-5g9f-cwwg-4p8g","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-5g9f-cwwg-4p8g","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.921Z"},{"id":"sr-60685c1783564752769a1b99b66c5a2e","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49358","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-49358","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:22.913Z"},{"id":"sr-0645a3b5c34c289043752541222938c0","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-49358","publisher":"FIRST EPSS","observed_at":"2026-11-02T20:15:58.856Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-7f042dc16e363218129ecb5343527157"],"technology":"pontedilana/php-weasyprint","known_exclusions":[],"conditions_summary":"### Summary\n\n`AbstractGenerator::$temporaryFiles` is a public array, and `removeTemporaryFiles()` — invoked from `__destruct()` and from a registered shutdown function — calls `unlink()` on every entry without verifying that the path is contained within the temporary folder. Any code holding a reference to a generator instance can push an arbitrary path into the array and have it deleted on script shutdown.\n\nThis mirrors the KnpLabs/snappy issue GHSA-87qc-37cw-84h4, patched in snappy 1.7.2.\n\n### Affected versions\n\n`pontedilana/php-weasyprint` versions `temporaryFiles as $file) {\n        $this->unlink($file);\n    }\n}\n```\n\nNo path-containment check: whatever path is present in `$temporaryFiles` at shutdown is unlinked.\n\n### Proof of concept\n\n```php\ntemporaryFiles[] = '/var/www/html/.env';\n\n// On shutdown, removeTemporaryFiles() deletes /var/www","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.6.0"]}],"null_published_at":"2026-11-03T17:49:15.010Z","source_updated_at":"2026-09-10T03:50:48.319Z","source_disclosed_at":"2026-06-26T22:10:51.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:41:59.921Z"},{"id":"NVI-00005055","kind":"vulnerability","title":"PhpWeasyPrint vulnerable to arbitrary file deletion at shutdown via public $temporaryFiles","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-5g9f-cwwg-4p8g","CVE-2026-49358"],"plain_summary":"OSV carries this publisher advisory for pontedilana/php-weasyprint. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.6.0 for pontedilana/php-weasyprint. Confirm the publisher’s latest guidance.","source_ids":["sr-7f042dc16e363218129ecb5343527157"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-60685c1783564752769a1b99b66c5a2e"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-25T23:10:00.167Z","value":"3 LOW (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-60685c1783564752769a1b99b66c5a2e"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-7f042dc16e363218129ecb5343527157","url":"https://github.com/advisories/GHSA-5g9f-cwwg-4p8g","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-5g9f-cwwg-4p8g","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.921Z"},{"id":"sr-60685c1783564752769a1b99b66c5a2e","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49358","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-49358","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:22.913Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-7f042dc16e363218129ecb5343527157"],"technology":"pontedilana/php-weasyprint","known_exclusions":[],"conditions_summary":"### Summary\n\n`AbstractGenerator::$temporaryFiles` is a public array, and `removeTemporaryFiles()` — invoked from `__destruct()` and from a registered shutdown function — calls `unlink()` on every entry without verifying that the path is contained within the temporary folder. Any code holding a reference to a generator instance can push an arbitrary path into the array and have it deleted on script shutdown.\n\nThis mirrors the KnpLabs/snappy issue GHSA-87qc-37cw-84h4, patched in snappy 1.7.2.\n\n### Affected versions\n\n`pontedilana/php-weasyprint` versions `temporaryFiles as $file) {\n        $this->unlink($file);\n    }\n}\n```\n\nNo path-containment check: whatever path is present in `$temporaryFiles` at shutdown is unlinked.\n\n### Proof of concept\n\n```php\ntemporaryFiles[] = '/var/www/html/.env';\n\n// On shutdown, removeTemporaryFiles() deletes /var/www","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.6.0"]}],"null_published_at":"2026-11-02T20:21:10.277Z","source_updated_at":"2026-09-10T03:50:48.319Z","source_disclosed_at":"2026-06-26T22:10:51.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:41:59.921Z"},{"id":"NVI-00005055","kind":"vulnerability","title":"PhpWeasyPrint vulnerable to arbitrary file deletion at shutdown via public $temporaryFiles","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-5g9f-cwwg-4p8g","CVE-2026-49358"],"plain_summary":"OSV carries this publisher advisory for pontedilana/php-weasyprint. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.6.0 for pontedilana/php-weasyprint. Confirm the publisher’s latest guidance.","source_ids":["sr-7f042dc16e363218129ecb5343527157"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-7f042dc16e363218129ecb5343527157","url":"https://github.com/advisories/GHSA-5g9f-cwwg-4p8g","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-5g9f-cwwg-4p8g","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.921Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-7f042dc16e363218129ecb5343527157"],"technology":"pontedilana/php-weasyprint","known_exclusions":[],"conditions_summary":"### Summary\n\n`AbstractGenerator::$temporaryFiles` is a public array, and `removeTemporaryFiles()` — invoked from `__destruct()` and from a registered shutdown function — calls `unlink()` on every entry without verifying that the path is contained within the temporary folder. Any code holding a reference to a generator instance can push an arbitrary path into the array and have it deleted on script shutdown.\n\nThis mirrors the KnpLabs/snappy issue GHSA-87qc-37cw-84h4, patched in snappy 1.7.2.\n\n### Affected versions\n\n`pontedilana/php-weasyprint` versions `temporaryFiles as $file) {\n        $this->unlink($file);\n    }\n}\n```\n\nNo path-containment check: whatever path is present in `$temporaryFiles` at shutdown is unlinked.\n\n### Proof of concept\n\n```php\ntemporaryFiles[] = '/var/www/html/.env';\n\n// On shutdown, removeTemporaryFiles() deletes /var/www","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.6.0"]}],"null_published_at":"2026-10-31T22:13:01.438Z","source_updated_at":"2026-09-10T03:50:48.319Z","source_disclosed_at":"2026-06-26T22:10:51.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:59.921Z"}],"next_cursor":null,"snapshot_revision":"42594"}