Live threats

All CVEs / Codeigniter

CVE-2023-48707Codeigniter Shield

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
0.3%
probability of exploitation in 30 days · percentile 20
Auth required
Yes
Published
Nov 24, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-312
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

CodeIgniter Shield is an authentication and authorization provider for CodeIgniter 4. The `secretKey` value is an important key for HMAC SHA256 authentication and in affected versions was stored in the database in cleartext form. If a malicious person somehow had access to the data in the database, they could use the key and secretKey for HMAC SHA256 authentication to send requests impersonating that corresponding user. This issue has been addressed in version 1.0.0-beta.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Original NVD text.

What to do

  1. Apply the vendor's security update for Shield.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist codeigniter4/shield < 1.0.0-beta.8 1.0.0-beta.8 composer require "codeigniter4/shield:^1.0.0-beta.8"

Per OSV / GitHub Advisories (GHSA-v427-c49j-8w6x). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
codeignitershield1.0.0
codeignitershield1.0.0
codeignitershield1.0.0
codeignitershield1.0.0
codeignitershield1.0.0
codeignitershield1.0.0
codeignitershield1.0.0

Official sources

References

Links published by the sources. Open them with care.