Skip to main content

PHP CVE-2026-33766

| EUVDEUVD-2026-16652 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-03-26 https://github.com/WWBN/AVideo
5.3
CVSS 4.0 · Vendor: https://github.com/WWBN/AVideo
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 elevated real-world risk despite the absence of a CVSS vector in the provided data. Exploitation requires authentication (PR:L - users with upload and edit permissions), which moderates but does not eliminate risk in multi-tenant or community-driven deployments where such permissions are commonly granted. The attack vector is network-based (AV:N), follows an unauthenticated initial request that triggers authenticated-only functionality, and technical complexity is low (UC:L) - attackers need only host a simple HTTP redirect server. The existence of a publicly available proof-of-concept demonstrating metadata service access (AWS IMDSv1, GCP, Azure) elevates exploitation probability; this is not a theoretical vulnerability but a demonstrated bypass of existing SSRF mitigations. SSVC assessment factors favor remediation: exploitation is PoC-available (Proof-of-Concept), the technical impact spans confidentiality (metadata disclosure) and potentially integrity (if internal APIs are writable), and automatable impact is high (cloud metadata is automatically harvestable). The fact that upstream maintainers have released a patch confirms vendor acknowledgment of severity. This is a high-priority vulnerability for any WWBN AVideo instance exposed to users or federated content sources.

Exploit ScenarioDerived

An authenticated user with upload and edit permissions (or a compromised account with such permissions) submits an image download request to aVideoEncoderReceiveImage.json.php with downloadURL_image parameter set to https://attacker.com/redir. The attacker's server responds with HTTP 302 Location: http://169.254.169.254/latest/meta-data/. The isSSRFSafeURL() function resolves attacker.com to a public IP address and allows the request, but url_get_contents() follows the 302 redirect transparently without re-validation, sending a request to the AWS instance metadata service. The attacker thereby obtains IAM credentials, security group information, or other sensitive metadata that would normally be inaccessible from outside the cloud infrastructure. Proof-of-concept code demonstrating this redirect chain is publicly available.

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 26, 2026

PHP applications using the affected functions fail to re-validate redirect targets during HTTP requests, allowing attackers to bypass SSRF protections by chaining a legitimate public URL with a redirect to internal resources. An attacker can exploit this weakness in endpoints that fetch remote content after initial URL validation, potentially gaining access to private IP ranges and internal services. A patch is available.

Earlier versions of this analysis (1)
v1 Mar 26, 2026 - 18:15 CVSS 5.3

WWBN AVideo's image download functionality in aVideoEncoderReceiveImage.json.php bypasses Server-Side Request Forgery (SSRF) protection by following HTTP redirects without re-validating the target URL. An authenticated attacker with upload and edit permissions can redirect requests from a public domain to internal IP ranges (such as AWS IMDSv1 at 169.254.169.254) to extract sensitive metadata or access internal services. The vulnerability affects pkg:composer/wwbn_avideo and exploits a time-of-check-time-of-use (TOCTOU) weakness where isSSRFSafeURL() validates only the initial hostname while url_get_contents() follows Location headers without re-validation. Publicly available exploit code exists demonstrating metadata service access.

RemediationAI

Upgrade WWBN AVideo to a patched version released after commit 8b7e9dad359d5fac69e0cbbb370250e0b284bc12. Until patching is completed, enforce network-level mitigations by restricting outbound connections from the AVideo application to only external, public IP ranges via egress firewall rules or Web Application Firewall (WAF) policies that block redirects to RFC 1918 addresses (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and link-local ranges (169.254.0.0/16). Additionally, restrict the upload and edit permissions for image download functionality to trusted administrators only, reducing the attack surface to authenticated threat actors. The upstream fix implements manual redirect handling with re-validation of final URLs against the isSSRFSafeURL() check or disables automatic redirect following (follow_location=0) and implements safe redirect handling in application code. Refer to the GitHub security advisory (https://github.com/WWBN/AVideo/security/advisories/GHSA-f359-r3pv-2phf) for specific patched versions and timeline.

Affected VersionsENISA

AVideo ≤ 26.0

Affected Packages

composer wwbn/avideo no fix
euvd avideo no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a Server-Side Request Forgery (CWE-918) that results from improper redirect handling in PHP URL fetching. WWBN AVideo (pkg:composer/wwbn_avideo) implements SSRF protection at check-time via isSSRFSafeURL() in objects/functions.php:4066, which resolves hostnames and validates against private/reserved IP ranges before initiating requests. However, url_get_contents() at objects/functions.php:1990 uses PHP's file_get_contents() with default stream context settings that follow HTTP redirects (follow_location=1) without re-validating the final redirect target against the same IP range restrictions. The wget fallback at line 2047 also follows redirects by default. Only the curl code path correctly avoids this issue by not setting CURLOPT_FOLLOWLOCATION. The affected endpoint aVideoEncoderReceiveImage.json.php (lines 67-68, 107-108, 135-136, 160-161) accepts user-supplied downloadURL_image parameters that trigger this validation-then-fetch pattern, creating a classic TOCTOU race condition across the check and use phases.

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

Vendor (https://github.com/WWBN/AVideo) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/WWBN/AVideo) · only source for this CVE.

CVSS VectorVendor: https://github.com/WWBN/AVideo

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Mar 26, 2026 - 18:15 nvd
Patch available
CVE Published
Mar 26, 2026 - 18:10 nvd
MEDIUM 5.3

DescriptionCVE.org

Summary

isSSRFSafeURL() validates URLs against private/reserved IP ranges before fetching, but url_get_contents() follows HTTP redirects without re-validating the redirect target. An attacker can bypass SSRF protection by redirecting from a public URL to an internal target.

Root Cause

Check-time: isSSRFSafeURL() at objects/functions.php:4066 resolves the hostname and validates the IP.

Use-time: url_get_contents() at objects/functions.php:1990 calls file_get_contents() with PHP's default follow_location=1 - redirects are followed without re-validation. The wget fallback at line 2047 also follows redirects by default.

Affected endpoint: objects/aVideoEncoderReceiveImage.json.php at lines 67-68, 107-108, 135-136, 160-161:

php
if (isValidURL($_REQUEST['downloadURL_image']) && isSSRFSafeURL($_REQUEST['downloadURL_image'])) {
    $content = url_get_contents($_REQUEST['downloadURL_image']);

Proof of Concept

  1. Attacker sets up https://attacker.com/redir to respond with 302 Location: http://169.254.169.254/latest/meta-data/
  2. Authenticated user (with upload+edit permissions) triggers image download:
GET /objects/aVideoEncoderReceiveImage.json.php?downloadURL_image=https://attacker.com/redir&...
  1. isSSRFSafeURL() resolves attacker.com → public IP → passes validation
  2. url_get_contents() follows 302 redirect to 169.254.169.254 → SSRF

Impact

  • Cloud metadata access (AWS IMDSv1, GCP, Azure)
  • Internal network service access
  • Bypasses the existing SSRF protection that was added to prevent exactly this class of attack

Note

The curl path in url_get_contents() does NOT set CURLOPT_FOLLOWLOCATION so it is not affected. Only the file_get_contents and wget fallback paths are vulnerable.

Suggested Fix

Set follow_location to 0 in the stream context and handle redirects manually with re-validation, or add isSSRFSafeURL() check inside url_get_contents() after resolving the final URL.

Executive ViewAI

Why It Matters

CVE-2026-33766 presents moderate security risk, a server-side request forgery vulnerability rated CVSS 5.3. Users could be tricked into performing unintended actions. A patch is available and should be applied during regular vulnerability management.

Business Impact: Low
Compensating Controls

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

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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.

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