Skip to content

Broken Object-Level Authorization in PUT /api/v1/pages/{pageId}/dependencyMap Allows Unauthorized Cross-Workspace Modification

High
wyattwalter published GHSA-q4p7-j55w-5mjm Jun 12, 2026

Package

maven com.appsmith:server (Maven)

Affected versions

<= 2.0

Patched versions

2.1

Description

Summary

A Broken Object-Level Authorization (BOLA/IDOR) vulnerability exists in the Appsmith OSS endpoint:

PUT /api/v1/pages/{pageId}/dependencyMap

An authenticated attacker can modify another workspace’s page dependencyMap by supplying a valid page ID when the branchName header is omitted.

The vulnerable execution path performs a direct repository update without enforcing the expected MANAGE_PAGES authorization check.


Details

Affected endpoint:

PUT /api/v1/pages/{pageId}/dependencyMap

Affected execution flow:

PageControllerCE.updateDependencyMap()
→ NewPageServiceCEImpl.updateDependencyMap()
→ CustomNewPageRepositoryCEImpl.updateDependencyMap()

In the non-branch execution path, the service directly performs:

repository.updateDependencyMap(pageId, dependencyMap)

without resolving the target page through a permission-checked lookup using AclPermission.MANAGE_PAGES.

The branch-aware execution path correctly enforces authorization, while the default path does not.

As a result, any authenticated user who knows a valid page ID can modify another workspace’s unpublished page dependency map.


PoC

Environment:

  • Local Appsmith OSS instance
  • Two authenticated users
  • Separate workspaces

User A:

  1. Create Workspace A
  2. Create an application and page
  3. Obtain the target pageId

Example:

curl -i -u 'userA@example.com:PASSWORD' \
'http://localhost/api/v1/pages?applicationId=APP_ID&mode=EDIT'

User B:
User B must not have access to Workspace A.

Send:

curl -i -u 'userB@example.com:PASSWORD' \
-X PUT 'http://localhost/api/v1/pages/PAGE_ID/dependencyMap' \
-H 'Content-Type: application/json' \
--data '{"securityTestNode":["Text1.text"]}'

Observed behavior:

  • Request succeeds with HTTP 200
  • Victim page dependencyMap is modified
  • Unauthorized cross-workspace modification occurs

Control test:

When supplying a valid branchName header:

-H 'branchName: master'

the authorization-protected path executes correctly and the unauthorized request fails.


Impact

An authenticated attacker can:

  • modify another workspace’s unpublished page state
  • tamper with internal dependency structures
  • potentially destabilize editor evaluation behavior
  • cause integrity violations across workspaces

This issue has not been publicly disclosed and is being shared privately in accordance with Appsmith’s security policy.

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
Low

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L

CVE ID

No known CVE

Weaknesses

Improper Access Control

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. Learn more on MITRE.

Authorization Bypass Through User-Controlled Key

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. Learn more on MITRE.

Credits