CVE-2026-40909: WWBN AVideo has a Path Traversal in Locale Save Endpoint that Enables Arbitrary PHP File Write to Any Web-Accessible Directory (RCE)
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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-40909?
CVE-2026-40909 is considered a critical vulnerability due to its potential for Remote Code Execution (RCE).
How do I fix CVE-2026-40909?
To fix CVE-2026-40909, update to a version of WWBN AVideo later than 29.0 that addresses the path traversal issue.
What kind of attack does CVE-2026-40909 allow?
CVE-2026-40909 allows attackers to execute arbitrary PHP code by exploiting a path traversal vulnerability in the locale save endpoint.
Which versions of WWBN AVideo are affected by CVE-2026-40909?
CVE-2026-40909 affects all versions of WWBN AVideo up to and including 29.0.
What is the impact of exploiting CVE-2026-40909?
Exploiting CVE-2026-40909 can lead to unauthorized file writing and possible execution of malicious code on the server.