GHSA-6g8q-qfpv-57wp · Severity: critical · Ecosystem: composer — CakePHP Database\\Query::offset() and limit() methods are vulnerable to SQL injection
CakePHP is a development framework for PHP web apps. In affected versions the `Cake\Database\Query::limit()` and `Cake\Database\Query::offset()` methods are vulnerable to SQL injection if passed un-sanitized user request data. This issue has been fixed in 4.2.12, 4.3.11, 4.4.10. Users are advised to upgrade. Users unable to upgrade may mitigate this issue by using CakePHP's Pagination library. Manually validating or casting parameters to these methods will also mitigate the issue.
Conclusion & alert: CVE-2023-22727 is rated High Risk (65.8/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 0.93%). Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-01-26 | 0.80% | 0.93% | +0.13% |
| 2 | 2026-01-21 | 0.67% | 0.80% | +0.13% |
| 3 | 2026-01-19 | — | 0.67% | — |
Full EPSS history (12 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-6g8q-qfpv-57wp · Severity: critical · Ecosystem: composer — CakePHP Database\\Query::offset() and limit() methods are vulnerable to SQL injection
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2023-22727 unimportant priority: Debian including 1 source packages (cakephp), 1 status rows across 1 suites (bullseye): resolved 1. | https://security-tracker.debian.org/tracker/CVE-2023-22727 |
ubuntu
|
medium | CVE-2023-22727 medium priority: Ubuntu including 1 source packages (cakephp), 7 status rows across 7 suites (bionic, focal, jammy, kinetic, trusty, upstream, xenial): needs-triage 3, ignored 2, DNE 1, released 1. | https://ubuntu.com/security/CVE-2023-22727 |
| URL | Tags |
|---|---|
| https://bakery.cakephp.org/2023/01/06/cakephp_4211_4311_4410_released.html | Release Notes Vendor Advisory |
| https://github.com/cakephp/cakephp/commit/3f463e7084b5a15e67205ced3a622577cca7a239 | Patch Third Party Advisory |
| https://github.com/cakephp/cakephp/security/advisories/GHSA-6g8q-qfpv-57wp | Third Party Advisory |