CVE-2026-33486: Roadiz/documents Roadiz Has Server-Side Request Forgery Vulnerability

MODERATE
Advisory Identifier: GHSA-rc55-58f4-687g
CVSS 6.8
CWE-918
Published
Advisory Summary

CVE-2026-33486 is a MODERATE (CVSS 6.8) roadiz has server-side request forgery vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Roadiz/documents libraries in the Packagist ecosystem. The issue involves roadiz has server-side request forgery (ssrf) in roadiz/documents. Remediation is available by upgrading affected packages to version 2.7.9, 2.6.28, 2.5.44, 2.3.42.

CVE-2026-33486 at a Glance

CVE Identifier CVE-2026-33486
GHSA Identifier GHSA-rc55-58f4-687g
Severity MODERATE
CVSS v3.1 Base Score 6.8
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Roadiz/documents
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-33486

To remediate this vulnerability, upgrade all affected Roadiz/documents dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

roadiz/documents fixed: 2.7.9
Upgrade roadiz/documents to 2.7.9
roadiz/documents fixed: 2.6.28
Upgrade roadiz/documents to 2.6.28
roadiz/documents fixed: 2.5.44
Upgrade roadiz/documents to 2.5.44
roadiz/documents fixed: 2.3.42
Upgrade roadiz/documents to 2.3.42
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for roadiz/documents

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-33486, inspect your project dependencies for Roadiz/documents:

inspect dependencies for roadiz/documents

Analyze the terminal output to locate any version of Roadiz/documents in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.9), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Roadiz/documents, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

CVE-2026-33486 Affected Roadiz/documents Versions

4 component(s)
Fixed Versions:
2.7.92.6.282.5.442.3.42
Product / Package Ecosystem Affected Versions Fixed Version
roadiz/documents
Packagist
≥ 2.7.0
< 2.7.9
2.7.9
roadiz/documents
Packagist
≥ 2.6.0
< 2.6.28
2.6.28
roadiz/documents
Packagist
≥ 2.4.0
< 2.5.44
2.5.44
roadiz/documents
Packagist
< 2.3.42
2.3.42

References

Frequently Asked Questions

What is CVE-2026-33486?
CVE-2026-33486 is a security vulnerability in Roadiz/documents involving Roadiz has Server-Side Request Forgery (SSRF) in roadiz/documents under CWE-918: Server-Side Request Forgery (SSRF).
Which Roadiz/documents versions are affected?
Affected versions include releases prior to 2.7.9, 2.6.28, 2.5.44, 2.3.42 across affected packages: roadiz/documents.
What version fixes CVE-2026-33486?
Upgrading to 2.7.9, 2.6.28, 2.5.44, 2.3.42 (or the latest patched release for your respective branch) resolves the vulnerability.
Is roadiz/documents affected?
Yes, roadiz/documents is affected in releases prior to 2.7.9, 2.6.28, 2.5.44, 2.3.42. Upgrade your dependency to 2.7.9, 2.6.28, 2.5.44, 2.3.42 or later.
What is the CVSS score of CVE-2026-33486?
CVE-2026-33486 has a CVSS v3.1 base score of 6.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2026-33486?
CVE-2026-33486 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check Packagist dependencies for CVE-2026-33486?
Run the dependency tree command: 'inspect dependencies for roadiz/documents'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-rc55-58f4-687g",
  "modified" : "2026-03-27T21:00:11Z",
  "published" : "2026-03-23T21:43:14Z",
  "aliases" : [ "CVE-2026-33486" ],
  "summary" : "Roadiz has Server-Side Request Forgery (SSRF) in roadiz/documents",
  "details" : "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.\n\n| Field | Details |\n| :--- | :--- |\n| **Vulnerability Class** | Server-Side Request Forgery (SSRF) & Local File Inclusion (LFI) |\n| **Affected Component** | `RZ\\Roadiz\\Documents\\DownloadedFile::fromUrl()` |\n| **Prerequisites** | Authenticated user with `ROLE_ACCESS_DOCUMENTS` |\n\n## Technical Description\n\nThe 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.\n\nInside `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.\n\n##  The Flaw\n\nThe `$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.\n\n---\n\n## Proof of Concept (PoC)\n\nTo reliably reproduce this vulnerability without requiring a live external URL, the attacker simply mimics the behavior of the Podcast importer manipulating the internal system.\n\n### Step 1: Craft the Malicious Payload\nThe 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:\n\n```xml\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<rss version=\"2.0\" xmlns:itunes=\"http://www.itunes.com/dtds/podcast-1.0.dtd\">\n  <channel>\n    <title>Roadiz LFI Exploit</title>\n    <!-- Payload triggers the local filesystem fetch via PHP streams -->\n    <itunes:image href=\"file:///app/.env\" /> \n  </channel>\n</rss>\n```\n\n### Step 2: Exploit the CMS\n1. Authenticate to the Roadiz Backoffice.\n2. Navigate to **Documents (Media Manager)**.\n3. Select **Add a document** -> **Import from URL** (or trigger a Podcast sync).\n4. Supply the URL of the malicious `podcast.xml` file.\n\n### Step 3: Extract the Data\n1. The `AbstractPodcastFinder` processes the XML and feeds `file:///app/.env` directly into `DownloadedFile::fromUrl()`.\n2. The Roadiz application silently reads its own `.env` file, creating a new \"Document\" arrayed with the contents of the file.\n3. The file manifests in the Media Manager grid as a broken image icon.\n4. The attacker actively downloads the newly generated Document from the dashboard, successfully extracting the framework's internal API keys, database credentials, and `APP_SECRET`.\n\n---\n\n## Impact Analysis\n\nExploitation of this vulnerability results in a total loss of **Confidentiality** for the web application and underlying operating system. \n\n- **Application Compromise:** An attacker can retrieve `.env`, `security.yaml`, or database `.sqlite` files, leading to complete horizontal and vertical privilege escalation.\n- **System Enumeration:** The attacker can read `/etc/passwd`, enumerating system users in preparation for lateral movement.\n- **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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "roadiz/documents"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.0"
      }, {
        "fixed" : "2.7.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "roadiz/documents"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.6.0"
      }, {
        "fixed" : "2.6.28"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "roadiz/documents"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.4.0"
      }, {
        "fixed" : "2.5.44"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "roadiz/documents"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.3.42"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/roadiz/core-bundle-dev-app/security/advisories/GHSA-rc55-58f4-687g"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-33486"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/roadiz/core-bundle-dev-app/commit/7904f690a51b88b1c72c02149ebdf85fa81f19f2"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/roadiz/core-bundle-dev-app"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-23T21:43:14Z",
    "nvd_published_at" : "2026-03-26T18:16:29Z"
  }
}