# GHSA-R7F2-VRPQ-8XHM: RCE via unsandboxed Twig rendering when "parseTwig" is enabled

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2026-08-10
- Modified: 2026-08-10

## Affected versions

- craftcms/feed-me (Packagist): from 6.0.0, fixed in 6.14.0
- craftcms/feed-me (Packagist): from 5.0.0, fixed in 5.15.0

## Description

The plugin has a `parseTwig` configuration that allows parsing and rendering Twig from the fetched feed data. When enabled, the plugin passes every fetched field value that contains a `{` character to `View::renderObjectTemplate()` for Twig rendering. `renderObjectTemplate()` does not enable Craft’s Twig sandbox - the sandboxed variant `renderSandboxedObjectTemplate()` is not called. An admin who enables `parseTwig=true` and runs a feed with attacker-controlled data achieves RCE on the server.

The attack works even with `CRAFT_ENABLE_TWIG_SANDBOX=true`.

The attack vector is straightforward. A control panel user creates a feed whose feed URL points to an attacker-controlled HTTP server. The attacker returns JSON/CSV/XML with field values that contain a Twig payload. When the feed runs, the payload is rendered unsandboxed.

## Impact

A control panel user with feed-me access achieves RCE. Operators who rely on the default sandbox config for protection are exposed whenever an admin enables parseTwig on any feed.

## References

- https://github.com/craftcms/feed-me/security/advisories/GHSA-r7f2-vrpq-8xhm

Page: https://cve.now/GHSA-R7F2-VRPQ-8XHM

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
