packagist package report

Is saloonphp/saloon safe?

3 known vulnerabilities, worst severity HIGH.

// reach

0 direct dependencies

none carry a known advisory

    0 packages depend on it

    dependents not yet indexed for this ecosystem

      Create a free accountfor every dependency path, dependent and what to upgrade
      // ai model usage

      Tracked for PyPI packages. HuggingFace models declare Python dependencies, so packagist packages are not covered.


      cvss
      8.1
      high

      CVSS v4.0 base score out of 10

      epss
      0.63%
      medium

      chance of exploitation in 30 days, 50th percentile of all CVEs

      xyz score
      3.4
      low

      CyberXYZ composite out of 10

      fig. 01 — GHSA-rf88-776r-rcq9, the advisory selected below

      // 3 advisories

      GHSA-rf88-776r-rcq9

      HIGHGitHub ratingCVE-2026-33942
      // impact

      Users of the OAuth2 utilities in Saloon, specifically the AccessTokenAuthenticator class.

      // patches

      Upgrade to Saloon v4+

      Upgrade guide: https://docs.saloon.dev/upgrade/upgrading-from-v3-to-v4

      // description

      The Saloon PHP library 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 removes PHP serialization from the AccessTokenAuthenticator class requiring users to store and resolve the authenticator manually.

      // credits

      Saloon thanks @HuajiHD for finding the issue and recommending solutions and @jonpurvis for applying the fix.

      // cvss v4.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

      Attack vector
      Network
      Attack complexity
      Low
      Attack requirements
      None
      Privileges required
      None
      User interaction
      None
      Confidentiality (vulnerable system)
      High
      Integrity (vulnerable system)
      High
      Availability (vulnerable system)
      High
      Confidentiality (subsequent systems)
      None
      Integrity (subsequent systems)
      None
      Availability (subsequent systems)
      None
      Exploit maturity
      Unreported

      Checked 2026-11-07 at 22:24 UTC. The most recent advisory here was published 2026-03-27. Updated continuously from NVD, GHSA, OSV and CNA feeds.

      Think a verdict here is wrong? Tell us — we respond within 2 business days.