Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. october/october
  4. ›
  5. CVE-2026-26274

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

April 21, 2026 (updated April 24, 2026)

A vulnerability was identified in the Twig sandbox security policy that allowed database write operations when cms.safe_mode 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.

References

  • github.com/advisories/GHSA-h6jm-f4hh-fw27
  • github.com/octobercms/october
  • github.com/octobercms/october/security/advisories/GHSA-h6jm-f4hh-fw27
  • nvd.nist.gov/vuln/detail/CVE-2026-26274

Code Behaviors & Features

Detect and mitigate CVE-2026-26274 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.7.14, all versions starting from 4.0.0 before 4.1.10

Fixed versions

  • 3.7.14
  • 4.1.10

Solution

Upgrade to versions 3.7.14, 4.1.10 or above.

Impact 6.6 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-184: Incomplete List of Disallowed Inputs
  • CWE-863: Incorrect Authorization

Source file

packagist/october/october/CVE-2026-26274.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 13 May 2026 00:21:13 +0000.