illuminate/cookie: is it safe?

Short answer: Version 7.22.4 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Composer illuminate/cookie has 4 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.

4advisories
1critical
0on CISA KEV
0no fix recorded
CVETitleSeverityCVSSAffectedFixed in
2018-08-08-1Cookie serialization vulnerabilityunknown0.0>=4.0.0 and <=4.0.11 or >=4.1.0 and <=4.1.31 or >=4.2.0 and <=4.2.22 or >=5.0.0 and <=5.0.35 or >=5.1.0 and <=5.1.46 or >=5.2.0 and <=5.2.45 or >=5.3.0 and <=5.3.31 or >=5.4.0 and <=5.4.36 or >=5.5.0 and <5.5.42 or >=5.6.0 and <5.6.305.5.42, 5.6.30
2020-07-27-1RCE vulnerability in "cookie" session driverunknown0.0>=4.1.0 and <=4.1.99999 or >=4.2.0 and <=4.2.99999 or >=5.0.0 and <=5.0.99999 or >=5.1.0 and <=5.1.99999 or >=5.2.0 and <=5.2.99999 or >=5.3.0 and <=5.3.99999 or >=5.4.0 and <=5.4.99999 or >=5.5.0 and <=5.5.49 or >=5.6.0 and <=5.6.99999 or >=5.7.0 and <=5.7.99999 or >=5.8.0 and <=5.8.99999 or >=6.0.0 and <6.18.31 or >=7.0.0 and <7.22.46.18.31, 7.22.4
GHSA-2867-6rrm-38grLaravel Cookie serialization vulnerabilityhigh0.0>=5.5.0 and <5.6.305.6.30
GHSA-2ffv-r4r9-r8xrLaravel RCE vulnerability in "cookie" session drivercritical0.0>=4.1.0 and <6.18.31 or >=7.0.0 and <7.22.46.18.31, 7.22.4

Quick answers

Is illuminate/cookie safe to use?

Version 7.22.4 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Is illuminate/cookie being actively exploited?

None of its 4 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.

How do I check my own site?

Run `phpwarden deps composer.lock`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.

Add this status to your README

phpwarden status badge

Maintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.

[![phpwarden](https://phpwarden.io/badge/illuminate/cookie.svg)](https://phpwarden.io/packages/illuminate/cookie)