HighGHSA-5hfj-r725-wpc4CVE-2021-32650

october/system arbitrary code execution

Published 14 Jan 2022 · Updated 8 Jul 2026

Affected packages

Affected
>=1.1.0 <1.1.6
Fixed in
1.1.6
Update to the fixed version for your release line, for example:composer require october/system:^1.1.6
Affected
<1.0.473
Fixed in
1.0.473
Update to the fixed version for your release line, for example:composer require october/system:^1.0.473

Details

Impact

Assuming an attacker with access to the backend is able to execute PHP code by using the theme import feature. This will bypass the safe mode feature that prevents PHP execution in the CMS templates.

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: • Sushi Yushi

For more information

If you have any questions or comments about this advisory:

  • Email us at [hello@octobercms.com](mailto:hello@octobercms.com)

Is GHSA-5hfj-r725-wpc4 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 october/system, and gives you the command that fixes it.

References

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