{"id":"CVE-2026-33942","published":"2026-03-26T00:27:23Z","modified":"2026-03-28T02:06:07Z","title":"Saloon has insecure deserialization in AccessTokenAuthenticator (object injection / RCE)","vendor":"saloonphp","product":"saloon","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00707,"percentile":0.5435,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/saloonphp/saloon/security/advisories/GHSA-rf88-776r-rcq9","tags":["x_refsource_CONFIRM"]},{"url":"https://docs.saloon.dev/upgrade/upgrading-from-v3-to-v4","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":10.87},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"saloonphp","affectedVersions":[{"vendor":"saloonphp","product":"saloon","versions":["< 4.0.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-28T02:05:34.371101Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"saloonphp/saloon","vulnerableRanges":["<4.0.0"],"patched":["4.0.0"],"from":["GHSA-rf88-776r-rcq9"],"provenance":"source"}],"summary":{"text":"The Saloon PHP library (saloonphp/saloon) prior to 4.0.0 uses unsafe PHP unserialize() with allowed classes unrestricted in its AccessTokenAuthenticator component to restore cached or stored OAuth token state, a deserialization of untrusted data flaw. An attacker able to control the serialized string, such as by overwriting a cached token file or through another injection point, can supply a gadget object whose magic methods run on deserialization, potentially chaining to remote code execution where common dependencies like Monolog are present.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:24Z"},"euvd":{"id":"EUVD-2026-16070","exploited":false,"provenance":"source"}}