CVE Feed

    Dashboard / CVE / CVE-2026-46640

    CVE-2026-46640

    Twig is a template language for PHP. From 3.15.0 until 3.26.0, _self.(<string>) and import-alias dynamic attribute syntax can concatenate an attacker-controlled string into a MacroReferenceExpression name without identifier validation, causing raw PHP to be emitted into the generated template source and executed at template-load time. This issue is fixed in version 3.26.0.

    Published:Jul 14, 2026
    Last Modified:Jul 15, 2026
    EPS:Jul 14, 2026
    EPSS Score:0.00335
    CVSS Score:8.7

    Affected Products

    Vendor
    Twigphp
    Product
    Twig

    Exploits

    No exploit reference

    Related CVEs

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High