# GHSA-RF99-RC2W-VH94: MongoDB root credentials exposed via the admin environment settings endpoint

- Database: GitHub
- Severity: CVSS 4.9 (Medium)
- Published: 2026-09-29
- Modified: 2026-09-29

## Affected versions

- com.appsmith:server (Maven): through 2.3

## Description

### Summary
An instance administrator viewing the environment settings in the admin panel on Appsmith Community Edition can see the full MongoDB and Redis connection strings, including embedded credentials, in plaintext. The exposed MongoDB account has full write access to the database. This affects self-hosted Community and Enterprise deployments where the database or cache uses connection-string credentials.

### Impact
An instance admin (or anyone able to read that admin response) obtains a MongoDB credential with full read/write access to every collection, including user accounts, datasource secrets, and application data. The Redis connection string is exposed in the same way.

### Affected and patched versions
Appsmith versions up to and including 2.3 are affected. Upgrade to 2.4 or later, where the admin settings endpoint masks secret-bearing values.

### Workarounds
Restrict who holds the instance admin role, since only that role can read the affected endpoint.

### After upgrading
Rotate the MongoDB and Redis credentials if an instance admin account may have been compromised or shared before upgrading.

### Credits
Thanks to @davidkm-ai for reporting this issue.

## References

- https://github.com/appsmithorg/appsmith/security/advisories/GHSA-rf99-rc2w-vh94

Page: https://cve.now/GHSA-RF99-RC2W-VH94

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
