# CVE-2026-77296: MyMangaDB: Unauthenticated path traversal in cover-image upload allows arbitrary file write, escalating to the same database-overwrite takeover

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- 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.48%, higher than 43% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-18T20:28:04.451Z
- Modified: 2026-11-23T22:23:25.283Z
- Weaknesses: CWE-22, CWE-306
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- FabianRolfMatthiasNoll MyMangaDB: < 2.7.2

## References

- <https://github.com/FabianRolfMatthiasNoll/MyMangaDB/security/advisories/GHSA-66h5-6vhv-5w76> (exploit)
- <https://github.com/FabianRolfMatthiasNoll/MyMangaDB/commit/2ad34ea785c01d096b38a01420d56fc5a1078db4>
- <https://github.com/FabianRolfMatthiasNoll/MyMangaDB/releases/tag/v2.7.2>

## Sources

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

---

Page: https://cve.day/CVE-2026-77296 · Whole record: https://cve.day/CVE-2026-77296.json · Rebuilt by cve.day 2026-11-25T22:59:51.918Z
