CVE-2026-30885: Wwbn/avideo AVideo Has Unauthenticated IDOR - Vulnerability

MODERATE
Advisory Identifier: GHSA-6w2r-cfpc-23r5
CWE-306 CWE-862
Published
Advisory Summary

CVE-2026-30885 is a MODERATE avideo has unauthenticated idor - vulnerability (CWE-306: Missing Authentication for Critical Function) affecting Wwbn/avideo libraries in the Packagist ecosystem. The issue involves avideo has unauthenticated idor - playlist information disclosure. Remediation is available by upgrading affected packages to version 25.0.

CVE-2026-30885 at a Glance

CVE Identifier CVE-2026-30885
GHSA Identifier GHSA-6w2r-cfpc-23r5
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-306: Missing Authentication for Critical Function
Affected Product Wwbn/avideo
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2026-30885

To remediate this vulnerability, upgrade all affected Wwbn/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.

wwbn/avideo fixed: 25.0
Upgrade wwbn/avideo to 25.0
Verify Direct and Transitive Dependencies

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-30885, inspect your project dependencies for Wwbn/avideo:

inspect dependencies for wwbn/avideo

Analyze the terminal output to locate any version of Wwbn/avideo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 25.0), 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-306: Missing Authentication for Critical Function, where the product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. In Wwbn/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

