{"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-08-12T03:51:21.627073452Z","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","cna_assigner":"GitHub_M","cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33681.json"},{"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"},{"type":"FIX","url":"https://github.com/WWBN/AVideo/commit/81b591c509835505cb9f298aa1162ac64c4152cb"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wwbn/avideo","events":[{"introduced":"0"},{"fixed":"81b591c509835505cb9f298aa1162ac64c4152cb"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"26.0"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*"}}],"versions":["26.0","25.0","24.0","22.0","21.0","18.0","14.3.1","14.3","12.4","11.6","11.5","11.1.1","11.1","11","10.8","8.9.1","8.9","8.7","8.6","8.5","8.1","7.8","7.7","7.6","7.4","7.3","7.2","4.0","3.4","2.7","2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33681.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}