CVE-2025-46559
published medium CVSS 3.1 · 5.4Misskey Directory Traversal Vulnerability in AiScript via `Mk:api`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| misskey-dev | — | misskey>= 12.31.0, < 2025.4.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| misskey-dev | misskey | >= 12.31.0, < 2025.4.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2Provider assertions
2GitHub_M · cna
Misskey Directory Traversal Vulnerability in AiScript via `Mk:api`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- af3c0acb446d8b42318d2dad5c4fdbf8d99d96cd5921df40f90826afda47ca78
- Ingested
- 23 Sep 2026, 08:49:40 UTC
- Source record
- Official CVE record