Loading...
Skip to main content

CVE-2023-32692 — Remote Code Execution Vulnerability in...

CRITICAL

Remote Code Execution Vulnerability in Validation Placeholders in CodeIgniter4

Published May 22, 2023Updated September 10, 2026Source: osv

Summary

### Impact This vulnerability allows attackers to execute arbitrary code when you use Validation Placeholders. The vulnerability exists in the Validation library, and validation methods in the controller and in-model validation are also vulnerable because they use the Validation library internally. ### Patches Upgrade to v4.3.5 or later. ### Workarounds Setting validation rules with an array. E.g.: ```php $validation->setRules([ 'email' => ['required', 'valid_email, 'is_unique[users.email,id,{id}]'], ]); ``` ### References - https://codeigniter4.github.io/userguide/libraries/validation.html#validation-placeholders - https://codeigniter4.github.io/userguide/incoming/controllers.html#validating-data - https://codeigniter4.github.io/userguide/models/model.html#in-model-validation ### For more information If you have any questions or comments about this advisory: * Open an issue in [codeigniter4/CodeIgniter4](https://github.com/codeigniter4/CodeIgniter4/issues) * Email us at [SECURITY.md](https://github.com/codeigniter4/CodeIgniter4/blob/develop/SECURITY.md)

Advisory Timeline

  • First published May 22, 2023 (1239 days ago).
  • Last revised September 10, 2026 — 1206 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update codeigniter4/framework to 4.3.5 or later
composer require "codeigniter4/framework:^4.3.5"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
codeigniter4/framework
packagist
4.0.0, 4.0.0-rc.4, v4.0.0-alpha.3, v4.0.0-alpha.4 (+42 more)4.3.5

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2023-32692?
Remote Code Execution Vulnerability in Validation Placeholders in CodeIgniter4 This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2023-32692?
CVE-2023-32692 affects codeigniter4/framework. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-32692 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-m6m8-6gq8-c9fj
BIT-codeigniter-2023-32692

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies