Skip to main content
Menu
Advisories

Local Git repository deletion via path traversal in Git connect

GHSA-PF2X-82HW-QQWQPublished Updated GitHub

Description

An authenticated workspace member with permission to connect an application to Git could submit a malformed remote repository location that caused Appsmith to resolve an unsafe local repository path. During Git connection setup, this could remove local Git repository data belonging to other applications in the same workspace. Appsmith Community, Enterprise, and Cloud deployments using Git integration are affected; exploitation requires permission to connect an application to Git.

Impact

An attacker could corrupt or delete server-side local Git storage for sibling applications in the affected workspace, disrupting Git operations and potentially removing local-only Git state or references that had not been pushed to a remote repository. The application data stored in Appsmith's database is not affected by this issue, and no confidentiality or code-execution impact has been identified.

Affected and patched versions

Appsmith versions up to and including 1.99 are affected. Upgrade to 2.0 or later.

Workarounds

Until upgrading, restrict permission to connect applications to Git to trusted workspace members. Ensure important Git changes and references are pushed to a remote repository or otherwise backed up.

Credits

Thanks to ryx2zvn0 (@pyuysig) for reporting this issue.

Affected versions

References

GitHub · appsmithorg/appsmith