Unpublished page disclosure via missing authorization in page reads
Description
Users with permission to view an application can read unpublished page drafts without permission to edit those pages. This affects self-hosted Appsmith Community and Enterprise installations, including public applications where visitors do not need to sign in.
Impact
Draft pages can contain unpublished widget text, layouts, and application bindings that operators did not intend to share with viewers. An authenticated App Viewer can read these drafts, and an anonymous visitor can read drafts belonging to a public application. This issue exposes draft content; it does not grant permission to modify the application.
Affected and patched versions
Appsmith versions earlier than 2.6.0 are affected. Upgrade to 2.6.0 or later. The patch requires edit permission to read draft pages and layouts while preserving access to published pages for viewers.
Workarounds
None.
After upgrading
Review unpublished pages for sensitive information that viewers could have accessed. Rotate any credentials or secrets stored in those drafts.
Credits
Thanks to Vladislav Ryashchikov (@KovachVL), @JosanGeorge, Wenhao Wu of Southeast University (@d3do-23), nasaa_0x (@nasaa0x), @kaizhi888, @Hama1cco, @kite-builds, @nikhilagrawalsf, and @360AlphaLab for independently reporting this issue.