Skip to main content
Menu
Advisories

Unauthorized deploy-key use via missing authorization in Git integration

GHSA-4F5Q-49PG-G37RPublished Updated GitHub

Description

An authenticated user can cause Appsmith to use another workspace's stored Git deploy key to authenticate to that workspace's configured Git remote, without permission to access the application. This affects self-hosted Community and Enterprise installations configured to use in-memory Git storage. The default self-hosted Docker Compose configuration is not affected.

Impact

Appsmith can authenticate to an external Git remote using a workspace's credentials on behalf of a user who has no access to that workspace. The unauthorized credential use can occur even though Appsmith denies the user's application request. The confirmed impact does not include disclosure of private key material or repository contents to the attacker.

Affected and patched versions

Appsmith versions up to and including 2.3 are affected when the configuration described above is enabled. Upgrade to 2.4 or later.

Workarounds

None.

After upgrading

Review authentication logs on connected Git remotes for unexpected use of Appsmith deploy keys.

Credits

Thanks to @komyunghan for reporting this issue.

Affected versions

References

GitHub · appsmithorg/appsmith