{
  "id": "CVE-2026-48808",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-48808",
  "published_at": "2026-07-14T21:27:21.812Z",
  "title": "Twig: Sandbox property allowlist bypass via the `column` filter under `SourcePolicyInterface`",
  "vendor": "twigphp",
  "product": "Twig",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "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": "Twig is a template language for PHP. Prior to 3.27.0, the column filter passes the active sandbox state as a boolean but does not forward the current Source to SandboxExtension::checkPropertyAllowed(), so SourcePolicyInterface decisions are lost and a template author can read public or magic properties not allowed by the sandbox policy. This issue is fixed in version 3.27.0.",
  "cwe": "CWE-693",
  "cpes": [
    "cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "twigphp",
        "product": "Twig",
        "ranges": [
          "\u003c 3.27.0"
        ],
        "fixed_in": [
          "3.27.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Twig to 3.27.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/twigphp/Twig/security/advisories/GHSA-h8vq-8gpg-mhcg"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/twigphp/Twig/commit/09c6706407ed7b1cb2d7d1408004f811e47e0424"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/twigphp/Twig/releases/tag/v3.27.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
