{"items":[{"id":"NVI-00002662","kind":"vulnerability","title":"Twig Path Traversal vulnerability in the filesystem loader","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-7cvr-xhm5-x998"],"plain_summary":"OSV carries this publisher advisory for twig/twig. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 1.12.3 for twig/twig. Confirm the publisher’s latest guidance.","source_ids":["sr-21afa21a5dc9b919039aacd9a547d69d"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-21afa21a5dc9b919039aacd9a547d69d","url":"https://github.com/advisories/GHSA-7cvr-xhm5-x998","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-7cvr-xhm5-x998","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.948Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-21afa21a5dc9b919039aacd9a547d69d"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"Twig is affected by path traversal vulnerability when used with Twig_Loader_Filesystem for loading Twig templates but only if the application is using non-trusted template names (names provided by a end-user for instance).\n\nWhen affected, it is possible to go up one directory for the paths configured in the application's loader.\n\nFor instance, if the filesystem loader is configured with /path/to/templates as a path to look for templates, an attacker can force Twig to include a file stored in /path/to by prepending the path with /../ like in {% include \"/../somefile_in_path_to\" %}\n\nNote that using anything else (like ../somefile, /../../somefile, or ../../somefile) won’t work and the application will return a proper exception.\n","public_affected_ranges":["ECOSYSTEM: introduced 1.0.0; fixed 1.12.3"]}],"null_published_at":"2026-10-31T22:00:33.898Z","source_updated_at":"2024-12-05T05:41:41.920Z","source_disclosed_at":"2024-05-30T13:42:49.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:59.948Z"}],"next_cursor":null,"snapshot_revision":"42594"}