Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Twig versions from 1.0.0 before 1.12.3 are vulnerable to path traversal in the filesystem loader (Twig_Loader_Filesystem) when template names come from untrusted input. An attacker who can control a template name can include files one directory above a configured template path. Upgrade twig/twig to 1.12.3 or later. Avoid passing end-user-supplied values as template names until upgraded.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.3 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS No score.
Timeline
- 31 Oct 2026, 14:28 UTC First seen by agentprime
- 31 Oct 2026, 14:28 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-7cvr-xhm5-x998
- OSV: GHSA-7cvr-xhm5-x998
- github.com/fabpot/Twig/commit/3d19a2eed53570776af313593aaeb5ad62cf4980.diff
- github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/2013-04-08.yaml
- github.com/twigphp/Twig
- web.archive.org/web/20130511111630/http://blog.twig.sensiolabs.org/post/47461911874/security-release-twig-1-12-3-released