Skip to main content

PHP CVE-2026-33486

MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-03-23 https://github.com/roadiz/core-bundle-dev-app
6.8
CVSS 3.1 · GitHub Advisory
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

composer roadiz/documents fix: 2.3.42, 2.5.44, 2.6.28, 2.7.9

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

GitHub Advisory PRIMARY 6.8 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch released
Mar 23, 2026 - 21:45 nvd
Patch available
CVE Published
Mar 23, 2026 - 21:43 nvd
MEDIUM 6.8

DescriptionGitHub 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.

FieldDetails
Vulnerability ClassServer-Side Request Forgery (SSRF) & Local File Inclusion (LFI)
Affected ComponentRZ\Roadiz\Documents\DownloadedFile::fromUrl()
PrerequisitesAuthenticated 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
<?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

  1. Authenticate to the Roadiz Backoffice.
  2. Navigate to Documents (Media Manager).
  3. Select Add a document -> Import from URL (or trigger a Podcast sync).
  4. Supply the URL of the malicious podcast.xml file.

Step 3: Extract the Data

  1. The AbstractPodcastFinder processes the XML and feeds file:///app/.env directly into DownloadedFile::fromUrl().
  2. The Roadiz application silently reads its own .env file, creating a new "Document" arrayed with the contents of the file.
  3. The file manifests in the Media Manager grid as a broken image icon.
  4. 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 .sqlite files, 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

Why It Matters

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.

Business Impact: Moderate
Compensating Controls

Apply vendor patch. If patching is delayed: implement egress filtering, block metadata endpoints.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
4 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

pkg:composer/roadiz_documents
pkg:composer/roadiz_documents
pkg:composer/roadiz_documents
pkg:composer/roadiz_documents

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy