All vulnerabilities

Servers and applications

GHSA-r63r-hjfq-pwf8

Server Environment and Header Disclosure via Twig Request Object

Severity
Low 2.2
Published
13 Sept 2026
Last changed
13 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.7.17
Weakness
Information exposure (CWE-200)Improper access control (CWE-284)
Attack
Over the network · Only under certain conditions · Needs an administrator account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N
Sources
Project advisories (GitHub)

Description

The Twig sandbox SecurityPolicy allowlisted Illuminate\Http\Request with no method-level restrictions, and the fully-hydrated request object was injected into every CMS page render as this.request. A backend user with CMS markup editing access could call this.request.server() from a Safe Mode template to read the full $_SERVER superglobal (which contains .env secrets such as APP_KEY, DB_PASSWORD, and third-party API credentials in PHP-FPM and equivalent deployments), or call this.request.header() / this.request.cookie() / this.request.bearerToken() to read incoming request headers and cookies.

This issue only affects installations running with cms.safe_mode enabled. Safe Mode is a niche opt-in feature, primarily used for demo installations and multi-tenant or shared-editor scenarios where untrusted users are deliberately granted access to the CMS markup editor.

From octobercms/october's security advisory. Shortened; the full text is there.

Workarounds

If upgrading immediately is not possible, restrict CMS markup editing access to fully trusted administrators only, the standard October CMS recommendation for any deployment.

Workarounds as given by octobercms/october's security advisory.

Affected software

SoftwareAffected versions
October CMSServers and applications · github:octobercms/october
  • Every version before 3.7.17

About October CMS

content management system

From Wikidata, CC0 1.0.
Monthly downloads (Packagist)
2,621Packagist, 15 Nov 2026
Total downloads (Packagist)
1,056,452Packagist, 15 Nov 2026
GitHub stars
11,159GitHub, 15 Nov 2026
Forks
2,201GitHub, 15 Nov 2026
Latest release
v4.4.0GitHub, 15 Nov 2026
Released
30 Aug 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First released
15 May 2014Wikidata
First published on GitHub
26 Nov 2013GitHub

References