Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach unauthenticated /api/v1/database/import
-
DeliveryUpload ZIP with malicious .db (users table)
-
ExploitHandler overwrites live DATABASE_PATH and images
-
ExecutionAuthenticate as planted admin account
-
ImpactFull data read/write and application takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No credentials and no user interaction are required: the /api/v1/database/import endpoint (and /export) in backend/app/api/v1/endpoints/database.py was mounted without any FastAPI auth dependency, unlike other routes. The only prerequisites are (1) network reachability of the application's HTTP port, and (2) a multipart POST body containing a ZIP archive that includes any file whose name ends in .db. For admin takeover specifically, the attacker must supply a SQLite database whose users table contains a row with a password hash they already know and an administrative role value, matching the schema in backend/app/models.py. What LIMITS real-world risk is not authentication or complexity (there is none) but deployment exposure: MyMangaDB is a self-hosted single-user/small-group application, so impact is confined to instances that are actually running and reachable by the attacker; only versions prior to 2.7.2 are affected. |
| Impact | This is a genuine high-priority issue, not an inflated-CVSS artifact. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes network-reachable, low-complexity, fully unauthenticated exploitation with high confidentiality, integrity and availability impact to the vulnerable system - consistent with the CWE-306 (Missing Authentication) root cause confirmed in the GHSA advisory, where /api/v1/database/import declared no FastAPI auth dependency while every other route did. The vuln.today decision label is act_now and the vendor has shipped a fix (2.7.2), which reinforces urgency. A detailed proof-of-concept is published in the advisory itself, so the practical barrier to exploitation is minimal. Counterweighing signals: no EPSS score and no CISA KEV entry were provided, so there is no evidence of active in-the-wild exploitation, and the affected product is a niche self-hosted hobby application rather than widely deployed enterprise software - meaning the realistic exposure is limited by small deployment footprint rather than by exploit difficulty. Net: mechanically trivial and severe per instance, but low aggregate threat due to narrow prevalence; prioritize patching for any organization actually running MyMangaDB, especially internet-exposed instances. |
| Exploit ScenarioDerived | An attacker who can reach the HTTP port of an internet-exposed or network-adjacent MyMangaDB instance POSTs a crafted ZIP containing a SQLite .db file whose users table holds an attacker-known bcrypt password hash and an admin role. The unauthenticated import handler moves this file over the live database, after which the attacker logs in as the planted administrator and gains full control; alternatively, uploading garbage that merely ends in .db destroys the existing library (denial of service). A working proof-of-concept for this exact flow is published in the project's GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Unauthenticated database import in MyMangaDB before 2.7.2 allows anyone who can reach the HTTP service to replace the live SQLite database and image store, plant an administrator account with a known password hash, and authenticate as that account; malformed replacement data can also destroy application data or availability. The affected route is /api/v1/database/import, which was mounted without the FastAPI authentication dependency used by other endpoints, and exploitation requires only network reachability plus a ZIP containing a .db file. The vendor fixed the issue in 2.7.2; the public advisory includes a proof-of-concept procedure, while the supplied data does not indicate CISA KEV confirmation or provide an EPSS score.
RemediationAI
Upgrade MyMangaDB to 2.7.2 or later; the vendor-released patch is version 2.7.2 (release tag v2.7.2), and the fix commit is 2ad34ea785c01d096b38a01420d56fc5a1078db4. The advisory (https://github.com/FabianRolfMatthiasNoll/MyMangaDB/security/advisories/GHSA-6fjr-pvm2-6xw2) states that the fix adds dependencies=[Depends(deps.get_current_active_superuser)] to both /export and /import, and the commit also adds a 1 GiB upload cap, zip-slip checks, database filename validation, and a backup before replacement. No vendor-documented workaround is provided in the supplied data; after upgrading, verify that /api/v1/database/import and /api/v1/database/export reject unauthenticated requests and require an active superuser.
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
The flaw is CWE-306 (Missing Authentication for Critical Function) in a FastAPI application: authentication is applied per route through dependencies such as deps.get_current_user or deps.get_current_active_superuser, but backend/app/api/v1/endpoints/database.py did not import Depends or attach any dependency to /export or /import, and the router was included without a dependencies argument. The /import handler accepts a multipart ZIP, selects an entry ending in .db, extracts it, and uses shutil.move to overwrite DATABASE_PATH and IMAGE_PATH. Because the application stores accounts in the SQLite users table with a role column (backend/app/models.py), an attacker can supply a database containing a users row with a known bcrypt hash and an administrative role, then log in through /api/v1/auth/login; the same overwrite primitive supports data destruction or denial of service. The assessed vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (unauthenticated, no user interaction), and only self-hosted instances running versions prior to 2.7.2 that are reachable by the attacker are in scope. The fix commit adds get_current_active_superuser dependencies to both routes and adds upload-size, zip-slip, and database-filename checks.
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 POST with no user interaction (AV:N/AC:L/PR:N/UI:N); full DB overwrite yields high confidentiality, integrity and availability impact, 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/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.
Articles & Coverage 1
Technical POC Analysis
Bug class: CWE-306 - Missing Authentication for Critical Functionality.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
MyMangaDB, a database application, has a critical vulnerability that allows unauthenticated attackers to replace its entire database, potentially granting administrative access and causing data loss or service disruption. Leadership should prioritize immediate remediation because this flaw affects any internet-reachable instance and enables full compromise with minimal effort.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Unauthenticated arbitrary file write in MyMangaDB up to and including 2.7.1 lets a remote attacker place a file anywhere
Unauthenticated information disclosure in MyMangaDB prior to 2.7.2: a single GET to /api/v1/database/export returns a ZI
EUVD-2026-129194
NVD
CVE.org
EPSS
GitHub
Exploit-DB