{
  "id": "CVE-2025-6713",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-6713",
  "published_at": "2025-07-07T14:46:36.201Z",
  "title": "MongoDB Server may be susceptible to privilege escalation due to $mergeCursors stage",
  "vendor": "MongoDB Inc",
  "product": "MongoDB Server",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-08-23T16:20:02Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 47.1,
    "repo": "c137req/CVE-2025-6713",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "An unauthorized user may leverage a specially crafted aggregation pipeline to access data without proper authorization due to improper handling of the $mergeCursors stage in MongoDB Server. This may lead to access to data without further authorisation. This issue affects MongoDB Server MongoDB Server v8.0 versions prior to 8.0.7, MongoDB Server v7.0 versions prior to 7.0.19 and MongoDB Server v6.0 versions prior to 6.0.22",
  "cwe": "CWE-285",
  "cpes": [
    "cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.7,
    "nvd": 6.5
  },
  "repos": [
    {
      "repo": "c137req/CVE-2025-6713",
      "url": "https://github.com/c137req/CVE-2025-6713",
      "created_at": "2025-08-23T16:20:02Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2025-08-21T08:43:08Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "MongoDB Inc",
        "product": "MongoDB Server",
        "ranges": [
          "\u003e= 6.0, \u003c 6.0.22",
          "\u003e= 7.0, \u003c 7.0.19",
          "\u003e= 8.0, \u003c 8.0.7"
        ],
        "fixed_in": [
          "6.0.22",
          "7.0.19",
          "8.0.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade MongoDB Server to 6.0.22 or 7.0.19 or 8.0.7 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
