Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The codeigniter4/framework package before 4.2.7 does not apply the Secure or HttpOnly settings from Config\Cookie to cookies issued through set_cookie() or Response::setCookie(). Session cookies are not affected. The advisory describes no attacker access requirement, and the impact is that cookies can be issued without the flags the configuration asks for. Upgrade to version 4.2.7 or later, or pass the Secure and HttpOnly options explicitly when setting each cookie.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 2.6 | Low | 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.011, the 66th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:32 UTC First seen by agentprime
- 31 Oct 2026, 14:32 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-745p-r637-7vvp
- OSV: GHSA-745p-r637-7vvp
- github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-745p-r637-7vvp
- nvd.nist.gov/vuln/detail/CVE-2022-39284
- github.com/codeigniter4/CodeIgniter4/issues/6540
- github.com/codeigniter4/CodeIgniter4/pull/6544
- codeigniter4.github.io/userguide/helpers/cookie_helper.html#set_cookie
- codeigniter4.github.io/userguide/outgoing/response.html#CodeIgniter%5CHTTP%5CResponse::setCookie
- developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#restrict_access_to_cookies
- github.com/FriendsOfPHP/security-advisories/blob/master/codeigniter4/framework/CVE-2022-39284.yaml
- github.com/codeigniter4/CodeIgniter4