{"id":"CVE-2026-77297","summary":"MyMangaDB: Unauthenticated database import endpoint allows full database and image-store overwrite, leading to admin account takeover","details":"MyMangaDB is a self-hosted manga collection manager with automatic metadata, MyAnimeList import, Docker support, and collection statistics. Prior to 2.7.2, the unauthenticated /api/v1/database/import handler in backend/app/api/v1/endpoints/database.py accepts a ZIP archive and moves an included database file to DATABASE_PATH while also replacing IMAGE_PATH content. An attacker can supply a database containing an attacker-controlled users table and administrative account, then authenticate as that account; invalid replacement data can also destroy application data or availability. This issue is fixed in version 2.7.2.","aliases":["GHSA-6fjr-pvm2-6xw2"],"modified":"2026-11-18T22:00:18.859852282Z","published":"2026-11-18T20:29:22.827Z","database_specific":{"cwe_ids":["CWE-306"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77297.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77297.json"},{"type":"FIX","url":"https://github.com/FabianRolfMatthiasNoll/MyMangaDB/commit/2ad34ea785c01d096b38a01420d56fc5a1078db4"},{"type":"WEB","url":"https://github.com/FabianRolfMatthiasNoll/MyMangaDB/releases/tag/v2.7.2"},{"type":"ADVISORY","url":"https://github.com/FabianRolfMatthiasNoll/MyMangaDB/security/advisories/GHSA-6fjr-pvm2-6xw2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77297"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fabianrolfmatthiasnoll/mymangadb","events":[{"introduced":"0"},{"fixed":"0b2837a0424edee18ed5796d9a9d41ef9e20f79f"},{"fixed":"2ad34ea785c01d096b38a01420d56fc5a1078db4"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"2.7.2"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"2ad34ea785c01d096b38a01420d56fc5a1078db4"}]},{"source":"REFERENCES_TAG","original_tag":"v2.7.2","range":[{"fixed":"0b2837a0424edee18ed5796d9a9d41ef9e20f79f"}]}]}}],"versions":["v2.7.1","v2.7.0","v2.6.1","v2.6.0","v2.5.0","v2.4.0","v2.3.0","v2.2.0","v2.1.0","v2.0.0","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77297.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}