# October CMS has Safe Mode Bypass via Twig Database Write Operations

Advisory record · `GHSA-h6jm-f4hh-fw27`

- **Identifiers:** `GHSA-h6jm-f4hh-fw27` · `CVE-2026-26274` · `PKSA-yqc2-m5mr-13xt`
- **State:** Confirmed
- **Severity:** CVSS 6.6 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-184](https://cwe.mitre.org/data/definitions/184.html) · [CWE-863](https://cwe.mitre.org/data/definitions/863.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md) · [CWE-184](https://agentprime.io/advisories/tag/cwe-184.md)
- **Published:** 21 Apr 2026
- **Updated:** 5 May 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 21 Apr 2026, 16:44 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `october/october` (Packagist): affected `<3.7.14 || >=4.0.0, <4.1.10`; fixed in `3.7.14`, `4.1.10`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> October CMS versions below 3.7.14 and from 4.0.0 up to (not including) 4.1.10 are affected. An attacker needs a backend account with Developer permissions and cms.safe_mode enabled; they can then use Twig template markup to insert, update, or delete rows in any database table. Upgrade to 3.7.14 or 4.1.10. If upgrading is not possible, limit Developer tool access to fully trusted administrators.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.6 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0023, the 13th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:25 UTC: First seen by agentprime
- 31 Oct 2026, 14:25 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-h6jm-f4hh-fw27)

## Sources

- [GitHub Advisory Database: GHSA-h6jm-f4hh-fw27](https://github.com/advisories/GHSA-h6jm-f4hh-fw27)
- [OSV: GHSA-h6jm-f4hh-fw27](https://osv.dev/vulnerability/GHSA-h6jm-f4hh-fw27)
- <https://github.com/octobercms/october/security/advisories/GHSA-h6jm-f4hh-fw27>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-26274>
- <https://github.com/octobercms/october>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-h6jm-f4hh-fw27>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-h6jm-f4hh-fw27/>. Everything for agents: <https://agentprime.io/llms.txt>.
