{"id":"CVE-2023-32692","aliases":["BIT-codeigniter-2023-32692","GHSA-m6m8-6gq8-c9fj"],"url":"https://o3.security/vulnerability/CVE-2023-32692","summary":"Remote Code Execution Vulnerability in Validation Placeholders","details":"### Impact\nThis vulnerability allows attackers to execute arbitrary code when you use Validation Placeholders.\n\nThe 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.\n\n### Patches\nUpgrade to v4.3.5 or later.\n\n### Workarounds\nSetting validation rules with an array.\n\nE.g.:\n```php\n$validation->setRules([\n    'email' => ['required', 'valid_email, 'is_unique[users.email,id,{id}]'],\n]);\n```\n\n### References\n- https://codeigniter4.github.io/userguide/libraries/validation.html#validation-placeholders\n- https://codeigniter4.github.io/userguide/incoming/controllers.html#validating-data\n- https://codeigniter4.github.io/userguide/models/model.html#in-model-validation\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [codeigniter4/CodeIgniter4](https://github.com/codeigniter4/CodeIgniter4/issues)\n* Email us at [SECURITY.md](https://github.com/codeigniter4/CodeIgniter4/blob/develop/SECURITY.md)\n","published":"2023-05-30T03:15:01.363Z","modified":"2026-08-12T03:51:39.534824019Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.01126,"percentile":0.63229,"asOf":"2026-08-09"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"codeigniter4/framework","fixedVersion":"4.3.5"}],"fix":{"url":"https://github.com/codeigniter4/CodeIgniter4/commit/6af677177fa1d9ad62f7a793bc96cba3068632ba","label":"codeigniter4/CodeIgniter4@6af6771"},"references":[{"type":"WEB","url":"https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32692.json"},{"type":"ADVISORY","url":"https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-m6m8-6gq8-c9fj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32692"},{"type":"WEB","url":"https://github.com/codeigniter4/CodeIgniter4/commit/6af677177fa1d9ad62f7a793bc96cba3068632ba"},{"type":"PACKAGE","url":"https://github.com/codeigniter4/CodeIgniter4"},{"type":"WEB","url":"https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md#v435-2023-05-21"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:39.534824019Z"}}