CVE-2025-46731
Craft CMS Contains a Potential Remote Code Execution Vulnerability via Twig SSTI
Auswirkung
Craft CMS contains a potential remote code execution vulnerability via Twig SSTI. You must have administrator access and `ALLOW_ADMIN_CHANGES` must be enabled for this to work. https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production Note: This is a follow-up to https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv Users should update to the patched versions (4.14.13 and 5.6.15) to mitigate the issue. ### References https://github.com/craftcms/cms/pull/17026
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem Administratorkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | craftcms/cms | >= 4.0.0-RC1, <= 4.14.12 | 4.14.13 |
Betroffene Produkte · Craftcms
| Produkt | Betroffene Versionen |
|---|---|
| Craft Cms | ab 4.1.0 vor 4.14.13 ab 5.1.0 vor 5.6.15 Versionen 4.0.0, 5.0.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- http://github.com/craftcms/cms/pull/17026
- https://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production
- https://github.com/craftcms/cms/security/advisories/GHSA-7c58-g782-9j38
- https://github.com/craftcms/cms/security/advisories/GHSA-f3cw-hg6r-chfv
- https://github.com/advisories/GHSA-7c58-g782-9j38
- https://nvd.nist.gov/vuln/detail/CVE-2025-46731