Skip to main content

WWBN AVideo CVE-2026-40909

| EUVDEUVD-2026-24288 MEDIUM
Path Traversal (CWE-22)
2026-04-21 GitHub_M GHSA-6rc6-p838-686f
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Social-engineer admin to visit malicious page
  2. Delivery
    Browser auto-submits CSRF form to locale/save.php
  3. Exploit
    Traversal payload writes PHP shell to web root
  4. Execution
    Access shell URL to execute commands
  5. Impact
    Establish persistent backdoor or exfiltrate data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authenticated session with administrator privileges (PR:H), but effectively bypassable via CSRF attack against admin users. Specific prerequisites: victim AVideo instance must use SameSite=None cookie configuration (default in versions ≤29.0) AND attacker must social-engineer an authenticated admin to visit malicious cross-origin page while logged into AVideo, OR attacker must possess stolen/hijacked admin credentials. The locale/save.php endpoint must be network-accessible to the attacker or their CSRF victim. No non-default configuration required - vulnerability exists in standard installations. Exploitation is limited to write locations where the web server process has filesystem write permissions, typically the AVideo installation directory and system temp paths. User interaction is required only for CSRF attack chain; direct exploitation with stolen admin credentials requires no user interaction (UI:N per CVSS).

Impact

Real-world risk assessment reveals moderate-to-high priority depending on deployment context. CVSS 8.7 (AV:N/AC:L/PR:H/UI:N/S:C) accurately reflects network-based attack vector with low complexity but requires high privileges (admin access). The Changed scope indicates impact beyond the vulnerable component. However, the CSRF vector significantly lowers the effective privilege barrier - any attacker who can social-engineer an admin to visit a malicious page can trigger exploitation without stolen credentials. No EPSS score or CISA KEV listing provided, suggesting limited evidence of active exploitation at time of analysis. Publicly available exploit code exists (PoC implicit in detailed GitHub Security Advisory GHSA-6rc6-p838-686f). Priority should be elevated for internet-facing AVideo deployments where admin sessions may be exposed to CSRF attacks, but reduced for internal deployments with strict admin access controls and network segmentation. The combination of path traversal + arbitrary file write + PHP execution makes this a genuine RCE risk, not merely a file disclosure issue.

Exploit ScenarioDerived

An attacker crafts a malicious HTML page containing a hidden form that POSTs to the victim's AVideo instance at /locale/save.php with flag=../../../../../../var/www/html/shell.php and code containing PHP backdoor code. When an authenticated AVideo administrator visits the attacker's page, their browser automatically submits the form with their admin session cookies due to SameSite=None. The vulnerable endpoint writes the PHP shell to the web root without path validation. The attacker then accesses /shell.php directly via HTTP to execute arbitrary system commands as the web server user. Publicly available exploit code exists per GitHub Security Advisory GHSA-6rc6-p838-686f.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 21, 2026

Path traversal in WWBN AVideo 29.0 and earlier allows authenticated administrators (or CSRF-tricked admins) to write arbitrary PHP files anywhere on the server filesystem, achieving remote code execution. The locale save endpoint fails to sanitize the 'flag' parameter used in file path construction and lacks CSRF protection despite SameSite=None cookies, enabling straightforward exploitation by lower-privilege attackers who chain CSRF against admin sessions. Upstream fix committed to GitHub (57f89ffb) but released patched version not independently confirmed. CVSS 8.7 reflects high impact but requires privileged access - real-world risk depends heavily on admin session hijacking opportunities.

RemediationAI

Apply the upstream fix by updating to a version incorporating commit 57f89ffbc27d37c9d9dd727212334846e78ac21a, available at https://github.com/WWBN/AVideo/commit/57f89ffbc27d37c9d9dd727212334846e78ac21a. Note that a vendor-tagged release version incorporating this fix is not independently confirmed at time of analysis - verify current version status with WWBN project before deployment. If immediate patching is not feasible, implement compensating controls: restrict access to locale/save.php to localhost-only via web server configuration (e.g., Apache 'Require ip 127.0.0.1' or nginx 'allow 127.0.0.1; deny all;'), recognizing this breaks remote administration workflows. Alternatively, implement application firewall rules blocking requests with '../' or absolute path characters in the 'flag' parameter, though this may be bypassable via URL encoding. Deploy CSRF tokens site-wide and change cookie SameSite attribute from None to Strict, accepting that this breaks legitimate cross-origin admin workflows. Monitor web server logs for POST requests to locale/save.php with unusual 'flag' values or from unexpected source IPs.

