SecurityContext

CVE-2026-92592: Craft CMS - Remote Code Execution

  • Cve: CVE-2026-92592
  • Name: Craft CMS - Remote Code Execution
  • Description: Craft CMS 4.8.0 through 4.18.5 and 5.0.0 through 5.10.12 sign an authenticated user's attacker-controlled license-shun cookie with the same key and format used to validate signed redirect parameters, because the HMAC signature is not bound to its purpose (Yii's cookieValidationKey is derived from the same Craft securityKey used for signed request parameters). An authenticated, non-administrator user (Control Panel access is not required) can set the cookie via the license-shun endpoint and transplant the signed envelope into the redirect parameter; on a successful login, Craft validates the signature and renders the authenticated bytes as an unsandboxed Twig template, where Twig's map filter accepts a string callback and allows PHP system() to execute arbitrary operating-system commands as the web-server user. Exploitation requires an account using password authentication without active 2FA, the default request configuration, and availability of PHP system(). The issue is fixed in 4.18.6 and 5.10.13.
  • Impact: Authenticated non-admin users can execute arbitrary OS commands as the web server user, leading to full system compromise.
  • Remediation: Update to versions 4.18.6 or 5.10.13 or later.
  • Vulnerability type: remote_code_execution
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Account with password authentication without active 2FA and PHP system() availability
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00605
  • Epss percentile: 0.49905
  • Assignee: [email protected]
  • Published at: 2026-09-16T22:18:30Z
  • Age in days: 69
  • Modified at: 2026-09-22T20:25:55Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-92592
  • Nvd status: awaiting_analysis
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-1336Improper Neutralization of Special Elements Used in a Template Engine

Public exploits

UrlSourceAdded date
https://github.com/godylockz/CVE-2026-92592poc-in-github2026-10-03

References

UrlSourceTags
https://github.com/craftcms/cms/security/advisories/GHSA-5r92-75j8-c534nvd
https://www.vulncheck.com/advisories/craft-cms-before-4.18.6-remote-code-execution-via-signed-cookienvd

Products

ProductAffectedPlatform boundSourcesUrl
craftcms:craft_cms>= 5.0.0, < 5.10.13; >= 4.8.0, < 4.18.6nocna/v1/products/craftcms/craft_cms

Projects

RepositoryLink kindsIndexedUrl
craftcms/cmssecurity_advisoryyes/v1/repositories/craftcms/cms

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-10-03
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 34344
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports