Skip to main content

MyMangaDB EUVDEUVD-2026-129194

| CVE-2026-77297 CRITICAL
Missing Authentication for Critical Function (CWE-306)
2026-11-18 GitHub_M
9.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach unauthenticated /api/v1/database/import
  2. Delivery
    Upload ZIP with malicious .db (users table)
  3. Exploit
    Handler overwrites live DATABASE_PATH and images
  4. Execution
    Authenticate as planted admin account
  5. Impact
    Full 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

MyMangaDB < 2.7.2

Affected Packages

euvd mymangadb fix: 2.7.2

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

Vendor (GitHub_M) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 21:03 EUVD
CVE Published
Nov 18, 2026 - 20:29 cve.org
CRITICAL 9.3

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

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Rare
niche self-hosted hobby manga manager, no meaningful enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy