Advisory record · GHSA-xw83-pwrm-9j74

Twig remote code execution in templates

CVSS 8.1 HighEPSS 0.034 · 89th percentile

Published by the GitHub Advisory Database at 14 May 2022, 02:03 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
twig/twigPackagist<1.20.01.20.0
Identifiers
GHSA-xw83-pwrm-9j74 · CVE-2015-7809 · PKSA-19rw-dqx2-75hc
Weakness (CWE)
CWE-74
Published
14 May 2022
Updated
30 May 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Twig (twig/twig) versions before 1.20.0 are vulnerable. When Sandbox mode is enabled, a remote attacker can use the _self variable in a template to execute arbitrary code. Upgrade to Twig 1.20.0 or later.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.1 High 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.034, the 89th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:29 UTC First seen by agentprime
  2. 31 Oct 2026, 14:29 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.