{"id":"CVE-2021-32649","aliases":["CVE-2021-32649","GHSA-wv23-pfj7-2mjj"],"related":[],"kind":"vulnerability","state":"published","title":"Authenticated file write leads to remote code execution in october/system","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAssuming 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.\n\n### Patches\n\nIssue has been patched in Build 473 and v1.1.6\n\n### Workarounds\n\nApply https://github.com/octobercms/october/commit/167b592eed291ae1563c8fcc5b9b34a03a300f26 to your installation manually if you are unable to upgrade.\n\n### References\n\nCredits to:\n• David Miller\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [hello@octobercms.com](mailto:hello@octobercms.com)","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2022-01-14T15:05:17.000Z","modified":"2026-07-08T06:28:35.042Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-74","CWE-94"],"affected":[{"ranges":[{"version":"< 1.0.473","status":"affected"},{"version":">= 1.1.0, < 1.1.6","status":"affected"}],"vendor":"octobercms","product":"october","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.1.0","status":"affected","fixed":"1.1.6"}],"ecosystem":"Packagist","package":"october/system","purl":"pkg:composer/october/system","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.0.473"}],"ecosystem":"Packagist","package":"october/system","purl":"pkg:composer/october/system","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.0.473"},{"status":"affected","introduced":"1.1.0","fixed":"1.1.6"}],"vendor":"octobercms","product":"october","cpe":"cpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/octobercms/october/commit/167b592eed291ae1563c8fcc5b9b34a03a300f26","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/octobercms/october/security/advisories/GHSA-wv23-pfj7-2mjj","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32649","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/octobercms/october","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-23T15:56:55.162Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32649","url":"https://www.cve.org/CVERecord?id=CVE-2021-32649","licence":"CVE Terms of Use","modified":"2025-04-23T19:12:11.368Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wv23-pfj7-2mjj","url":"https://github.com/advisories/GHSA-wv23-pfj7-2mjj","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:35.042Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32649","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32649","licence":"Public domain","modified":"2026-06-17T03:53:20.837Z"}],"updatedAt":"2026-11-25T22:58:06.529Z","epss":{"score":0.0138,"percentile":0.72925,"date":"2026-12-01T12:00:22.000Z"}}