Coolify: Command Injection via unsanitized MongoDB collection names in database backup
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-34049
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 16:30 UTC · Revision 1
Source evidence
Coolify: Command Injection via unsanitized MongoDB collection names in database backup
core-osv · Original sourcePublished 6 Jul 2026, 21:22 UTC
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.
osv:CVE-2026-34049
Complete source record
{
"id": "ce91f709d86ad1a62440a8359692cdc57e4cba2d274a38daee574d0583c87123",
"url": "https://osv.dev/vulnerability/CVE-2026-34049",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Coolify: Command Injection via unsanitized MongoDB collection names in database backup",
"summary": "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.",
"evidence": "osv:CVE-2026-34049",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-34049",
"aliases": [
"CVE-2026-34049",
"GHSA-4mpw-wcj4-v9pp"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/coollabsio/coolify",
"type": "GIT",
"events": [
{
"introduced": "d9ec105430869a98d0b3415c76a5d519403269a0"
},
{
"fixed": "914d7e0b50505bc1fd56c34974fca09ad354e92a"
},
{
"fixed": "b1de75a7c67ce6aee977bd788b41e61837dbe0b9"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "4.0.0-beta.451"
},
{
"fixed": "4.0.0-beta.471"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "b1de75a7c67ce6aee977bd788b41e61837dbe0b9"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "914d7e0b50505bc1fd56c34974fca09ad354e92a"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v4.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"
}
}
],
"modified": "2026-10-28T02:30:30.342224507Z",
"provider": "osv",
"references": [
"https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34049.json",
"https://github.com/coollabsio/coolify/security/advisories/GHSA-4mpw-wcj4-v9pp",
"https://nvd.nist.gov/vuln/detail/CVE-2026-34049",
"https://github.com/coollabsio/coolify/commit/b1de75a7c67ce6aee977bd788b41e61837dbe0b9",
"https://github.com/coollabsio/coolify/pull/9168"
],
"provider_metadata": {
"cwe_ids": [
"CWE-78"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34049.json"
}
},
"related_cves": [
{
"value": "CVE-2026-34049",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497338,
"published_at": "2026-07-06T21:22:46.878+00:00"
}