# CVE-2024-55964: Code injection in n/a

> Authenticated attackers can execute remote commands in the Appsmith Docker container due to misconfigured PostgreSQL settings.

- **Severity:** Critical 9.8 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 26 Mar 2025
- **Updated:** 27 Mar 2025
- **Also known as:** BIT-appsmith-2024-55964, GHSA-m95x-4w54-gc83

## What is CVE-2024-55964?

CVE-2024-55964 is a critical code injection vulnerability in n/a, published on 26 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

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.

Weakness: CWE-94 (Improper Control of Generation of Code)

## Which versions are affected by CVE-2024-55964?

1 open source package ship an affected version, including appsmith. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `appsmith` | Bitnami | All versions | 1.52.0 |

Products: Appsmith Appsmith.

## How do I fix CVE-2024-55964?

Upgrade appsmith to 1.52.0 or later.

## Is CVE-2024-55964 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-55964 exists.

Public exploit code:

- Appsmith RCE (metasploit)

## Other vulnerabilities in n/a

- [CVE-2026-55454](https://insights.sbomify.com/CVE-2026-55454/): Appsmith: Caddy admin API exposed without authentication (critical 9.9)
- [CVE-2026-22794](https://insights.sbomify.com/CVE-2026-22794/): Account Takeover Vulnerability in Appsmith (critical 9.7)
- [CVE-2026-24042](https://insights.sbomify.com/CVE-2026-24042/): Appsmith public apps can execute unpublished actions (viewMode confusion) (critical 9.4)
- [CVE-2026-30862](https://insights.sbomify.com/CVE-2026-30862/): Critical Stored XSS & Privilege Escalation in Appsmith (critical 9.1)
- [CVE-2026-50189](https://insights.sbomify.com/CVE-2026-50189/): Appsmith: RCE via Supervisord XML-RPC Admin Interface Exposed via /supervisor Caddy Route (high 8.9)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-55964 and fix it if it is affected.

What it is: CVE-2024-55964 is a critical code injection vulnerability in n/a, published on 26 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-55964 exists.

Affected packages and fixed versions:
- appsmith (Bitnami): affected all versions; fixed in 1.52.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-55964/ (Markdown: https://insights.sbomify.com/CVE-2024-55964/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-55964
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-55964
- OSV: https://osv.dev/vulnerability/CVE-2024-55964

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-55964/
Summaries are generated and may contain mistakes; the official description above is the record.
