{"id":"CVE-2026-33681","summary":"AVideo has Path Traversal in pluginRunDatabaseScript.json.php Enables Arbitrary SQL File Execution via Unsanitized Plugin Name","details":"WWBN AVideo is an open source video platform. In versions up to and including 26.0, the `objects/pluginRunDatabaseScript.json.php` endpoint accepts a `name` parameter via POST and passes it to `Plugin::getDatabaseFileName()` without any path traversal sanitization. This allows an authenticated admin (or an attacker via CSRF) to traverse outside the plugin directory and execute the contents of any `install/install.sql` file on the filesystem as raw SQL queries against the application database. Commit 81b591c509835505cb9f298aa1162ac64c4152cb contains a patch.","aliases":["GHSA-3hwv-x8g3-9qpr"],"modified":"2026-04-10T05:42:53.922383Z","published":"2026-03-23T18:39:33.513Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33681.json","cwe_ids":["CWE-22"],"cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33681.json"},{"type":"FIX","url":"https://github.com/WWBN/AVideo/commit/81b591c509835505cb9f298aa1162ac64c4152cb"},{"type":"ADVISORY","url":"https://github.com/WWBN/AVideo/security/advisories/GHSA-3hwv-x8g3-9qpr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33681"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wwbn/avideo","events":[{"introduced":"0"},{"last_affected":"aee1e11ee8d9343f87b7643e49cc32924b07979b"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"26.0"}]}}],"versions":["10.8","11","11.1","11.1.1","11.5","11.6","12.4","14.3","14.3.1","18.0","2.2","2.7","21.0","22.0","24.0","25.0","26.0","3.4","4.0","7.2","7.3","7.4","7.6","7.7","7.8","8.1","8.5","8.6","8.7","8.9","8.9.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33681.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}