Summary
MyMangaDB versions prior to 2.7.2 expose an unauthenticated database import endpoint that allows the database and image content to be replaced. The issue is CVE-2026-77297, rated critical with a CVSS 4.0 score of 9.3.
What happened
Prior to version 2.7.2, the unauthenticated /api/v1/database/import handler (backend/app/api/v1/endpoints/database.py) accepts a ZIP archive, moves the database file it contains to DATABASE_PATH, and also replaces the content of IMAGE_PATH. An attacker can supply a database containing an attacker-controlled users table and administrative account, and then authenticate as that account. In addition, invalid replacement data can destroy application data or affect its availability. The weakness is classified as CWE-306 (missing authentication for a critical function).
Why it matters
The flaw is reachable over the network, without privileges or user interaction, and can affect the confidentiality, integrity and availability of the application (CVSS 4.0: 9.3, vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N, per CNA GitHub_M). CISA's KEV catalog does not list this vulnerability as actively exploited, and the source does not state that it has been exploited.
Affected products and versions
MyMangaDB (vendor: FabianRolfMatthiasNoll), versions prior to 2.7.2 (< 2.7.2).
| Product | Versions | Fixed in |
|---|---|---|
| FabianRolfMatthiasNoll MyMangaDB | < 2.7.2 | — |
Action recommended by the source
The vendor states the issue is fixed in version 2.7.2. References: https://github.com/FabianRolfMatthiasNoll/MyMangaDB/security/advisories/GHSA-6fjr-pvm2-6xw2 , https://github.com/FabianRolfMatthiasNoll/MyMangaDB/commit/2ad34ea785c01d096b38a01420d56fc5a1078db4 and https://github.com/FabianRolfMatthiasNoll/MyMangaDB/releases/tag/v2.7.2 . The source does not state any other mitigations.
Sources and references
- https://github.com/FabianRolfMatthiasNoll/MyMangaDB/security/advisories/GHSA-6fjr-pvm2-6xw2 — CVE Program
- https://github.com/FabianRolfMatthiasNoll/MyMangaDB/commit/2ad34ea785c01d096b38a01420d56fc5a1078db4 — CVE Program
- https://github.com/FabianRolfMatthiasNoll/MyMangaDB/releases/tag/v2.7.2 — CVE Program
Weaknesses (CWE): CWE-306
Relevant change history
Published
Advisory published.