Skip to main content
Menu
Advisories

Server-side file read via SQL injection in datasource column selection and sorting

GHSA-7634-7VM9-XG5QPublished Updated GitHub

Description

An authenticated workspace member with Developer access can use SQL injection in datasource column selection and sorting to read files accessible to the Appsmith server process. This affects self-hosted Appsmith Community and Enterprise installations using affected Google Sheets or Amazon S3 actions.

Impact

An attacker who can edit and execute an affected datasource action can read server-side files containing configuration, credentials, or encryption secrets. They may also read data from other users' concurrent filtering operations on the same installation. Access to exposed credentials can affect connected services and other workspaces, beyond the attacker's own workspace permissions.

Affected and patched versions

Appsmith versions earlier than 1.98 are affected. Upgrade to 1.98 or later to address this issue.

Workarounds

Until you upgrade, limit access to edit and execute affected datasource actions to trusted users. This reduces exposure but does not replace the upgrade.

After upgrading

If you suspect exploitation, investigate unauthorized access to server files and rotate any credentials that may have been exposed. Upgrading does not revoke credentials exposed before the upgrade.

Credits

Thanks to bugbunny.ai (@bugbunny-research) for reporting this issue.

Affected versions

References

GitHub · appsmithorg/appsmith