{
  "id": "CVE-2025-4962",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-4962",
  "published_at": "2025-08-18T13:27:49.397Z",
  "title": "IDOR Vulnerability in Template Creation via `projectId` Manipulation in lunary-ai/lunary",
  "vendor": "lunary-ai",
  "product": "lunary-ai/lunary",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "An Insecure Direct Object Reference (IDOR) vulnerability was identified in the `POST /v1/templates` endpoint of the Lunary API, affecting versions up to 0.8.8. This vulnerability allows authenticated users to create templates in another user's project by altering the `projectId` query parameter. The root cause of this issue is the absence of server-side validation to ensure that the authenticated user owns the specified `projectId`. The vulnerability has been addressed in version 1.9.23.",
  "cwe": "CWE-284",
  "cvss_by_source": {
    "cna": 7.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "lunary-ai",
        "product": "lunary-ai/lunary",
        "ranges": [
          "\u003e= unspecified, \u003c 1.9.23"
        ],
        "fixed_in": [
          "1.9.23"
        ]
      }
    ],
    "upgrade": [
      "Upgrade lunary-ai/lunary to 1.9.23 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/lunary-ai/lunary/commit/e977d06f18a615963ffbe07e5bdff70218c29907"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
