HighGHSA-5mvj-rvp8-rf45CVE-2023-38489

Insufficient Session Expiration after a password change

Published 28 Jul 2023 · Updated 10 Sept 2026

Is your project on an affected getkirby/cms?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

getkirby/cmsComposer
Affected
<3.5.8.3
Fixed in
3.5.8.3
Update to the fixed version for your release line, for example:composer require getkirby/cms:^3.5.8.3
getkirby/cmsComposer
Affected
>=3.6.0 <3.6.6.3
Fixed in
3.6.6.3
Update to the fixed version for your release line, for example:composer require getkirby/cms:^3.6.6.3
getkirby/cmsComposer
Affected
>=3.7.0 <3.7.5.2
Fixed in
3.7.5.2
Update to the fixed version for your release line, for example:composer require getkirby/cms:^3.7.5.2
getkirby/cmsComposer
Affected
>=3.8.0 <3.8.4.1
Fixed in
3.8.4.1
Update to the fixed version for your release line, for example:composer require getkirby/cms:^3.8.4.1
getkirby/cmsComposer
Affected
>=3.9.0 <3.9.6
Fixed in
3.9.6
Update to the fixed version for your release line, for example:composer require getkirby/cms:^3.9.6

Details

TL;DR

This vulnerability 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.

----

Introduction

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 or browser even if the logged in user has since changed their password.

Impact

Kirby did not invalidate old user sessions after the user password was 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.

Patches

The problem has been patched in Kirby 3.5.8.3, Kirby 3.6.6.3, Kirby 3.7.5.2, Kirby 3.8.4.1 and Kirby 3.9.6. Please update to one of these or a later version to fix the vulnerability.

In all of the mentioned releases, we have updated the authentication implementation to keep track of the last time the password was changed. If a new password was set 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.

Credits

Thanks to Shankar Acharya (@5hank4r) for responsibly reporting the identified issue.

Is GHSA-5mvj-rvp8-rf45 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected getkirby/cms, and gives you the command that fixes it.

More advisories for getkirby/cms

  • MediumCVE-2026-75592Kirby: Access to image files outside of the site root via path traversal in the media handling · 2 Sept 2026
  • MediumCVE-2026-69127Kirby: System path exposure from error messages in the REST API · 1 Sept 2026
  • HighCVE-2026-71415Kirby: File upload permissions are not checked during processing of chunk data · 31 Aug 2026
  • HighCVE-2026-75594Kirby: Access to image files and limited access to JSON files outside of the site root via path traversal in the media handling · 31 Aug 2026
  • HighCVE-2026-54005Kirby: `pages.access` permission is not checked in the `site/find` REST API route · 18 Jun 2026
  • MediumCVE-2026-54004Kirby: Access to files of top-level drafts is not protected by permissions · 18 Jun 2026
All 51 advisories for getkirby/cms

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.