Advisory record · GHSA-745p-r637-7vvp

Codeigniter4's Secure or HttpOnly flag set in Config\Cookie is not reflected in Cookies issued

CVSS 2.6 LowEPSS 0.011 · 66th percentile

Published by the GitHub Advisory Database at 6 Oct 2022, 20:01 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
codeigniter4/frameworkPackagist<4.2.74.2.7
Identifiers
GHSA-745p-r637-7vvp · BIT-codeigniter-2022-39284 · CVE-2022-39284 · PKSA-gdkx-2hq2-gzns
Weakness (CWE)
CWE-665 · CWE-732
Published
6 Oct 2022
Updated
16 Feb 2024

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.

Written 4 Nov 2026.

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

ScoreRatingCVSSVectorSource
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

  1. 31 Oct 2026, 14:32 UTC First seen by agentprime
  2. 31 Oct 2026, 14:32 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.