{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "4.0.0-beta.451"
              },
              {
                "fixed": "4.0.0-beta.471"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "d9ec105430869a98d0b3415c76a5d519403269a0"
            },
            {
              "fixed": "914d7e0b50505bc1fd56c34974fca09ad354e92a"
            }
          ],
          "repo": "https://github.com/coollabsio/coolify",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4mpw-wcj4-v9pp"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34049.json"
  },
  "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.",
  "id": "CVE-2026-34049",
  "modified": "2026-07-09T03:51:52.413754858Z",
  "published": "2026-07-06T21:22:46.878Z",
  "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"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Coolify: Command Injection via unsanitized MongoDB collection names in database backup"
}