{"id":"CVE-2026-61564","summary":"AVideo-Encoder: unauthenticated installer PHP code injection","details":"AVideo is a video-sharing Platform. Prior to 8.1.0, the unauthenticated installer endpoint `install/checkConfiguration.php` assembles `videos/configuration.php` by interpolating request parameters, including `webSiteRootURL`, into single-quoted PHP string literals without escaping. An attacker can terminate a literal and inject PHP that executes as the web-server user when the generated, directly requestable file is loaded. Exploitation requires `videos/configuration.php` to be absent, as on every fresh deployment or after the file is removed or moved; an existing file blocks this endpoint. The supplied `systemRootPath` must contain index.php and a connection using `databaseHost`, `databaseUser`, and `databasePass` must succeed, but the attacker can point those parameters to their own database server and needs no target credentials. The write location is also derived from `systemRootPath` without a base-directory constraint. This permits arbitrary command execution, reading and overwriting files owned by the web-server user, persistent PHP code, and control over stored database connection settings. The endpoint additionally interpolates request values into streamer and configuration INSERT statements, creating a secondary SQL-injection sink. This issue is fixed in version 8.1.0.","aliases":["GHSA-xrj3-cqm8-r992"],"modified":"2026-11-05T02:30:39.591117242Z","published":"2026-10-28T21:42:42.397Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61564.json"},"references":[{"type":"WEB","url":"https://github.com/WWBN/AVideo-Encoder/releases/tag/v8.1.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61564.json"},{"type":"ADVISORY","url":"https://github.com/WWBN/AVideo-Encoder/security/advisories/GHSA-xrj3-cqm8-r992"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61564"},{"type":"FIX","url":"https://github.com/WWBN/AVideo-Encoder/commit/0faaddebd11c087885d25a7e0513745465cad411"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wwbn/avideo-encoder","events":[{"introduced":"0"},{"fixed":"4d25651ce4a4c60a407a8d5152f5a42ab8180480"},{"fixed":"0faaddebd11c087885d25a7e0513745465cad411"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"8.1.0"}]},{"range":[{"fixed":"0faaddebd11c087885d25a7e0513745465cad411"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v8.1.0","range":[{"fixed":"4d25651ce4a4c60a407a8d5152f5a42ab8180480"}],"source":"REFERENCES_TAG"}]}}],"versions":["8.0","7.0","3.7","3.0","1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61564.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}