/

CVE-2026-104184

Severity:

HIGH RISK

(7.1)

Mass Assignment (CWE-915) in LinkAce API Link Updates

CVE-2026-104184

Received

Vulnerability type

Category:

Mass Assignment

CWE:

CWE-639, CWE-915

Impact:

Unauthorized link ownership changes

Severity:

HIGH RISK

(7.1)

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

LinkAce's API link update controller passes all request fields to the repository, including user_id, even though that field is not allowed by the validated update request. An authenticated user who is authorized to update a link may change its ownership to another user or to a nonexistent account.

Affected context

The issue occurs in LinkAce's API link update flow, where LinkController::update() passes all request data to the repository. It affects deployments where an authenticated API user can update a link and the API accepts a user_id value that is not part of the validated update fields. The web update controller is not affected because it passes only validated fields.

Exploit preconditions

  • Attack surface: LinkAce API link update endpoint
  • Required access: An authenticated API account authorized to update the target link
  • Trigger point: The API controller passes request data to the repository during a link update
  • Why exploitation is possible: The controller uses all request fields rather than restricting updates to validated fields, allowing user_id to be changed

Why this happens

The API controller forwards the full request data to the repository, allowing a client-controlled user_id to be mass-assigned even though it is not an allowed field in the validated update request. This is an improper control of dynamically assigned attributes, corresponding to CWE-915. Because the field controls link ownership, the behavior is also related to authorization bypass through a user-controlled key (CWE-639).

Potential impact

  • A link could be transferred into another user's bookmark collection.
  • A link could be assigned to a nonexistent user and become orphaned from a real account.
  • Users may lose access to links they previously managed.
  • Link ownership and account data could become inconsistent.

General mitigation guidance

Mitigation generally centers on limiting which fields an update operation can accept.

Common defensive patterns include:

  • Pass only explicitly validated and allowlisted fields to persistence methods.
  • Treat ownership and other authorization-sensitive fields as server-controlled rather than client-editable.
  • Verify that the requesting user is authorized to modify both the target object and any permitted ownership changes.
  • Apply least privilege to API accounts and keep update operations narrowly scoped.
  • Use secure-by-default request schemas that reject unexpected fields.

How teams detect issues like this

High-level detection approaches include:

  • Static analysis for controllers that pass entire request objects or unfiltered request data into model or repository updates.
  • Code review checks for fillable ownership fields that are not included in validated request schemas.
  • Tests that verify unexpected fields, particularly ownership identifiers, are rejected or ignored.
  • API policy enforcement that requires explicit authorization for changes to ownership-sensitive attributes.

Automated code review tools may help identify broad mass-assignment patterns.

Sources

SourceLink
github.comgithub.com/Kovah/LinkAce/commit/f71134c2e8f2b92e26eef63494542f877657bb67
github.comgithub.com/Kovah/LinkAce/pull/1125
github.comgithub.com/Kovah/LinkAce/releases/tag/v2.6.0
github.comgithub.com/Kovah/LinkAce/security/advisories/GHSA-p25r-m7hm-2rh2

Frequently asked

questions

It can be triggered through the API, but the described issue requires an authenticated user who is authorized to update the target link.

The attacker needs an API account with permission to update a link. The ability to change user_id follows from the controller accepting unvalidated request fields.

Restrict persistence updates to explicitly validated and allowlisted fields, and keep ownership changes server-controlled unless separately authorized.

Use strict request schemas, test that unexpected and sensitive fields are rejected, and review code paths that pass complete request data to update methods.

Find out what's already
exploitable in your codebase.