/

CVE-2026-63085

Severity:

HIGH RISK

(8.8)

Authorization Bypass (CWE-863) in Axelor User Updates

CVE-2026-63085

Deferred

Vulnerability type

Category:

Authorization Bypass / Access Control

CWE:

CWE-863

Impact:

Privilege Escalation to Administrative Roles

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

Axelor Open Platform 8.x before 8.2.2 contains an authorization bypass where field-level restrictions on User entities are not enforced for nested relational save operations.

An authenticated non-admin can escalate privileges by modifying sensitive User fields such as roles or groups through a related entity, causing the persistence layer to store attacker-controlled admin assignments.

Affected context

The vulnerability occurs in Axelor Open Platform deployments where:

  • User entities are related to other domain objects that can be modified by non-admin users
  • The application relies on USER_RESTRICTED_FIELDS (or similar field-level controls) to protect sensitive User record fields
  • Nested relational save operations (e.g., saving a related entity that references a User) are allowed via the same persistence context

In these conditions, field restrictions are enforced on direct User updates but may not be applied when User changes are propagated through a related entity's save path.

Exploit preconditions

  • Attack surface: Application business endpoints that allow saving or updating entities related to User records.
  • Required access: Valid authenticated session as a non-admin user with permission to modify at least one entity that references a User.
  • Trigger point: Submitting a crafted save/update request for a related entity that includes modified nested User fields (e.g., roles, groups).
  • Why exploitation is possible: Field-level authorization (USER_RESTRICTED_FIELDS) is applied to direct User updates but is not consistently enforced for nested relational saves, allowing the JPA persistence layer to flush attacker-controlled changes to sensitive User attributes on commit.

Why this happens

This issue stems from incomplete enforcement of authorization rules on server-side update paths, aligning with CWE-863: Incorrect Authorization.

The application defines sensitive fields on the User entity (such as role and group assignments) and attempts to restrict them via configuration (USER_RESTRICTED_FIELDS), but the enforcement logic focuses on direct User updates.

When a User is reachable as a nested object in a relational graph (e.g., part of another domain entity being persisted), the same restrictions are not re-applied or are applied too late.

As a result, the ORM/JPA persistence layer treats attacker-supplied changes to nested User fields as legitimate state and flushes them to the database, effectively bypassing higher-level authorization checks.

Potential impact

  • A non-admin user may escalate their own account to an administrative role.
  • Attackers could assign themselves to privileged groups with broader data and function access.
  • An attacker can grant elevated roles or groups to other accounts, creating persistent backdoor admins.
  • Compromised roles and groups can lead to full application takeover, including configuration changes and access to sensitive business data.
  • Misuse of administrative capabilities could enable data tampering, unauthorized workflow execution, or user lockouts.

General mitigation guidance

Effective mitigation tends to focus on centralizing and consistently enforcing authorization at the model and service layers rather than only at specific endpoints or UI flows.

Pattern-based mitigations include:

  • Enforcing field-level authorization on all persistence paths:
  • Apply the same restricted-field checks whenever a User entity is dirty, regardless of whether it is updated directly or via a nested relationship.
  • Implement domain-level guards (e.g., entity listeners, service-layer validators) that reject modifications to sensitive fields unless the current principal has explicit privilege.
  • Adopting a "safe-by-default" domain model:
  • Treat role and group assignments as write-protected attributes that can only be modified through dedicated, tightly controlled service methods.
  • Avoid accepting full object graphs from clients for security-sensitive entities; use explicit DTOs that do not expose privileged fields.
  • Reducing trust in client-supplied object graphs:
  • Whitelist fields that are allowed to change per endpoint or per operation instead of binding and persisting all submitted properties.
  • Use mapping layers that explicitly map only permitted fields from requests to domain objects.
  • Applying least-privilege principles:
  • Separate administrative operations for user and role management into isolated flows accessible only to highly privileged accounts.
  • Avoid granting broad edit permissions on entities that indirectly reference User records when such edits can cascade to security-critical properties.

How teams detect issues like this

Detection typically involves both design-time and runtime approaches:

  • Static analysis and code scanning:
  • Search for endpoints or service methods that accept entire entity graphs (e.g., User or entities referencing User) and directly persist them via JPA/Hibernate without per-field authorization checks.
  • Identify usage patterns where security-critical fields (roles, groups, permissions) are mapped from client input without explicit permission checks.
  • Flag generic "save" operations that operate on arbitrary entities and include cascading persistence for associated User objects.
  • Code review signals:
  • Review data binding layers that deserialize request bodies into entity graphs and feed them into generic repository save() methods.
  • Check whether restricted-field controls (like USER_RESTRICTED_FIELDS) are enforced consistently for both direct User updates and nested updates through relations.
  • Examine entity relationships where non-admin users can modify related entities that hold references to User objects, and verify that nested User modifications are blocked.
  • Runtime and policy enforcement:
  • Add audit logging for changes to User roles, groups, and permission-related fields, including the acting user and call path, then monitor for changes originating from non-admin accounts.
  • Use application-level security policies that assert "only designated administrative roles can modify User role/group fields" and enforce them through centralized interceptors or access decision managers.
  • Optionally employ automated code review or SAST tools configured with rules for authorization checks around critical identity and role-management code.

Sources

SourceLink
github.comgithub.com/axelor/axelor-open-platform/releases/tag/v8.2.2
github.comgithub.com/geo-chen/oss/blob/main/axelor-open-platform.md
vulncheck.comvulncheck.com/advisories/axelor-open-platform-8-x-authorization-bypass-via-nested-relational-record-persistence

Frequently asked

questions

Exploitability is limited to authenticated users who can reach endpoints that save or update entities related to User records, but within that scope, any such user may be able to gain administrative privileges if nested User fields are not filtered.

No. The issue specifically allows non-admin, authenticated users with permissions to modify certain related entities to escalate their privileges by altering nested User role and group fields.

The safest pattern is to enforce authorization checks at the domain/service layer for all User updates, ensuring that sensitive fields such as roles and groups can only be modified through dedicated administrative operations and never via generic save or nested persistence paths.

Prevent them by designing APIs and data models that avoid persisting full client-supplied entity graphs, enforcing explicit field-level whitelists, centralizing authorization decisions for security-sensitive entities, and treating identity, role, and permission changes as specialized operations with strict access control.

Find out what's already
exploitable in your codebase.