Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111234 Overview
CVE-2026-111234 is a local file read vulnerability in the SimplePie RSS/Atom feed parsing library through version 1.9.0. A malicious feed server can return a Location redirect header or autodiscovery link containing a file:// URL. SimplePie passes the URL to PHP's file_get_contents(), which resolves the file:// scheme and reads arbitrary files accessible to the web server process. The flaw is classified under [CWE-73: External Control of File Name or Path]. Applications that fetch untrusted feeds using SimplePie are exposed to disclosure of configuration files, credentials, and application source.
Critical Impact
Remote attackers controlling a feed URL can exfiltrate local files readable by the PHP process, including secrets and configuration data.
Affected Products
- SimplePie library versions through 1.9.0
- PHP applications that fetch user-supplied or third-party RSS/Atom feeds via SimplePie
- Downstream platforms embedding SimplePie for feed parsing or autodiscovery
Discovery Timeline
- 2026-10-15 - CVE-2026-111234 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-111234
Vulnerability Analysis
SimplePie fetches remote feeds using PHP stream wrappers. When the HTTP client follows a redirect or processes an autodiscovery <link> element, it reuses the returned URL as input to file_get_contents(). PHP's default stream wrappers include file://, so a URL such as file:///etc/passwd is resolved against the local filesystem rather than rejected. A malicious feed server returns an HTTP 3xx response with a Location: file:///path/to/secret header, or publishes an autodiscovery link pointing at a local path. SimplePie follows the redirect without validating the scheme, reads the file contents, and returns them to the calling application. The resulting disclosure depends on filesystem permissions of the PHP worker process. Common targets include wp-config.php, framework .env files, SSH keys, and session storage.
Root Cause
The root cause is missing scheme validation in SimplePie's HTTP fetch and redirect-handling paths. The library trusts the final URL returned by servers under attacker control and does not restrict acceptable schemes to http and https before invoking file_get_contents(). See the relevant File.php fetch logic, redirect handler, and Psr18Client transport.
Attack Vector
An attacker hosts a feed URL that the target application fetches. The attacker's server responds with a redirect to file:///etc/passwd or embeds a <link rel="alternate" type="application/rss+xml" href="file:///..."> tag. SimplePie follows the pointer and returns the file contents to the application, which may render, log, or reflect them. No authentication is required on the target side. A demonstration against pfSense RSS handling is published in the pfsense-rss-file-redirect proof of concept.
Detection Methods for CVE-2026-111234
Indicators of Compromise
- Outbound HTTP responses to the application containing Location: headers with a file:// scheme.
- Feed documents retrieved by the application that contain <link> or autodiscovery references using file:// URLs.
- Unexpected reads of sensitive paths such as /etc/passwd, wp-config.php, or .env by the PHP worker process shortly after outbound feed fetches.
Detection Strategies
- Inspect application logs for SimplePie fetches whose final resolved URL does not begin with http:// or https://.
- Hook or wrap file_get_contents() calls in application code to log the scheme of each URL argument.
- Correlate outbound feed requests with subsequent local file access patterns using endpoint telemetry.
Monitoring Recommendations
- Egress proxy logging of all feed fetches, including redirect chains and final URLs.
- File integrity and access monitoring on secret-bearing paths used by the web server account.
- Alerting on PHP process reads of files outside expected application directories.
How to Mitigate CVE-2026-111234
Immediate Actions Required
- Upgrade SimplePie to a release that validates URL schemes in redirects and autodiscovery, per SimplePie Pull Request #991.
- Restrict allowed feed URLs to a vetted allowlist where feasible.
- Disable the file:// stream wrapper in PHP configurations that do not require it.
Patch Information
Tracking is coordinated in SimplePie Issue #968 and the fix in Pull Request #991. Refer to the VulnCheck advisory for impact details and the upstream SimplePie repository for release availability.
Workarounds
- Wrap SimplePie fetches with a custom HTTP client that rejects non-HTTP(S) schemes on initial URLs, redirects, and discovered feed links.
- Set allow_url_fopen=Off and use a cURL-based transport that limits protocols to HTTP and HTTPS via CURLOPT_PROTOCOLS and CURLOPT_REDIR_PROTOCOLS.
- Run the PHP worker under a least-privilege account that cannot read application secrets or system files.
# Configuration example: restrict PHP stream wrappers
# php.ini
allow_url_fopen = Off
allow_url_include = Off
disable_functions = ""
# Disable the file:// wrapper for the request lifecycle
# in application bootstrap:
# stream_wrapper_unregister('file'); // only if application does not need local file reads via streams
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

