/

CVE-2026-121940

Severity:

HIGH RISK

(8.8)

IDOR (CWE-639) in Stonewuu ai-fusion-video Project APIs

CVE-2026-121940

Received

Vulnerability type

Category:

Insecure Direct Object Reference (IDOR)

CWE:

CWE-639

Impact:

Unauthorized access, modification, or deletion of other users' data

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Stonewuu ai-fusion-video contains an insecure direct object reference (IDOR) issue in project, asset, and script handlers. An authenticated user may access or alter other users' data by supplying object IDs that are not properly scoped to their authorization.

Stonewuu ai-fusion-video contains an insecure direct object reference (IDOR) issue in project, asset, and script handlers. An authenticated user may access or alter other users' data by supplying object IDs that are not properly scoped to their authorization.

Affected context

The issue affects ai-fusion-video versions before 1.3.0 in API handlers for projects, assets, and scripts. Risk arises when these handlers accept object IDs without consistently checking that the requesting user is authorized to access the corresponding objects.

The issue affects ai-fusion-video versions before 1.3.0 in API handlers for projects, assets, and scripts. Risk arises when these handlers accept object IDs without consistently checking that the requesting user is authorized to access the corresponding objects.

Exploit preconditions

  • Attack surface: Authenticated API access to project, asset, or script handlers
  • Required access: A valid user account; the description does not establish a particular privilege level
  • Trigger point: A request that references an object by its ID
  • Why exploitation is possible: IDs may be enumerable, and object access may not be scoped or checked against the requesting user's permissions
  • Attack surface: Authenticated API access to project, asset, or script handlers
  • Required access: A valid user account; the description does not establish a particular privilege level
  • Trigger point: A request that references an object by its ID
  • Why exploitation is possible: IDs may be enumerable, and object access may not be scoped or checked against the requesting user's permissions

Why this happens

The underlying bug is an object-level authorization failure. A handler that trusts a user-supplied object ID without verifying the requester's access to that specific object can expose or modify another user's data.

This maps to CWE-639: Authorization Bypass Through User-Controlled Key, where an attacker can use a key they control to access resources without the required authorization checks.

The underlying bug is an object-level authorization failure. A handler that trusts a user-supplied object ID without verifying the requester's access to that specific object can expose or modify another user's data.

This maps to CWE-639: Authorization Bypass Through User-Controlled Key, where an attacker can use a key they control to access resources without the required authorization checks.

Potential impact

  • Authenticated users may read other users' project, asset, or script data
  • Project or related data may be overwritten or cascade-deleted
  • Unauthorized users could add themselves as project members
  • Data integrity and confidentiality may be affected
  • Authenticated users may read other users' project, asset, or script data
  • Project or related data may be overwritten or cascade-deleted
  • Unauthorized users could add themselves as project members
  • Data integrity and confidentiality may be affected

General mitigation guidance

Defensive patterns focus on enforcing authorization for every object-level operation:

  • Check ownership, membership, or explicit permissions on the server for each requested object
  • Scope data lookups to the authenticated user's authorized resources
  • Apply the same authorization checks to read, update, delete, and membership operations
  • Avoid relying on unguessable identifiers as a substitute for access control
  • Use least-privilege roles and minimize the data and actions available to each account

Defensive patterns focus on enforcing authorization for every object-level operation:

  • Check ownership, membership, or explicit permissions on the server for each requested object
  • Scope data lookups to the authenticated user's authorized resources
  • Apply the same authorization checks to read, update, delete, and membership operations
  • Avoid relying on unguessable identifiers as a substitute for access control
  • Use least-privilege roles and minimize the data and actions available to each account

How teams detect issues like this

  • Review API handlers for lookups using request-supplied IDs that lack object-level authorization checks
  • Use static analysis or code review rules to flag unscoped resource queries and inconsistent checks across CRUD operations
  • Test with accounts that have different ownership and membership relationships, verifying that one account cannot access another's objects
  • Enforce authorization policies consistently in API middleware or shared service-layer checks
  • Review API handlers for lookups using request-supplied IDs that lack object-level authorization checks
  • Use static analysis or code review rules to flag unscoped resource queries and inconsistent checks across CRUD operations
  • Test with accounts that have different ownership and membership relationships, verifying that one account cannot access another's objects
  • Enforce authorization policies consistently in API middleware or shared service-layer checks

Sources

SourceLink
github.comgithub.com/Stonewuu/ai-fusion-video/blob/v1.2.0/ai-fusion-video/src/main/java/com/stonewu/fusion/controller/project/ProjectController.java#L37-L113
github.comgithub.com/Stonewuu/ai-fusion-video/commit/4724a1a4173171c3d4d067f38840a6093a8c4d46
github.comgithub.com/Stonewuu/ai-fusion-video/issues/69
hackmd.iohackmd.io/@hieuPenguinnn/ai-fusion-video-idor-bola-project-asset
vulncheck.comvulncheck.com/advisories/stonewuu-ai-fusion-video-before-1.3.0-idor-via-project-asset-and-script-controllers
hackmd.iohackmd.io/@hieuPenguinnn/cve-2026-121940-ai-fusion-video-idor-bola-project-asset

Frequently asked

questions

The described issue requires authentication. The specific account privileges needed beyond that are not specified.

The description identifies project, asset, and script handlers, including the possibility of reading, overwriting, or cascade-deleting data and changing project membership.

Verify authorization for the specific object on every request, and scope lookups and operations to resources the authenticated user is permitted to access.

Apply consistent server-side object-level authorization checks across all API operations, and test access boundaries using accounts with different permissions.

The described issue requires authentication. The specific account privileges needed beyond that are not specified.

The description identifies project, asset, and script handlers, including the possibility of reading, overwriting, or cascade-deleting data and changing project membership.

Verify authorization for the specific object on every request, and scope lookups and operations to resources the authenticated user is permitted to access.

Apply consistent server-side object-level authorization checks across all API operations, and test access boundaries using accounts with different permissions.

Find out what's already
exploitable in your codebase.