rack-session vulnerabilities

A session implementation for Rack.

Registry
RubyGems
Latest
2.1.2
License
MIT

2 known advisories

The latest version, 2.1.2, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative rack-session # Gemfile: '>= 2.1.2'

Is your project on an affected rack-session?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for rack-session

  • CriticalCVE-2026-39324GHSA-33qg-7wpp-89cq8 Apr 2026

    Rack::Session::Cookie secrets: decrypt failure fallback enables secretless session forgery and Marshal deserialization

    Affected
    >=2.0.0 <2.1.2
    Fixed in
    2.1.2
  • MediumCVE-2025-46336GHSA-9j94-67jr-4cqj8 May 2025

    Rack session gets restored after deletion

    Affected
    >=2.0.0 <2.1.1
    Fixed in
    2.1.1

Is your rack-session version vulnerable?

Which of your client projects still run an old rack-session?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.