CVE-2022-46170: CodeIgniter is a PHP full-stack web framework
CVE-2022-46170 is a high-severity flaw (CVSS 8.6) affecting codeigniter. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 u
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.6 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.9% (top 40%) |
| CISA exploited list | No |
| Weakness | CWE-287 |
| Published | 2022-12-22 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-46170?
codeigniter: upgrade to 4.2.11. Exact commands for each OS are on this page.
Is CVE-2022-46170 being exploited?
CVE-2022-46170 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-46170 affect?
CVE-2022-46170 affects codeigniter. Severity is high (CVSS 8.6). 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 `RedisHan
How urgent is CVE-2022-46170?
Priority 50/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2025-54418 CRITICAL 9.8 UPGRADE CodeIgniter is a PHP full-stack web framework
- CVE-2024-41344 HIGH 7.5 DOWNGRADE A Cross-Site Request Forgery (CSRF) in Codeigniter 3.1.13 allows attackers to arbitrarily change the Administr
- CVE-2024-29904 HIGH 7.5 UPGRADE CodeIgniter is a PHP full-stack web framework A vulnerability was found in the Language class that allowed DoS
- CVE-2023-46240 HIGH 7.5 UPGRADE CodeIgniter is a PHP full-stack web framework
- CVE-2023-32692 CRITICAL 9.8 UPGRADE CodeIgniter is a PHP full-stack web framework