CVE-2026-77296

9.3Critical

Published 18 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

9.3CVSS

Critical

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-22, CWE-306

What an attacker gets

Unauthenticated attackers can overwrite arbitrary files on the server, including the SQLite database, to gain administrative access or crash the service. No user interaction or authentication is required.

Root cause

The /api/v1/images/manga/save endpoint fails to sanitize path traversal sequences in the filename parameter, allowing writes outside the intended directory.

Affected versions

MyMangaDB versions prior to 2.7.2

CVSS v4.0 · 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Fix & remediation

Upgrade to MyMangaDB 2.7.2 or later. If you cannot patch immediately, block access to the /api/v1/images/manga/save endpoint at your reverse proxy or WAF.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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/images/manga/save handler in backend/app/api/v1/endpoints/image.py accepts a client-controlled filename and joins it to IMAGE_SAVE_PATH without confining the result. Traversal sequences can escape the image directory and overwrite process-writable files, including DATABASE_PATH for the live SQLite database, while the client-supplied image content type does not validate the uploaded bytes. An attacker can replace the database to plant an administrative user and can overwrite other writable files, causing full application compromise and availability loss. This issue is fixed in version 2.7.2.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-77296