PHP
CVE-2026-33486
MEDIUM
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents a critical real-world risk despite a CVSS score of 6.8, which underestimates the actual impact due to the high-privilege requirement being offset by the severity of what can be disclosed. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N) correctly identifies network-accessible exploitation with no user interaction required, but the PR:H (high privilege) modifier reflects the requirement for ROLE_ACCESS_DOCUMENTS authentication. However, the C:H (high confidentiality impact) and S:C (scope change) ratings underscore that this is not merely a low-severity information disclosure: the attacker can extract database credentials, API keys, and application secrets, enabling complete account takeover and privilege escalation. The availability of a working proof-of-concept and the straightforward nature of the exploitation vector (manipulating RSS feed content) increase practical exploitability. From an SSVC perspective, this meets criteria for remediation prioritization: exploitation is now functional (POC exists), the attack surface is automatable (any authenticated user can trigger media imports), and the technical impact is total (confidentiality loss of secrets). If the application is deployed in cloud environments (AWS, Azure, GCP), the SSRF component can be chained to access metadata endpoints (169.254.169.254), escalating this to infrastructure-level compromise. Organizations running unpatched Roadiz instances with public authentication portals face immediate risk. |
| Exploit ScenarioDerived | An authenticated Roadiz CMS operator (or attacker with stolen ROLE_ACCESS_DOCUMENTS credentials) navigates to the Media Manager and initiates a Podcast import, providing a malicious RSS feed URL hosted on attacker-controlled infrastructure. The RSS feed contains an itunes:image href attribute set to file:///app/.env. The Roadiz backend parses the XML, extracts this URL, and passes it to DownloadedFile::fromUrl() without validation. PHP's fopen() interprets the file:// scheme and reads the .env file from the server's local filesystem, copying its contents (including DATABASE_URL, APP_SECRET, and other credentials) into the temporary directory and subsequently into the Media Library. The attacker then downloads the newly created media item, extracting all sensitive configuration data. This attack is fully automatable and requires only network-level access to the CMS authentication portal; no additional exploits or physical access are needed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 23, 2026
This vulnerability in Roadiz's DownloadedFile::fromUrl() method allows authenticated users with ROLE_ACCESS_DOCUMENTS to read arbitrary files from the server via PHP stream wrapper abuse, specifically by injecting file:// URIs into media import workflows. An attacker can extract sensitive files including .env configuration files, database credentials, and system files, achieving complete confidentiality compromise of the application and potentially the underlying infrastructure. A proof-of-concept exists demonstrating exploitation through malicious Podcast RSS feeds, and a patch is available from the vendor.
RemediationAI
Immediately apply the security patch provided by the Roadiz vendor, available at commit 7904f690a51b88b1c72c02149ebdf85fa81f19f2 on the core-bundle-dev-app repository (https://github.com/roadiz/core-bundle-dev-app). The patch implements schema validation in DownloadedFile::fromUrl() to restrict accepted URI schemes to http:// and https://, blocking file://, gopher://, and other dangerous protocols. Until patching is feasible, implement defense-in-depth by disabling PHP stream wrapper functionality via php.ini (allow_url_fopen = Off, allow_url_include = Off), restricting ROLE_ACCESS_DOCUMENTS to trusted internal administrators only, and placing network egress filtering on the web server process to prevent outbound connections to sensitive internal ranges (127.0.0.0/8, 169.254.169.254/32 if cloud-deployed). Additionally, conduct an audit of all recently imported media documents and any .env or configuration files that may have been exfiltrated; rotate all exposed credentials immediately.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the Roadiz CMS (affected package: pkg:composer/roadiz_documents) where the DownloadedFile::fromUrl() method processes URLs passed from MediaFinder implementations without schema validation or sanitization before passing them to PHP's fopen() function. PHP's stream wrapper functionality, when enabled (the default configuration), allows fopen() and related functions to handle multiple URI schemes including file://, http://, and others. The root cause is classified under CWE-918 (Server-Side Request Forgery), combined with Local File Inclusion techniques. When an attacker-controlled URL containing a file:// scheme is supplied—such as file:///app/.env or file:///etc/passwd—PHP seamlessly interprets this as a local filesystem read operation rather than a remote network request, bypassing intended security boundaries. This occurs because the application trusts URL inputs from RSS feed parsing and OEmbed provider integrations without verifying that they conform to safe schemas like http:// or https://.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
This vulnerability allows an authenticated attacker to read any file on the server's local file system that the web server process has access to, including highly sensitive environment variables, database credentials, and internal configuration files.
| Field | Details |
|---|---|
| Vulnerability Class | Server-Side Request Forgery (SSRF) & Local File Inclusion (LFI) |
| Affected Component | RZ\Roadiz\Documents\DownloadedFile::fromUrl() |
| Prerequisites | Authenticated user with ROLE_ACCESS_DOCUMENTS |
Technical Description
The Roadiz backend features tools for importing external media, such as compiling cover art from Podcast RSS Feeds or OEmbed providers. This feature is handled by various MediaFinders, which ultimately pass the extracted media URLs to the DownloadedFile::fromUrl(string $url) parsing mechanism.
Inside fromUrl(), the application uses PHP's native fopen() function to fetch the remote resource and copy it into the local temporary directory before injecting it into the Flysystem Documents storage.
The Flaw
The $url parameter is passed to fopen *without any schema validation or sanitization*. In PHP, when stream wrappers are enabled, functions like fopen do not restrict operations to HTTP streams. If a file:// scheme is supplied, PHP seamlessly converts the operation into a local file system read. Because an attacker tightly controls the XML feed (e.g., from a Podcast integration), they can inject a file:// URI, forcing the CMS to "download" internal system files directly into the publicly accessible Media Library.
---
Proof of Concept (PoC)
To reliably reproduce this vulnerability without requiring a live external URL, the attacker simply mimics the behavior of the Podcast importer manipulating the internal system.
Step 1: Craft the Malicious Payload
The attacker creates a standard Podcast RSS XML feed (podcast.xml) and hosts it externally (or on an internal network reachable by the CMS). Inside this XML, the href attribute for the podcast thumbnail is weaponized to target a sensitive system file:
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
<channel>
<title>Roadiz LFI Exploit</title>
<!-- Payload triggers the local filesystem fetch via PHP streams -->
<itunes:image href="file:///app/.env" />
</channel>
</rss>Step 2: Exploit the CMS
- Authenticate to the Roadiz Backoffice.
- Navigate to Documents (Media Manager).
- Select Add a document -> Import from URL (or trigger a Podcast sync).
- Supply the URL of the malicious
podcast.xmlfile.
Step 3: Extract the Data
- The
AbstractPodcastFinderprocesses the XML and feedsfile:///app/.envdirectly intoDownloadedFile::fromUrl(). - The Roadiz application silently reads its own
.envfile, creating a new "Document" arrayed with the contents of the file. - The file manifests in the Media Manager grid as a broken image icon.
- The attacker actively downloads the newly generated Document from the dashboard, successfully extracting the framework's internal API keys, database credentials, and
APP_SECRET.
---
Impact Analysis
Exploitation of this vulnerability results in a total loss of Confidentiality for the web application and underlying operating system.
- Application Compromise: An attacker can retrieve
.env,security.yaml, or database.sqlitefiles, leading to complete horizontal and vertical privilege escalation. - System Enumeration: The attacker can read
/etc/passwd, enumerating system users in preparation for lateral movement. - Cloud Environment Compromise: If deployed within AWS, Azure, or GCP, the SSRF vector can be pivoted to read internal cloud metadata endpoints (e.g.,
http://169.254.169.254/latest/meta-data/), allowing the attacker to steal Root IAM roles globally compromising the victim's infrastructure.
Executive ViewAI
Organizations using This vulnerability should be aware of notable risk from CVE-2026-33486, a server-side request forgery vulnerability rated CVSS 6.8. Users could be tricked into performing unintended actions. A patch is available and should be applied during regular vulnerability management.
Apply vendor patch. If patching is delayed: implement egress filtering, block metadata endpoints.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Affected Products (CPE)GitHub Advisory
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB