CVE-2020-26231

Source
https://cve.org/CVERecord?id=CVE-2020-26231
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26231.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-26231
Aliases
Published
2020-11-23T21:15:12.347Z
Modified
2026-07-09T01:07:46.124268Z
Severity
  • 6.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

October is a free, open-source, self-hosted CMS platform based on the Laravel PHP Framework. A bypass of CVE-2020-15247 (fixed in 1.0.469 and 1.1.0) was discovered that has the same impact as CVE-2020-15247. An authenticated backend user with the cms.managepages, cms.managelayouts, or cms.manage_partials permissions who would normally not be permitted to provide PHP code to be executed by the CMS due to cms.enableSafeMode being enabled is able to write specific Twig code to escape the Twig sandbox and execute arbitrary PHP. This is not a problem for anyone that trusts their users with those permissions to normally write & manage PHP within the CMS by not having cms.enableSafeMode enabled, but would be a problem for anyone relying on cms.enableSafeMode to ensure that users with those permissions in production do not have access to write & execute arbitrary PHP. Issue has been patched in Build 470 (v1.0.470) and v1.1.1.

References

Affected packages

Git / github.com/octobercms/october

Affected ranges

Type
GIT
Repo
https://github.com/octobercms/october
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "1.0.469"
        },
        {
            "last_affected": "1.0.469"
        },
        {
            "introduced": "1.1.0"
        },
        {
            "last_affected": "1.1.0"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "cpe": [
        "cpe:2.3:a:octobercms:october:1.0.469:*:*:*:*:*:*:*",
        "cpe:2.3:a:octobercms:october:1.1.0:*:*:*:*:*:*:*"
    ]
}

Affected versions

1.*
1.0.469
1.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26231.json"