Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed MyMangaDB HTTP endpoint
-
DeliveryPOST crafted multipart upload to /api/v1/images/manga/save
-
ExploitSet filename to ../MyMangaDB.db traversal
-
ExecutionOverwrite live SQLite database with attacker payload
-
PersistLog in as planted admin account
-
ImpactFull unauthenticated application compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions for the write primitive - unauthenticated, remote, default-configuration exploitation of MyMangaDB: the /api/v1/images/manga/save route ships with no auth dependency and accepts a traversal-laden filename. The decisive deployment fact (confirmed in backend/config.py) is that IMAGE_SAVE_PATH and DATABASE_PATH are siblings under the same base directory in BOTH the Docker and non-Docker default layouts, so filename=../MyMangaDB.db lands exactly on the live database. The only real limiting factor is filesystem permissions: the attacker can only overwrite files the server process can write (which, by default, includes the database and other files under the shared base directory). The content-type guard does not limit exploitation because it inspects only the client-supplied header, not the uploaded bytes. The instance must be network-reachable by the attacker. |
| Impact | This is a genuine high-priority issue, not a CVSS-inflated paper risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VC:H/VI:H/VA:H) describes a network-reachable, unauthenticated, low-complexity flaw with no user interaction and full impact to confidentiality, integrity and availability - and the source-code evidence corroborates every one of those metrics: the /api/v1/images/manga/save handler declares no auth dependency (CWE-306) and joins a client-controlled multipart filename into IMAGE_SAVE_PATH with no confinement (CWE-22), so a single POST overwrites the sibling live SQLite database. The vuln.today decision label is act_now and a vendor patch (2.7.2) is available, which is consistent with the technical severity. A concrete PoC is published inside the GHSA advisory (multipart upload with filename=../MyMangaDB.db plus a follow-up login), so this should be treated as having a public PoC, though the input does not mark it as a confirmed working/weaponized exploit. Countervailing signals: there is NO CISA KEV listing and NO EPSS score in the provided data, so there is no evidence of active or widespread exploitation yet; the realistic risk is further bounded by the product's very small deployment footprint (a niche self-hosted hobby manga manager) rather than the flaw being hard to exploit. Net: technically trivial and reliable to exploit against any exposed instance, but the population of exposed instances is small. |
| Exploit ScenarioDerived | An attacker who can reach an exposed MyMangaDB instance sends a single unauthenticated multipart POST to /api/v1/images/manga/save with filename=../MyMangaDB.db and a body that is actually a crafted SQLite database (the content-type check only reads the client-supplied header, so an image/png label is accepted). The traversal escapes the images directory and overwrites the live application database, planting an attacker-controlled admin user, after which the attacker simply logs in. A working PoC demonstrating exactly this chain is published in the GHSA advisory; given AV:N/AC:L/PR:N/UI:N the request requires no credentials, no interaction and no special timing. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Unauthenticated arbitrary file write in MyMangaDB up to and including 2.7.1 lets a remote attacker place a file anywhere the server process can write by supplying a traversal-laden filename to the /api/v1/images/manga/save cover-image upload route, which ships with no authentication dependency. Because IMAGE_SAVE_PATH and DATABASE_PATH are siblings under the same base directory in both the shipped Docker and non-Docker layouts, a value such as ../MyMangaDB.db lands directly on the live SQLite database, letting an attacker plant an administrative user row and then log in, resulting in full application compromise plus availability loss from overwriting other writable files. The content-type guard is cosmetic - it inspects only the client-supplied header, not the uploaded bytes - so a raw SQLite file passes. A public PoC reference exists in the GitHub advisory (curl reproduction steps); it is not verified as working exploit code, and no CISA KEV entry confirms active exploitation. Fixed in 2.7.2, and rated act_now by vuln.today priority.
RemediationAI
Upgrade to MyMangaDB 2.7.2, which is the vendor-released patch - the release tag is v2.7.2 and the fixing commit is 2ad34ea785c01d096b38a01420d56fc5a1078db4, available via https://github.com/FabianRolfMatthiasNoll/MyMangaDB/releases/tag/v2.7.2. Version 2.7.2 adds an authentication dependency to the image routes, sanitizes the client-supplied filename before it is joined into IMAGE_SAVE_PATH, and additionally locks down the database import/export endpoints; updating is the only complete fix per the advisory. If upgrading is not immediately possible, the interim control the evidence supports is denying external access to /api/v1/images/manga/save at a reverse proxy or restricting network reachability of the whole instance, since no legitimate unauthenticated flow exists on that route - the trade-off is that manga cover uploads will fail until the upgrade is applied. Filesystem permissions on the shared base directory only shrink the set of files an attacker can overwrite (the database and sibling files remain writable by the process by default), so permissions are a partial limit and not a fix. Because a successful attack rewrites the live SQLite database, treat any exposed pre-2.7.2 instance as potentially compromised: after upgrading, inspect the users table for unexpected administrative rows and restore the database from a known-good backup. Advisory: https://github.com/FabianRolfMatthiasNoll/MyMangaDB/security/advisories/GHSA-66h5-6vhv-5w76.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MyMangaDB is a Python/FastAPI (Starlette) self-hosted manga collection manager backed by SQLite. The root cause class is CWE-22 (improper limitation of a pathname to a restricted directory), compounded by CWE-306 (missing authentication for a critical function) as noted in the upstream advisory. In backend/app/api/v1/endpoints/image.py the save handler takes both the file and a filename multipart form field, validates only that file.content_type starts with "image/", and then calls os.path.join(IMAGE_SAVE_PATH, filename) before writing. Because filename arrives as a form field rather than a URL path segment, it never passes through Starlette's usual path-segment handling and ../ sequences reach os.path.join unmodified. The endpoint module does not import Depends and declares no auth dependency, in contrast to manga.py in the same codebase which uses dependencies=[Depends(deps.get_current_user)]. backend/config.py places db_path (base_dir/MyMangaDB.db) and image_path (base_dir/images) as siblings, so traversal out of the image directory resolves onto the live database in the default layout. The fix commit 2ad34ea785c01d096b38a01420d56fc5a1078db4 also hardens the database import/export router with superuser dependencies, ZIP-slip checks and a size cap; the image route fix adds an auth dependency and sanitizes the filename (basename plus rejection of residual path separators).
Know when Mymangadb gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Unauthenticated network endpoint with no UI and trivial traversal gives AV:N/AC:L/PR:N/UI:N; database overwrite yields admin takeover and data destruction, so C/I/A all High, scope unchanged.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Technical POC Analysis
CWE-22 path traversal in MyMangaDB's own first-party upload route, compounded by CWE-306 missing authentication.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-77296 is a critical unauthenticated file write vulnerability in MyMangaDB (versions up to and including 2.7.1) that enables a remote attacker to overwrite the live SQLite database and inject an administrator account, leading to full application compromise and service disruption. Leadership should prioritize remediation because this flaw requires no authentication, has a public proof-of-concept reference, and directly threatens data integrity and availability of the manga database service, potentially exposing sensitive content and disrupting operations.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Unauthenticated database import in MyMangaDB before 2.7.2 allows anyone who can reach the HTTP service to replace the li
Unauthenticated information disclosure in MyMangaDB prior to 2.7.2: a single GET to /api/v1/database/export returns a ZI
EUVD-2026-129191
NVD
CVE.org
EPSS
GitHub
Exploit-DB