# CVE-2023-27580: CodeIgniter Shield Password Shucking Vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2023-03-13T17:14:58.687Z
- Modified: 2026-06-17T05:45:30.727Z
- Also known as: GHSA-c5vj-f36q-p9vg
- Weaknesses: CWE-916
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- codeigniter4 shield: < 1.0.0-beta.4
- codeigniter4/shield (Packagist): before 1.0.0-beta.4
- codeigniter shield: 1.0.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/codeigniter4/shield/security/advisories/GHSA-c5vj-f36q-p9vg> (vendor-advisory, web)
- <https://github.com/codeigniter4/shield/commit/ea9688dd01d100193d834117dbfc2cfabcf9ea0b> (patch, web)
- <https://blog.ircmaxell.com/2015/03/security-issue-combining-bcrypt-with.html> (third-party-advisory, web)
- <https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pre-hashing-passwords> (not-applicable, web)
- <https://github.com/codeigniter4/shield/blob/develop/UPGRADING.md> (vendor-advisory, web)
- <https://www.scottbrady91.com/authentication/beware-of-password-shucking> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-27580> (advisory)
- <https://github.com/codeigniter4/shield> (package)

## Sources

- CVE List: [CVE-2023-27580](https://www.cve.org/CVERecord?id=CVE-2023-27580), CVE Terms of Use, modified 2025-02-25
- GitHub Advisory Database: [GHSA-c5vj-f36q-p9vg](https://github.com/advisories/GHSA-c5vj-f36q-p9vg), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-27580](https://nvd.nist.gov/vuln/detail/CVE-2023-27580), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-27580 · Whole record: https://cve.day/CVE-2023-27580.json · Rebuilt by cve.day 2026-11-25T22:58:22.401Z
