Git auto-commit progress endpoint discloses branch and progress state without checking caller authorization
Description
An authenticated Appsmith user can read another application's Git auto-commit progress by its application ID, without holding any permission on that application. The response includes the active branch name and the commit progress percentage. This affects self-hosted Community and Enterprise deployments with the Git integration enabled, which is part of the default installation.
Impact
Any authenticated account can query the auto-commit progress endpoint for an application ID it does not own or have access to. When that application has an active or recent auto-commit operation, the endpoint returns its Git branch name and progress value. Application IDs are sequential and not treated as secrets, so this can be enumerated. The impact is limited to Git workflow metadata; it does not expose application data, datasource credentials, or Git repository contents.
Affected and patched versions
Appsmith versions up to and including 2.2 are affected. Upgrade to 2.3 or later, where the endpoint checks the caller's permission on the application before reading progress state.
Workarounds
None. Restrict who can create accounts on the instance, since any authenticated account can reach this endpoint.
After upgrading
No credential rotation is required; this issue does not expose secrets.
Credits
Thanks to @TA-MU-TA and @eric-owow for reporting this issue.