# CVE-2023-38489: Kirby vulnerable to Insufficient Session Expiration after a password change

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.04% (percentile 63, 2026-11-26)
- **CWE:** CWE-613
- **Aliases:** GHSA-5mvj-rvp8-rf45
- **Published:** 2023-07-27T14:36:46.189Z
- **Modified:** 2026-09-10T03:49:54.381Z

## Who should check

- Projects that depend on Packagist package getkirby/cms (\< 3.5.8.3)
- Anyone running getkirby kirby \< 3.5.8.3; \>= 3.6.0, \< 3.6.6.3; \>= 3.7.0, \< 3.7.5.2; \>= 3.8.0, \< 3.8.41; \>= 3.9.0, \< 3.9.6

## Description

Kirby is a content management system. A vulnerability in versions prior to 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, and 3.9.6 affects all Kirby sites with user accounts (unless Kirby's API and Panel are disabled in the config). It can only be abused if a Kirby user is logged in on a device or browser that is shared with potentially untrusted users or if an attacker already maliciously used a previous password to log in to a Kirby site as the affected user.

Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization. In the variation described in this advisory, it allows attackers to stay logged in to a Kirby site on another device even if the logged in user has since changed their password. Kirby did not invalidate user sessions that were created with a password that was since changed by the user or by a site admin. If a user changed their password to lock out an attacker who was already in possession of the previous password or of a login session on another device or browser, the attacker would not be reliably prevented from accessing the Kirby site as the affected user.

The problem has been patched in Kirby 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, and 3.9.6. In all of the mentioned releases, the maintainers have updated the authentication implementation to keep track of the hashed password in each active session. If the password changed since the login, the session is invalidated. To enforce this fix even if the vulnerability was previously abused, all users are logged out from the Kirby site after updating to one of the patched releases.

## Affected and fixed versions

- Packagist `getkirby/cms`: affected \< 3.5.8.3; fixed 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, 3.9.6 (osv)
- getkirby kirby: \< 3.5.8.3; \>= 3.6.0, \< 3.6.6.3; \>= 3.7.0, \< 3.7.5.2; \>= 3.8.0, \< 3.8.41; \>= 3.9.0, \< 3.9.6 (cvelist)

## Mitigation

- Upgrade getkirby/cms to one of 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, 3.9.6 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-38489. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-38489.md
Affected: getkirby/cms < 3.5.8.3
Fixed in: 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, 3.9.6

Steps:
1. Search this machine and project for getkirby/cms (Packagist), getkirby kirby: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-38489 being exploited?

There is no confirmed exploitation: CVE-2023-38489 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.04% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-38489?

High: CVSS 7.3 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2023-38489?

getkirby/cms \< 3.5.8.3.

### Is there a fix for CVE-2023-38489?

Yes. Fixed in 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, 3.9.6. Upgrade getkirby/cms to one of 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, 3.9.6 (or later in the same release line).

### How do I check if I'm affected by CVE-2023-38489?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/getkirby/kirby/security/advisories/GHSA-5mvj-rvp8-rf45>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-38489>
- patch: <https://github.com/getkirby/kirby/commit/7a0a2014c69fdb925ea02f30e7793bb50115e931>
- other: <https://github.com/getkirby/kirby/releases/tag/3.5.8.3>
- other: <https://github.com/getkirby/kirby/releases/tag/3.6.6.3>
- other: <https://github.com/getkirby/kirby/releases/tag/3.7.5.2>
- other: <https://github.com/getkirby/kirby/releases/tag/3.8.4.1>
- other: <https://github.com/getkirby/kirby/releases/tag/3.9.6>
- other: <https://github.com/getkirby/kirby>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-38489>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-5mvj-rvp8-rf45> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-38489> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-38489>
