CVE-2026-33942: Vulnerability in Saloon
Critical. Saloon is a PHP library that gives users tools to build API integrations and SDKs. Versions prior to 4.0.0 used PHP's unserialize() in AccessTokenAuthenticator::unserialize() to restore OAuth token state from cache or storage, with allowed_classes => true. An attacker who can control the serialized string (e.g. by overwriting a cached token file or via another injection) can supply a serialized "gadget" object....
Packagist, CWE-502
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-rf88-776r-rcq9
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-502
- Published
- 26 Mar 2026
- Last change
- 17 Jun 2026
- Ecosystem
- Packagist
Affected products
Affected versions and the first fixed release
- Saloon Before 4.0.0. Fixed in 4.0.0
Affected packages
Vulnerable version ranges and fixed releases
- saloonphp/saloon Packagist, Affected before 4.0.0. Fixed in 4.0.0
Advisories
Vendor and security advisories
- github.com/saloonphp/saloon/security/advisories/GHSA-rf88-776r-rcq9
- docs.saloon.dev/upgrade/upgrading-from-v3-to-v4
Related
- Saloon vulnerabilities Recent advisories, watch this product