CVE-2021-32649
JSON

8.8high

Authenticated file write leads to remote code execution in october/system

Severity
8.8high CVSS:3.1 by GitHub_M
Exploit likelihood
1.38% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-wv23-pfj7-2mjj

Description

October CMS is a self-hosted content management system (CMS) platform based on the Laravel PHP Framework. Prior to versions 1.0.473 and 1.1.6, an attacker with "create, modify and delete website pages" privileges in the backend is able to execute PHP code by running specially crafted Twig code in the template markup. The issue has been patched in Build 473 (v1.0.473) and v1.1.6. Those unable to upgrade may apply the patch to their installation manually as a workaround.

Affected

Product or packageVersionsReported by
octobercms october< 1.0.473, >= 1.1.0, < 1.1.6, before 1.0.473, from 1.1.0 before 1.1.6CVE List, NVD
october/system (Packagist)from 1.1.0 before 1.1.6, before 1.0.473GitHub Advisory Database

All scores

GitHub_M8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:P

Classification

CWE-74CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

October CMS is a self-hosted content management system (CMS) platform based on the Laravel PHP Framework. Prior to versions 1.0.473 and 1.1.6, an attacker with "create, modify and delete website pages" privileges in the backend is able to execute PHP code by running specially crafted Twig code in the template markup. The issue has been patched in Build 473 (v1.0.473) and v1.1.6. Those unable to upgrade may apply the patch to their installation manually as a workaround.

GitHub Advisory Database
Impact

Assuming an attacker with "create, modify and delete website pages" privileges in the backend is able to execute PHP code by running specially crafted Twig code in the template markup.

Patches

Issue has been patched in Build 473 and v1.1.6

Workarounds

Apply https://github.com/octobercms/october/commit/167b592eed291ae1563c8fcc5b9b34a03a300f26 to your installation manually if you are unable to upgrade.

References

Credits to: • David Miller

For more information

If you have any questions or comments about this advisory:

NVD (es)

October CMS es una plataforma de sistema de administración de contenidos (CMS) auto alojada basada en el framework PHP Laravel. En versiones anteriores a 1.0.473 y 1.1.6, un atacante con privilegios "create, modify and delete website pages" en el backend es capaz de ejecutar código PHP mediante la ejecución de código Twig especialmente diseñado en el marcado de la plantilla. El problema ha sido parcheado en la Build 473 (v1.0.473) y versión v1.1.6. Los que no puedan actualizar pueden aplicar el parche a su instalación manualmente como medida de mitigación

References

Sources

SourceRecordLicence
CVE ListCVE-2021-32649 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-wv23-pfj7-2mjj changed 2026-07-08CC-BY-4.0
NVDCVE-2021-32649 changed 2026-06-17Public domain