Security mailing lists by PureSourceCode

CVE-2022-46170

CRITICAL 9.8CVSS 3.1

CodeIgniter4 Potential Session Handlers Vulnerability

CodeIgniter is a PHP full-stack web framework. When an application uses (1) multiple session cookies (e.g., one for user pages and one for admin pages) and (2) a session handler is set to DatabaseHandler, MemcachedHandler, or RedisHandler, then if an attacker gets one session cookie (e.g., one for user pages), they may be able to access pages that require another session cookie (e.g., for admin pages). This issue has been patched, please upgrade to version 4.2.11 or later. As a workaround, use only one session cookie.

Published
22 Dec 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-287
Also known as
BIT-codeigniter-2022-46170GHSA-6cq5-8cj7-g558
Sources
NVDJSONOSV GHSA-6cq5-8cj7-g558JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
OSV GitHub CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD codeigniter codeigniter
cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.2.11 4.2.11
OSV Packagist codeigniter4/framework < 4.2.11 4.2.11

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 22 Dec 2022)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 22 Dec 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.