Advisory

GHSA-2vcf-qxv3-2mgw

Also known as: CVE-2025-54417

Summary

Craft CMS has a theoretical bypass for CVE-2025-23209

Details

Pre-requisites:

  • Have a compromised security key (https://craftcms.com/knowledge-base/securing-craft#keep-your-secrets-secret)
  • Somehow, manage to create an arbitrary file in Craft’s /storage/backups folder.

With those two pieces in place, you could create a specific, malicious request to the /updater/restore-db endpoint to execute CLI commands remotely.

Fixed in https://github.com/craftcms/cms/commit/a19d46be78a9ca1ea474012a10e97bed0d787f57

-----

Reported by Marco O. (segfault)

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-08-08 19:32 UTC
Modified
2025-08-11 14:33 UTC

Affected packages and fixes

craftcms/cms

Packagist · All systems

Affected

  • introduced 4.13.8, fixed 4.16.3 (ecosystem)

Fixed versions

4.16.3

Fix

The export has no generic command for this ecosystem.

craftcms/cms

Packagist · All systems

Affected

  • introduced 5.5.8, fixed 5.8.4 (ecosystem)

Fixed versions

5.8.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences