CVE-2026-26274: October: Safe Mode Bypass via Twig Database Write Operations

Published Apr 21, 2026
·
Updated

A vulnerability was identified in the Twig sandbox security policy that allowed database write operations when cms.safemode is enabled. Backend users with Developer permissions could use Twig template markup to execute insert, update, and delete operations on any database table through the query builder, which is included in the sandbox allow-list.

Impact - Arbitrary database writes including modification or deletion of any table - Requires authenticated backend access with Developer permissions - Only relevant when cms.safemode is enabled (otherwise direct PHP injection is already possible)

Patches The vulnerability has been patched in v3.7.14 and v4.1.10. Write operations such as insert, update, delete, and truncate are now blocked on query builder and model objects within the Twig sandbox. All users are encouraged to upgrade to the latest patched version.

Workarounds If upgrading immediately is not possible: - Restrict Developer tool access to fully trusted administrators only

Reporter - Reported by Chris Alupului

Other sources

October is a Content Management System (CMS) and web platform. Prior to 3.7.14 and 4.1.10, a vulnerability was identified in the Twig sandbox security policy that allowed database write operations when cms.safemode is enabled. Backend users with Developer permissions could use Twig template markup to execute insert, update, and delete operations on any database table through the query builder, which is included in the sandbox allow-list. This vulnerability is fixed in 3.7.14 and 4.1.10.

MITRE

Affected Software

3 affected componentsFixes available
October October CMS<3.7.14, <4.1.10
composer/october/october>=4.0.0<4.1.10
4.1.10
composer/october/october<3.7.14
3.7.14

Event History

Apr 21, 2026
CVE Published
via MITRE·04:16 PM
Data Sourced
via MITRE·04:16 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·04:44 PM
Data Sourced
via GitHub·04:44 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-26274?

CVE-2026-26274 is considered a high-severity vulnerability due to its potential to bypass safe mode restrictions.

2

How do I fix CVE-2026-26274?

To fix CVE-2026-26274, upgrade October CMS to versions 3.7.14 or 4.1.10 or later.

3

What causes CVE-2026-26274?

CVE-2026-26274 is caused by a flaw in the Twig sandbox security policy that does not properly restrict database write operations.

4

Is CVE-2026-26274 present in all versions of October CMS?

CVE-2026-26274 affects all October CMS versions prior to 3.7.14 and 4.1.10.

5

What are the risks of exploiting CVE-2026-26274?

Exploiting CVE-2026-26274 could allow an attacker to manipulate the database and potentially compromise sensitive information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203