CodeIgniter Shield Password Shucking Vulnerability
CodeIgniter Shield provides authentication and authorization for the CodeIgniter 4 PHP framework. An improper implementation was found in the password storage process. All hashed passwords stored in Shield v1.0.0-beta.3 or earlier are easier to crack than expected due to the vulnerability. Therefore, they should be removed as soon as possible. If an attacker gets (1) the user's hashed password by Shield, and (2) the hashed password (SHA-384 hash without salt) from somewhere, the attacker may easily crack the user's password. Upgrade to Shield v1.0.0-beta.4 or later to fix this issue. After upgrading, all users’ hashed passwords should be updated (saved to the database). There are no known workarounds.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-27580
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 21:06 UTC · Revision 1
Source evidence
CodeIgniter Shield Password Shucking Vulnerability
core-osv · Original sourcePublished 13 Mar 2023, 17:14 UTC
CodeIgniter Shield provides authentication and authorization for the CodeIgniter 4 PHP framework. An improper implementation was found in the password storage process. All hashed passwords stored in Shield v1.0.0-beta.3 or earlier are easier to crack than expected due to the vulnerability. Therefore, they should be removed as soon as possible. If an attacker gets (1) the user's hashed password by Shield, and (2) the hashed password (SHA-384 hash without salt) from somewhere, the attacker may easily crack the user's password. Upgrade to Shield v1.0.0-beta.4 or later to fix this issue. After upgrading, all users’ hashed passwords should be updated (saved to the database). There are no known workarounds.
osv:CVE-2023-27580
Complete source record
{
"id": "2be83d4ce0d91df9d210b973bac7eaf73ef5f9e103f8ba780ab9a51cfe8133c8",
"url": "https://osv.dev/vulnerability/CVE-2023-27580",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CodeIgniter Shield Password Shucking Vulnerability",
"summary": "CodeIgniter Shield provides authentication and authorization for the CodeIgniter 4 PHP framework. An improper implementation was found in the password storage process. All hashed passwords stored in Shield v1.0.0-beta.3 or earlier are easier to crack than expected due to the vulnerability. Therefore, they should be removed as soon as possible. If an attacker gets (1) the user's hashed password by Shield, and (2) the hashed password (SHA-384 hash without salt) from somewhere, the attacker may easily crack the user's password. Upgrade to Shield v1.0.0-beta.4 or later to fix this issue. After upgrading, all users’ hashed passwords should be updated (saved to the database). There are no known workarounds.",
"evidence": "osv:CVE-2023-27580",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2023-27580",
"aliases": [
"CVE-2023-27580",
"GHSA-c5vj-f36q-p9vg"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/codeigniter4/shield",
"type": "GIT",
"events": [
{
"introduced": "c66012f887d9e9ab14183472b162114f48ad4561"
},
{
"fixed": "ea9688dd01d100193d834117dbfc2cfabcf9ea0b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:codeigniter:shield:1.0.0:beta:*:*:*:*:*:*",
"range": [
{
"introduced": "1.0.0-beta"
},
{
"last_affected": "1.0.0-beta"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "ea9688dd01d100193d834117dbfc2cfabcf9ea0b"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.0.0-beta",
"v1.0.0-beta.3",
"v1.0.0-beta.2",
"v1.0.0-beta"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-27580.json"
}
}
],
"modified": "2026-10-28T02:30:39.438656711Z",
"provider": "osv",
"references": [
"https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pre-hashing-passwords",
"https://github.com/codeigniter4/shield/blob/develop/UPGRADING.md",
"https://www.scottbrady91.com/authentication/beware-of-password-shucking",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/27xxx/CVE-2023-27580.json",
"https://github.com/codeigniter4/shield/security/advisories/GHSA-c5vj-f36q-p9vg",
"https://nvd.nist.gov/vuln/detail/CVE-2023-27580",
"https://github.com/codeigniter4/shield/commit/ea9688dd01d100193d834117dbfc2cfabcf9ea0b",
"https://blog.ircmaxell.com/2015/03/security-issue-combining-bcrypt-with.html"
],
"provider_metadata": {
"cwe_ids": [
"CWE-916"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/27xxx/CVE-2023-27580.json"
}
},
"related_cves": [
{
"value": "CVE-2023-27580",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507029,
"published_at": "2023-03-13T17:14:58.687+00:00"
}