**Product:** AVideo (https://github.com/WWBN/AVideo) **Version:** Latest (tested March 2026) **Type:** Insecure Direct Object Reference (IDOR) **Auth Required:** No **User Interaction:** None ## Summary The `/objects/playlistsFromUser.json.php` endpoint returns all playlists for any user without requiring authentication or authorization. An unauthenticated attacker can enumerate user IDs and retrieve playlist information including playlist names, video IDs, and playlist status for any user on the platform. ## Root Cause The endpoint accepts a `users_id` parameter and directly queries the database without any authentication or authorization check. **File:** `objects/playlistsFromUser.json.php` ```php if (empty($_GET['users_id'])) { die("You need a user"); } // NO AUTHENTICATION CHECK // NO AUTHORIZATION CHECK (does this user_id belong to the requester?) $row = PlayList::getAllFromUser($_GET['users_id'], false); echo json_encode($row); ``` There is no call to `User::isLogged()` or any comparison between the requesting user and the target `users_id`. ## Affected Code | File | Line | Issue | |------|------|-------| | `objects/playlistsFromUser.json.php` | 10-21 | No authentication or authorization check before returning playlist data | ## Proof of Concept ### Retrieve admin's playlists (user ID 1) ```bash curl "https://TARGET/objects/playlistsFromUser.json.php?users_id=1" ``` **Response:** ```json [ {"id":false,"name":"Watch Later","status":"watch_later","users_id":1}, {"id":false,"name":"Favorite","status":"favorite","users_id":1} ] ``` <img width="1805" height="365" alt="image" src="https://github.com/user-attachments/assets/a13c9c2f-29be-4399-98d2-7570ca30465a" /> ## Impact - **Privacy violation** — any visitor can see all users' playlist names and contents - **User enumeration** — valid user IDs can be discovered by iterating through IDs - **Information gathering** — playlist names and video IDs reveal user interests and private content preferences - **Targeted attacks** — gathered information can be used for social engineering or further exploitation ## Remediation Add authentication and authorization checks: ```php // Option 1: Require authentication + only own playlists if (!User::isLogged()) { die(json_encode(['error' => 'Authentication required'])); } if ($_GET['users_id'] != User::getId() && !User::isAdmin()) { die(json_encode(['error' => 'Access denied'])); } // Option 2: If public playlists are intended, filter by visibility $row = PlayList::getAllFromUser($_GET['users_id'], false, 'public'); ```

CVE-2026-30885 Affected Wwbn/avideo Versions

1 component(s)
Fixed Versions:
25.0
Product / Package Ecosystem Affected Versions Fixed Version
wwbn/avideo
Packagist
< 25.0
25.0

References

Frequently Asked Questions

What is CVE-2026-30885?
CVE-2026-30885 is a security vulnerability in Wwbn/avideo involving AVideo has Unauthenticated IDOR - Playlist Information Disclosure under CWE-306: Missing Authentication for Critical Function.
Which Wwbn/avideo versions are affected?
Affected versions include releases prior to 25.0 across affected packages: wwbn/avideo.
What version fixes CVE-2026-30885?
Upgrading to 25.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is wwbn/avideo affected?
Yes, wwbn/avideo is affected in releases prior to 25.0. Upgrade your dependency to 25.0 or later.
What CWE is associated with CVE-2026-30885?
CVE-2026-30885 is classified under CWE-306: Missing Authentication for Critical Function (The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.).
How can I check Packagist dependencies for CVE-2026-30885?
Run the dependency tree command: 'inspect dependencies for wwbn/avideo'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6w2r-cfpc-23r5",
  "modified" : "2026-03-10T18:43:57Z",
  "published" : "2026-03-07T02:25:48Z",
  "aliases" : [ "CVE-2026-30885" ],
  "summary" : "AVideo has Unauthenticated IDOR - Playlist Information Disclosure",
  "details" : "**Product:** AVideo (https://github.com/WWBN/AVideo)\n**Version:** Latest (tested March 2026)\n**Type:** Insecure Direct Object Reference (IDOR)\n**Auth Required:** No\n**User Interaction:** None\n\n## Summary\n\nThe `/objects/playlistsFromUser.json.php` endpoint returns all playlists for any user without requiring authentication or authorization. An unauthenticated attacker can enumerate user IDs and retrieve playlist information including playlist names, video IDs, and playlist status for any user on the platform.\n\n## Root Cause\n\nThe endpoint accepts a `users_id` parameter and directly queries the database without any authentication or authorization check.\n**File:** `objects/playlistsFromUser.json.php`\n\n```php\nif (empty($_GET['users_id'])) {\n    die(\"You need a user\");\n}\n// NO AUTHENTICATION CHECK\n// NO AUTHORIZATION CHECK (does this user_id belong to the requester?)\n$row = PlayList::getAllFromUser($_GET['users_id'], false);\necho json_encode($row);\n```\n\nThere is no call to `User::isLogged()` or any comparison between the requesting user and the target `users_id`.\n\n## Affected Code\n\n| File | Line | Issue |\n|------|------|-------|\n| `objects/playlistsFromUser.json.php` | 10-21 | No authentication or authorization check before returning playlist data |\n\n## Proof of Concept\n\n### Retrieve admin's playlists (user ID 1)\n\n```bash\ncurl \"https://TARGET/objects/playlistsFromUser.json.php?users_id=1\"\n```\n\n**Response:**\n```json\n[\n  {\"id\":false,\"name\":\"Watch Later\",\"status\":\"watch_later\",\"users_id\":1},\n  {\"id\":false,\"name\":\"Favorite\",\"status\":\"favorite\",\"users_id\":1}\n]\n```\n\n<img width=\"1805\" height=\"365\" alt=\"image\" src=\"https://github.com/user-attachments/assets/a13c9c2f-29be-4399-98d2-7570ca30465a\" />\n\n\n## Impact\n\n- **Privacy violation** — any visitor can see all users' playlist names and contents\n- **User enumeration** — valid user IDs can be discovered by iterating through IDs\n- **Information gathering** — playlist names and video IDs reveal user interests and private content preferences\n- **Targeted attacks** — gathered information can be used for social engineering or further exploitation\n\n## Remediation\n\nAdd authentication and authorization checks:\n\n```php\n// Option 1: Require authentication + only own playlists\nif (!User::isLogged()) {\n    die(json_encode(['error' => 'Authentication required']));\n}\nif ($_GET['users_id'] != User::getId() && !User::isAdmin()) {\n    die(json_encode(['error' => 'Access denied']));\n}\n\n// Option 2: If public playlists are intended, filter by visibility\n$row = PlayList::getAllFromUser($_GET['users_id'], false, 'public');\n```",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "wwbn/avideo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "25.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/WWBN/AVideo/security/advisories/GHSA-6w2r-cfpc-23r5"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-30885"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/WWBN/AVideo/commit/12adc66913724736937a61130ae2779c299445ca"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/WWBN/AVideo"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-306", "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-07T02:25:48Z",
    "nvd_published_at" : "2026-03-10T17:40:14Z"
  }
}