Live threats

All CVEs / Codeigniter

CVE-2022-24712Codeigniter

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
0.5%
probability of exploitation in 30 days · percentile 37
Auth required
No
Published
Feb 28, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-352
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

CodeIgniter4 is the 4.x branch of CodeIgniter, a PHP full-stack web framework. A vulnerability in versions prior to 4.1.9 might allow remote attackers to bypass the CodeIgniter4 Cross-Site Request Forgery (CSRF) protection mechanism. Users should upgrade to version 4.1.9. There are workarounds for this vulnerability, but users will still need to code as these after upgrading to v4.1.9. Otherwise, the CSRF protection may be bypassed. If auto-routing is enabled, check the request method in the controller method before processing. If auto-routing is disabled, either avoid using `$routes->add()` and instead use HTTP verbs in routes; or check the request method in the controller method before processing.

Original NVD text.

What to do

  1. Apply the vendor's security update for Codeigniter.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist codeigniter4/framework < 4.1.9 4.1.9 composer require "codeigniter4/framework:^4.1.9"

Per OSV / GitHub Advisories (GHSA-4v37-24gm-h554). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
codeignitercodeigniter≥ 4.0.0 < 4.1.9

Official sources

References

Links published by the sources. Open them with care.