{"id":"CVE-2026-34049","summary":"Coolify: Command Injection via unsanitized MongoDB collection names in database backup","details":"Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. From 4.0.0-beta.451 through 4.0.0-beta.470, database backup handling for MongoDB collection names did not fully validate shell metacharacters, allowing a highly privileged attacker who can configure backup inputs to inject commands. This issue is fixed in version 4.0.0-beta.471.","aliases":["GHSA-4mpw-wcj4-v9pp"],"modified":"2026-07-09T03:51:52.413754858Z","published":"2026-07-06T21:22:46.878Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34049.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-78"]},"references":[{"type":"WEB","url":"https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34049.json"},{"type":"ADVISORY","url":"https://github.com/coollabsio/coolify/security/advisories/GHSA-4mpw-wcj4-v9pp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34049"},{"type":"FIX","url":"https://github.com/coollabsio/coolify/commit/b1de75a7c67ce6aee977bd788b41e61837dbe0b9"},{"type":"FIX","url":"https://github.com/coollabsio/coolify/pull/9168"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/coollabsio/coolify","events":[{"introduced":"d9ec105430869a98d0b3415c76a5d519403269a0"},{"fixed":"914d7e0b50505bc1fd56c34974fca09ad354e92a"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"4.0.0-beta.451"},{"fixed":"4.0.0-beta.471"}]}}],"versions":["v4.0.0-beta.470","v4.0.0-beta.469","v4.0.0-beta.468","v4.0.0-beta.467","v4.0.0-beta.466","v4.0.0-beta.465","v4.0.0-beta.464","v4.0.0-beta.463","v4.0.0-beta.462","v4.0.0-beta.461","v4.0.0-beta.460","v4.0.0-beta.459","v4.0.0-beta.458","v4.0.0-beta.457","v4.0.0-beta.456","v4.0.0-beta.452","v4.0.0-beta.455","v4.0.0-beta.453","v4.0.0-beta.454","v4.0.0-beta.451"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34049.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N"}]}