October/System authenticated file write leads to remote code execution
Published 14 Jan 2022 · Updated 8 Jul 2026
Affected packages
- Affected
- >=1.1.0 <1.1.6
- Fixed in
- 1.1.6
composer require october/system:^1.1.6- Affected
- <1.0.473
- Fixed in
- 1.0.473
composer require october/system:^1.0.473Details
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:
- Email us at [hello@octobercms.com](mailto:hello@octobercms.com)
Is GHSA-wv23-pfj7-2mjj 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.