Affected VersionsENISA

AVideo ≤ 29.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 exists in the locale/save.php endpoint of WWBN AVideo, an open-source video streaming platform written in PHP. The code directly concatenates unsanitized user input from $_POST['flag'] into a file path construction (line 30), then writes arbitrary content from $_POST['code'] to that path via fwrite() (line 40). This constitutes a classic CWE-22 (Path Traversal) weakness that escalates to arbitrary file write. The absence of CSRF token validation combined with SameSite=None cookie attributes creates a CSRF exposure, allowing attackers to exploit this via cross-site requests against authenticated admin sessions. The affected product is identified by CPE cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:* covering all versions through 29.0. PHP's fwrite() function will create executable .php files with attacker-controlled content at traversal-specified locations, enabling immediate code execution when accessed via web request.

Know when Avideo 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

NVD PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

3
Severity Changed
Oct 26, 2026 - 21:23 NVD
HIGH MEDIUM
CVSS changed
Oct 26, 2026 - 21:23 NVD
8.7 (HIGH) 6.5 (MEDIUM)
CVE Published
Apr 21, 2026 - 19:54 nvd
HIGH 8.7

DescriptionNVD

WWBN AVideo is an open source video platform. In versions 29.0 and prior, the locale save endpoint (locale/save.php) constructs a file path by directly concatenating $_POST['flag'] into the path at line 30 without any sanitization. The $_POST['code'] parameter is then written verbatim to that path via fwrite() at line 40. An admin attacker (or any user who can CSRF an admin, since no CSRF token is checked and cookies use SameSite=None) can traverse out of the locale/ directory and write arbitrary .php files to any writable location on the filesystem, achieving Remote Code Execution. Commit 57f89ffbc27d37c9d9dd727212334846e78ac21a fixes the issue.

Threat Intelligence Overview

EPSS Score
0.1%
Top 72% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA 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.1%
Patch available No
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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

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

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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

More in Avideo

View all
CVE-2023-48728 CRITICAL POC
9.6 Jan 10

A cross-site scripting (xss) vulnerability exists in the functiongetOpenGraph videoName functionality of WWBN AVideo 11.

CVE-2024-31819 CRITICAL POC
9.8 Apr 10

An issue in WWBN AVideo v.12.4 through v.14.2 allows a remote attacker to execute arbitrary code via the systemRootPath

CVE-2022-30547 CRITICAL POC
9.9 Aug 22

A directory traversal vulnerability exists in the unzipDirectory functionality of WWBN AVideo 11.6 and dev master commit

CVE-2023-49599 CRITICAL POC
9.8 Jan 10

An insufficient entropy vulnerability exists in the salt generation functionality of WWBN AVideo dev master commit 15fed

CVE-2026-28501 CRITICAL POC
9.8 Mar 06

Unauthenticated SQL injection in AVideo before 24.0.

CVE-2023-25313 CRITICAL POC
9.8 Apr 25

OS injection vulnerability in World Wide Broadcast Network AVideo version before 12.4, allows attackers to execute arbit

CVE-2022-26842 CRITICAL POC
9.6 Aug 22

A reflected cross-site scripting (xss) vulnerability exists in the charts tab selection functionality of WWBN AVideo 11.

CVE-2023-47861 CRITICAL POC
9.0 Jan 10

A cross-site scripting (xss) vulnerability exists in the channelBody.php user name functionality of WWBN AVideo 11.6 and

CVE-2022-28712 CRITICAL POC
9.0 Aug 22

A cross-site scripting (xss) vulnerability exists in the videoAddNew functionality of WWBN AVideo 11.6 and dev master co

CVE-2023-49589 HIGH POC
8.8 Jan 10

An insufficient entropy vulnerability exists in the userRecoverPass.php recoverPass generation functionality of WWBN AVi

CVE-2023-32073 HIGH POC
8.8 May 12

WWBN AVideo is an open source video platform. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable

CVE-2023-30854 HIGH POC
8.8 Apr 28

AVideo is an open source video platform. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, low

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