{
  "id": "CVE-2026-115935",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-115935",
  "published_at": "2026-10-23T21:40:57.592Z",
  "title": "Control panel only API response emulation replaces \"securityKey\" and reaches server RCE",
  "vendor": "craftcms",
  "product": "cms",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "The app/process-api-response-headers action accepts fake Craft API response headers from any authenticated control panel user.\n\n\n\nA non-admin user with only accessCp can place newline characters in X-Craft-Plugin-Licenses. Craft passes this value to its .env writer without removing the newlines.\n\n\n\nThis lets the user insert a new attacker-known CRAFT_SECURITY_KEY into .env. After Craft loads that key, the user can forge a signed login redirect containing a Twig system() callback.\n\n\n\nThis is different from the previous report. That report reads the existing key through a Twig sandbox bypass. This report replaces the key through fake API headers and CRLF injection. Fixing either source does not fix the other.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "craftcms",
        "product": "cms",
        "ranges": [
          "\u003e= 5.0.0, \u003c 5.11.2",
          "\u003e= 4.0.0, \u003c 4.18.9"
        ],
        "fixed_in": [
          "5.11.2",
          "4.18.9"
        ]
      }
    ],
    "upgrade": [
      "Upgrade cms to 5.11.2 or 4.18.9 or later."
    ],
    "references": [
      {
        "kind": "Mitigation",
        "url": "https://www.hckrt.com/hacktivity/HCKRT-WM3VSE"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/craftcms/cms/releases/tag/5.11.2"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/craftcms/cms/security/advisories/GHSA-9hp6-3565-gvh5"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
