# CVE-2026-42153: Coolify: PostgreSQL Healthcheck Command Injection Allows Root Code Execution in Container

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-06T21:30:44.813Z
- Modified: 2026-10-25T20:10:00.147Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, PostgreSQL healthcheck command generation used attacker-controlled database settings (postgres_user and postgres_db) in shell-form commands, allowing an authenticated user to inject commands executed in the database container. This issue is fixed in version 4.0.0-beta.474.

(As written by CVE List.)

## Affected

- coollabsio coolify: < 4.0.0-beta.474

## References

- <https://github.com/coollabsio/coolify/security/advisories/GHSA-gvc4-f276-r88p> (exploit)
- <https://github.com/coollabsio/coolify/pull/9674>
- <https://github.com/coollabsio/coolify/commit/b74f54302b1a857c22c55fe1210d700859b0b3df>
- <https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474>

## Sources

- CVE List: [CVE-2026-42153](https://www.cve.org/CVERecord?id=CVE-2026-42153), CVE Terms of Use, modified 2026-07-07
- NVD: [CVE-2026-42153](https://nvd.nist.gov/vuln/detail/CVE-2026-42153), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-42153 · Whole record: https://cve.day/CVE-2026-42153.json · Rebuilt by cve.day 2026-11-25T22:59:27.270Z
