{
  "id": "CVE-2025-46559",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-46559",
  "published_at": "2025-05-05T18:38:36.144Z",
  "title": "Misskey Directory Traversal Vulnerability in AiScript via `Mk:api`",
  "vendor": "misskey-dev",
  "product": "misskey",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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": "Misskey is an open source, federated social media platform. Starting in version 12.31.0 and prior to version 2025.4.1, missing validation in `Mk:api` allows malicious AiScript code to access additional endpoints that it isn't designed to have access to. The missing validation allows malicious AiScript code to prefix a URL with `../` to step out of the `/api` directory, thereby being able to make requests to other endpoints, such as `/files`, `/url`, and `/proxy`. Version 2025.4.1 fixes the issue.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:misskey:misskey:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.4,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "misskey-dev",
        "product": "misskey",
        "ranges": [
          "\u003e= 12.31.0, \u003c 2025.4.1"
        ],
        "fixed_in": [
          "2025.4.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade misskey to 2025.4.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/misskey-dev/misskey/security/advisories/GHSA-gmq6-738q-vjp2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/misskey-dev/misskey/commit/583df3ec63e25a1fd34def0dac13405396b8b663"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
