Saloon has insecure deserialization in AccessTokenAuthenticator (object injection / RCE)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
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. When unserialize() runs, PHP instantiates that object and runs its magic methods (__wakeup, __destruct, etc.), leading to object injection. In environments with common dependencies (e.g. Monolog), this can be chained to remote code execution (RCE). The fix in version 4.0.0 removes PHP serialization from the AccessTokenAuthenticator class requiring users to store and resolve the authenticator manually.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| saloonphp | saloon | before 4.0.0 | 4.0.0 | Patch available | CNA |
| — | saloonphp/saloon (Packagist) | before 4.0.0 | 4.0.0 | Patch available | GHSA-rf88-776r-rcq9 |
- saloon Vendorsaloonphp Affected before 4.0.0 Fixed in 4.0.0 Patch available CNA
- saloonphp/saloon (Packagist) Vendor— Affected before 4.0.0 Fixed in 4.0.0 Patch available GHSA-rf88-776r-rcq9
Remediation
- Fix · CNA saloon (saloonphp) Fixed in 4.0.0
- Fix · GHSA-rf88-776r-rcq9 saloonphp/saloon (Packagist) Fixed in 4.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33942
- 2026-10-03 Alias added: GHSA-rf88-776r-rcq9
- 2026-10-25 EPSS moved to the below the 50th percentile
- 2026-10-27 EPSS moved to the 50th–90th percentile
References
More saloonphp Saloon vulnerabilities
- TI-2026-25611 Saloon has a Fixture Name Path Traversal Vulnerability CVSS 4.0HIGH 8.0
- TI-2026-25610 Saloon is vulnerable to SSRF and credential leakage via absolute URL in endpoint overriding base URL CVSS 4.0MEDIUM 6.6
Sources
- CVE-2026-33942 · CVE Program
- CVE-2026-33942 · NVD
- FIRST EPSS
- GHSA-rf88-776r-rcq9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences