{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40909","published":"2026-04-21T20:17:03.347000Z","last_modified":"2026-10-26T21:10:00.170000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*","part":"a","vendor":"wwbn","product":"avideo","version_end_including":"29.0"}],"cpes_truncated":false,"vendors":["wwbn"],"products":["wwbn/avideo"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-6rc6-p838-686f","ecosystem":"Packagist","name":"wwbn/avideo","purl":"pkg:composer/wwbn/avideo","ranges":[{"introduced":"0","last_affected":"29.0"}],"versions":["10.4","10.8","11","11.1","11.1.1","11.5","11.6","12.4","14.3","14.3.1","14.4","18.0","21.0","22.0","24.0","25.0","26.0","29.0"],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2026-40909/","html_en":"/en/cve/CVE-2026-40909/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40909","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40909"},"untrusted":{"vendor_name":"Wwbn","product_name":"Avideo","desc_en":"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":[{"untrusted_vendor":"WWBN","untrusted_product":"AVideo","versions":[]}],"references":[{"url":"https://github.com/WWBN/AVideo/commit/57f89ffbc27d37c9d9dd727212334846e78ac21a","tags":["Patch"]},{"url":"https://github.com/WWBN/AVideo/security/advisories/GHSA-6rc6-p838-686f","tags":["Exploit","Vendor Advisory"]}]}}