# CVE-2025-46559: Misskey Directory Traversal Vulnerability in AiScript via `Mk:api`

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-05T18:38:36.144Z
- Modified: 2026-06-17T09:26:37.723Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- misskey-dev misskey: >= 12.31.0, < 2025.4.1
- misskey misskey: from 12.31.0 before 2025.4.1

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/misskey-dev/misskey/security/advisories/GHSA-gmq6-738q-vjp2> (exploit, vendor-advisory)
- <https://github.com/misskey-dev/misskey/commit/583df3ec63e25a1fd34def0dac13405396b8b663> (patch)

## Sources

- CVE List: [CVE-2025-46559](https://www.cve.org/CVERecord?id=CVE-2025-46559), CVE Terms of Use, modified 2025-05-05
- NVD: [CVE-2025-46559](https://nvd.nist.gov/vuln/detail/CVE-2025-46559), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-46559 · Whole record: https://cve.day/CVE-2025-46559.json · Rebuilt by cve.day 2026-11-25T22:58:57.599Z
