AppsmithApplication

CVE-2024-55964

CRITICAL · 9.8 CVSS v3.1 Published 2025-03-26
Fix available
A fix is available. Upgrade to 1.52 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
An issue was discovered in Appsmith before 1.52. An incorrectly configured PostgreSQL instance in the Appsmith image leads to remote command execution inside the Appsmith Docker container. The attacker must be able to access Appsmith, login to it, create a datasource, create a query against that datasource, and execute that query.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

An incorrectly configured PostgreSQL instance bundled with Appsmith Docker images prior to version 1.52 allows authenticated users with datasource creation privileges to achieve remote command execution inside the container by crafting malicious queries against the misconfigured database.

MitigationUpgrade Appsmith to version 1.52 or later, which contains the corrected PostgreSQL configuration. If immediate upgrade is not feasible, review and restrict PostgreSQL permissions within the container to prevent arbitrary command execution.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
AppsmithApplication
Affected:< 1.52

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Appsmith Docker version
    Run 'docker images' or inspect the container to find the Appsmith image tag and version
    Affected if The installed Appsmith version is earlier than 1.52
  2. Confirm bundled PostgreSQL presence
    Check if the Appsmith container includes an internal PostgreSQL instance (the component with the misconfiguration)
    Affected if PostgreSQL is bundled and accessible within the Appsmith container
  3. Review datasource creation privileges
    Inspect Appsmith user roles and permissions to identify which users have datasource creation capabilities
    Affected if Non-admin users have been granted datasource creation privileges
  4. Inspect PostgreSQL configuration
    Examine the PostgreSQL configuration inside the container for insecure settings that permit arbitrary command execution
    Affected if ./pg_hba.conf or postgresql.conf allows connections from authenticated users with elevated permissions

A user is affected if they run Appsmith Docker images prior to version 1.52, have the bundled PostgreSQL accessible, and have users with datasource creation privileges in their deployment.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 1.52 or later
Fixed in 1.52
Interim mitigation

Upgrade Appsmith to version 1.52 or later, which contains the corrected PostgreSQL configuration. If immediate upgrade is not feasible, review and restrict PostgreSQL permissions within the container to prevent arbitrary command execution.

Recommended fix Moderate confidence

Appsmith 1.52

  1. 1. Back up your current Appsmith instance data and configuration before proceeding
  2. 2. Pull the latest Appsmith Docker image: docker pull appsmith/appsmith-ce:<version>
  3. 3. Stop the current Appsmith container
  4. 4. Back up or preserve your existing data directory (/data) to retain configurations and user data
  5. 5. Start the new Appsmith 1.52 container using the preserved data directory
  6. 6. Verify the upgrade was successful by accessing the Appsmith UI
  7. 7. Log in and verify datasource functionality works correctly
  8. 8. Confirm the PostgreSQL datasource now has proper security controls in place
Caveat Review release notes for any breaking changes between your current version and 1.52 before upgrading

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Appsmith Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
11.0 hours of engineering $1,930
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-55964 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-55964 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data