{"items":[{"id":"NVI-00005199","kind":"vulnerability","title":"Laravel RCE vulnerability in \"cookie\" session driver","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-2ffv-r4r9-r8xr"],"plain_summary":"OSV carries this publisher advisory for illuminate/cookie, illuminate/cookie. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 6.18.31 for illuminate/cookie. Confirm the publisher’s latest guidance.","source_ids":["sr-8650cefa58dcf4e2662d516a34cdb12b"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 7.22.4 for illuminate/cookie. Confirm the publisher’s latest guidance.","source_ids":["sr-8650cefa58dcf4e2662d516a34cdb12b"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-8650cefa58dcf4e2662d516a34cdb12b","url":"https://github.com/advisories/GHSA-2ffv-r4r9-r8xr","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-2ffv-r4r9-r8xr","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:40.015Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-8650cefa58dcf4e2662d516a34cdb12b"],"technology":"illuminate/cookie","known_exclusions":[],"conditions_summary":"Application's using the \"cookie\" session driver were the primary applications affected by this vulnerability. Since we have not yet released a security release for the Laravel 5.5 version of the framework, we recommend that all applications running Laravel 5.5 and earlier do not use the \"cookie\" session driver in their production deployments.\n\nRegarding the vulnerability, applications using the \"cookie\" session driver that were also exposing an encryption oracle via their application were vulnerable to remote code execution. An encryption oracle is a mechanism where arbitrary user input is encrypted and the encrypted string is later displayed or exposed to the user. This combination of scenarios lets the user generate valid Laravel signed encryption strings for any plain-text string, thus allowing them to craft Laravel session payloads when an application is using the \"cookie\" driver.\n\nThis fix prefixes cookie values with an HMAC hash of the cookie's name before encryption and then verifies a matching hash on decryption, making it impossible to craft a valid cookie payload even if an encryption oracle is exposed via the application.","public_affected_ranges":["ECOSYSTEM: introduced 4.1.0; fixed 6.18.31"]},{"certainty":"source_listed","source_ids":["sr-8650cefa58dcf4e2662d516a34cdb12b"],"technology":"illuminate/cookie","known_exclusions":[],"conditions_summary":"Application's using the \"cookie\" session driver were the primary applications affected by this vulnerability. Since we have not yet released a security release for the Laravel 5.5 version of the framework, we recommend that all applications running Laravel 5.5 and earlier do not use the \"cookie\" session driver in their production deployments.\n\nRegarding the vulnerability, applications using the \"cookie\" session driver that were also exposing an encryption oracle via their application were vulnerable to remote code execution. An encryption oracle is a mechanism where arbitrary user input is encrypted and the encrypted string is later displayed or exposed to the user. This combination of scenarios lets the user generate valid Laravel signed encryption strings for any plain-text string, thus allowing them to craft Laravel session payloads when an application is using the \"cookie\" driver.\n\nThis fix prefixes cookie values with an HMAC hash of the cookie's name before encryption and then verifies a matching hash on decryption, making it impossible to craft a valid cookie payload even if an encryption oracle is exposed via the application.","public_affected_ranges":["ECOSYSTEM: introduced 7.0.0; fixed 7.22.4"]}],"null_published_at":"2026-10-31T22:13:01.454Z","source_updated_at":"2024-11-29T05:49:05.109Z","source_disclosed_at":"2024-05-15T21:52:29.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:40.015Z"}],"next_cursor":null,"snapshot_revision":"42594"}