Advisory record · GHSA-92rv-4j2h-8mjj

Snappy PHAR deserialization vulnerability

CVSS 9.8 CriticalCriticalEPSS 0.023 · 83rd percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 8 Sept 2023, 12:17 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
knplabs/knp-snappyPackagist<1.4.31.4.3
Identifiers
GHSA-92rv-4j2h-8mjj · CVE-2023-41330 · PKSA-cd3f-fj3y-g547
Weakness (CWE)
CWE-502
Published
8 Sept 2023
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The knplabs/knp-snappy Packagist package is vulnerable in versions before 1.4.3, and the fix for this issue is in 1.4.3. The 1.4.2 patch for CVE-2023-28115 only blocked the lowercase phar:// string, so using a different letter case bypasses it and allows PHAR deserialization. An attacker who can control the second parameter of generateFromHtml() and upload a file, on a server running PHP 7 or below, can achieve remote code execution. Upgrade to knp-snappy 1.4.3 or later.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.023, the 83rd percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:04 UTC First seen by agentprime
  2. 31 Oct 2026, 14:04 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.