# GHSA-XHCC-J4VQ-7QVH: Arbitrary file read and SSRF via unrestricted feed URL

- 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’s `DataTypes::getRawData()` method reads a URL or a local path supplied by the user without validating the destination. The method resolves the path/url through `Craft::getAlias($url)`, checks if the resolved path exists, and reads it with `file_get_contents()`. If the path is not a local file, the same method falls through to a Guzzle client and fetches the URL over the network.

A control panel user with Feed Me access can therefore supply arbitrary local paths (e.g., @root/.env, \etc\passwd), resulting in the reading of arbitrary files or in any internal/external URL leading to Server-Side Request Forgery (SSRF). This includes access to cloud instance metadata endpoints, which can lead to further compromise.

Although local file imports are a documented feature, the plugin imposes no path restrictions or allowlisting to prevent reading sensitive files outside intended data directories. The CSV parser is particularly effective for exfiltration, as it is very permissive of input formats.

## Required Permissions
* Access the control panel
* Access Feed Me

## Impact

The attacker can reach internal services and cloud metadata endpoints.

## References

- https://github.com/craftcms/feed-me/security/advisories/GHSA-xhcc-j4vq-7qvh

Page: https://cve.now/GHSA-XHCC-J4VQ-7QVH

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