CVE-2026-115189 (GCVE-0-2026-115189)
Vulnerability from cvelistv5
Published
2026-10-26 12:39
Modified
2026-10-26 15:35
CWE
  • CWE-1336 - Improper Neutralization of Special Elements Used in a Template Engine
Summary
A server-side template injection vulnerability exists in the Twig theme rendering sandbox of Mautic. The sandbox introduced to restrict user-uploaded theme templates (the fix for GHSA-9fx4-7cmj-47vg) does not fully enforce its restrictions, allowing a crafted theme template to escape the sandbox. An authenticated user with the core:themes:create permission can upload a malicious theme whose template is later rendered, resulting in execution of arbitrary code on the server with the privileges of the web server process. This allows the attacker to execute operating system commands, read server-side files including configuration files and database credentials, write files, and reach internal services. In default installations the core:themes:create permission is granted to the Administrator role, and in multi-operator setups it may be delegated to other roles. This is an incomplete fix for GHSA-9fx4-7cmj-47vg.
Impacted products
Vendor Product Version
Version: 1.3.0   ≤
Version: 6.0.0   ≤
Version: 7.0.0   ≤
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-115189",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-26T14:47:38.169849Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-26T15:35:53.698Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "mautic/core",
          "repo": "https://github.com/mautic/mautic",
          "versions": [
            {
              "lessThan": "5.2.12",
              "status": "affected",
              "version": "1.3.0",
              "versionType": "semver"
            },
            {
              "lessThan": "6.0.10",
              "status": "affected",
              "version": "6.0.0",
              "versionType": "semver"
            },
            {
              "lessThan": "7.2.2",
              "status": "affected",
              "version": "7.0.0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "AbisheikMagesh (@amagesh1)"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Jace (@manus-use)"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "@sec-reex"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Ghost (@prakhar0x01)"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Aleksei Ivanov (@lostfany)"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "trung (@trungpv19)"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Submersion AI - Security Research Team (SRT) (@SRTSubmersionAI)"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Abdullah Kareem (@CyberKareem)"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Moath Aloufi (@m0xath)"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "@Forrof"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "@cxcsec"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Lucas Dodgson (@lucasdodgson)"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "@FlowOverFail"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "@tal2k9dev-star"
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Tal Lavi (@tlavi00)"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "@Den1al"
        },
        {
          "lang": "en",
          "type": "remediation reviewer",
          "value": "Patryk Gruszka (@patrykgruszka)"
        },
        {
          "lang": "en",
          "type": "remediation reviewer",
          "value": "John Linhart (@escopecz)"
        },
        {
          "lang": "en",
          "type": "sponsor",
          "value": "Leuchtfeuer Digital Marketing (@Leuchtfeuer)"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "A server-side template injection vulnerability exists in the Twig theme rendering sandbox of Mautic. The sandbox introduced to restrict user-uploaded theme templates (the fix for GHSA-9fx4-7cmj-47vg) does not fully enforce its restrictions, allowing a crafted theme template to escape the sandbox. An authenticated user with the core:themes:create permission can upload a malicious theme whose template is later rendered, resulting in execution of arbitrary code on the server with the privileges of the web server process. This allows the attacker to execute operating system commands, read server-side files including configuration files and database credentials, write files, and reach internal services. In default installations the core:themes:create permission is granted to the Administrator role, and in multi-operator setups it may be delegated to other roles. This is an incomplete fix for GHSA-9fx4-7cmj-47vg."
            }
          ],
          "value": "A server-side template injection vulnerability exists in the Twig theme rendering sandbox of Mautic. The sandbox introduced to restrict user-uploaded theme templates (the fix for GHSA-9fx4-7cmj-47vg) does not fully enforce its restrictions, allowing a crafted theme template to escape the sandbox. An authenticated user with the core:themes:create permission can upload a malicious theme whose template is later rendered, resulting in execution of arbitrary code on the server with the privileges of the web server process. This allows the attacker to execute operating system commands, read server-side files including configuration files and database credentials, write files, and reach internal services. In default installations the core:themes:create permission is granted to the Administrator role, and in multi-operator setups it may be delegated to other roles. This is an incomplete fix for GHSA-9fx4-7cmj-47vg."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-242",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-242 Code Injection"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-1336",
              "description": "CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-26T12:39:14.432Z",
        "orgId": "4e531c38-7a33-45d3-98dd-d909c0d8852e",
        "shortName": "Mautic"
      },
      "references": [
        {
          "url": "https://github.com/mautic/mautic/security/advisories/GHSA-h7pm-79gc-8867"
        }
      ],
      "source": {
        "advisory": "GHSA-h7pm-79gc-8867",
        "discovery": "UNKNOWN"
      },
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "There are no official workarounds. To mitigate this vulnerability without upgrading, restrict the core:themes:create permission to trusted administrator accounts only and do not delegate theme creation to operator-level roles."
            }
          ],
          "value": "There are no official workarounds. To mitigate this vulnerability without upgrading, restrict the core:themes:create permission to trusted administrator accounts only and do not delegate theme creation to operator-level roles."
        }
      ],
      "x_generator": {
        "engine": "Vulnogram 1.0.2"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "4e531c38-7a33-45d3-98dd-d909c0d8852e",
    "assignerShortName": "Mautic",
    "cveId": "CVE-2026-115189",
    "datePublished": "2026-10-26T12:39:14.432Z",
    "dateReserved": "2026-10-22T06:39:15.178Z",
    "dateUpdated": "2026-10-26T15:35:53.698Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-115189\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-26T14:47:38.169849Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-26T15:34:06.302Z\"}}], \"cna\": {\"source\": {\"advisory\": \"GHSA-h7pm-79gc-8867\", \"discovery\": \"UNKNOWN\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"AbisheikMagesh (@amagesh1)\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Jace (@manus-use)\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"@sec-reex\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Ghost (@prakhar0x01)\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Aleksei Ivanov (@lostfany)\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"trung (@trungpv19)\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Submersion AI - Security Research Team (SRT) (@SRTSubmersionAI)\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Abdullah Kareem (@CyberKareem)\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Moath Aloufi (@m0xath)\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"@Forrof\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"@cxcsec\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Lucas Dodgson (@lucasdodgson)\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"@FlowOverFail\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"@tal2k9dev-star\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Tal Lavi (@tlavi00)\"}, {\"lang\": \"en\", \"type\": \"analyst\", \"value\": \"@Den1al\"}, {\"lang\": \"en\", \"type\": \"remediation reviewer\", \"value\": \"Patryk Gruszka (@patrykgruszka)\"}, {\"lang\": \"en\", \"type\": \"remediation reviewer\", \"value\": \"John Linhart (@escopecz)\"}, {\"lang\": \"en\", \"type\": \"sponsor\", \"value\": \"Leuchtfeuer Digital Marketing (@Leuchtfeuer)\"}], \"impacts\": [{\"capecId\": \"CAPEC-242\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-242 Code Injection\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 8.8, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"repo\": \"https://github.com/mautic/mautic\", \"versions\": [{\"status\": \"affected\", \"version\": \"1.3.0\", \"lessThan\": \"5.2.12\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.0.0\", \"lessThan\": \"6.0.10\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"7.0.0\", \"lessThan\": \"7.2.2\", \"versionType\": \"semver\"}], \"packageName\": \"mautic/core\", \"collectionURL\": \"https://packagist.org\", \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://github.com/mautic/mautic/security/advisories/GHSA-h7pm-79gc-8867\"}], \"workarounds\": [{\"lang\": \"en\", \"value\": \"There are no official workarounds. To mitigate this vulnerability without upgrading, restrict the core:themes:create permission to trusted administrator accounts only and do not delegate theme creation to operator-level roles.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"There are no official workarounds. To mitigate this vulnerability without upgrading, restrict the core:themes:create permission to trusted administrator accounts only and do not delegate theme creation to operator-level roles.\", \"base64\": false}]}], \"x_generator\": {\"engine\": \"Vulnogram 1.0.2\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"A server-side template injection vulnerability exists in the Twig theme rendering sandbox of Mautic. The sandbox introduced to restrict user-uploaded theme templates (the fix for GHSA-9fx4-7cmj-47vg) does not fully enforce its restrictions, allowing a crafted theme template to escape the sandbox. An authenticated user with the core:themes:create permission can upload a malicious theme whose template is later rendered, resulting in execution of arbitrary code on the server with the privileges of the web server process. This allows the attacker to execute operating system commands, read server-side files including configuration files and database credentials, write files, and reach internal services. In default installations the core:themes:create permission is granted to the Administrator role, and in multi-operator setups it may be delegated to other roles. This is an incomplete fix for GHSA-9fx4-7cmj-47vg.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"A server-side template injection vulnerability exists in the Twig theme rendering sandbox of Mautic. The sandbox introduced to restrict user-uploaded theme templates (the fix for GHSA-9fx4-7cmj-47vg) does not fully enforce its restrictions, allowing a crafted theme template to escape the sandbox. An authenticated user with the core:themes:create permission can upload a malicious theme whose template is later rendered, resulting in execution of arbitrary code on the server with the privileges of the web server process. This allows the attacker to execute operating system commands, read server-side files including configuration files and database credentials, write files, and reach internal services. In default installations the core:themes:create permission is granted to the Administrator role, and in multi-operator setups it may be delegated to other roles. This is an incomplete fix for GHSA-9fx4-7cmj-47vg.\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-1336\", \"description\": \"CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine\"}]}], \"providerMetadata\": {\"orgId\": \"4e531c38-7a33-45d3-98dd-d909c0d8852e\", \"shortName\": \"Mautic\", \"dateUpdated\": \"2026-10-26T12:39:14.432Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-115189\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-26T15:35:53.698Z\", \"dateReserved\": \"2026-10-22T06:39:15.178Z\", \"assignerOrgId\": \"4e531c38-7a33-45d3-98dd-d909c0d8852e\", \"datePublished\": \"2026-10-26T12:39:14.432Z\", \"assignerShortName\": \"Mautic\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…