CVE-2026-33942
Last modified
CVE-2026-33942 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.62% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Saloon | Saloon | < 4.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-33942?
How severe is CVE-2026-33942?
How do I fix CVE-2026-33942?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-33937Handlebars provides the power necessary to let users build s…9.8
- CVE-2026-33938Handlebars provides the power necessary to let users build s…8.1
- CVE-2026-33939Handlebars provides the power necessary to let users build s…7.5
- CVE-2026-3394A vulnerability was detected in jarikomppa soloud up to 2020…7.8
- CVE-2026-33940Handlebars provides the power necessary to let users build s…8.1
- CVE-2026-33941Handlebars provides the power necessary to let users build s…8.2
- CVE-2026-33943Happy DOM is a JavaScript implementation of a web browser wi…9.8
- CVE-2026-33945Incus is a system container and virtual machine manager. Inc…9.6
- CVE-2026-33946MCP Ruby SDK is the official Ruby SDK for Model Context Prot…5.9
- CVE-2026-33947jq is a command-line JSON processor. In versions 1.8.1 and b…5.5
- CVE-2026-33948jq is a command-line JSON processor. Commits before 6374ae0b…5.3
- CVE-2026-33949Tina is a headless content management system. Prior to versi…8.1
Are you affected by CVE-2026-33942?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
