# CVE-2026-40349

> Vulnerability · severity: **HIGH** (CVSS 8.8).

## Description

Movary is a self hosted web app to track and rate a user's watched movies. Prior to version 0.71.1, an ordinary authenticated user can escalate their own account to administrator by sending `isAdmin=true` to `PUT /settings/users/{userId}` for their own user ID. The endpoint is intended to let a user edit their own profile, but it updates the sensitive `isAdmin` field without any admin-only authorization check. Version 0.71.1 patches the issue.

## Key facts

- **CVE ID:** CVE-2026-40349
- **Published:** 2026-04-18
- **CVSS severity:** HIGH
- **CVSS base score:** 8.8
- **CWE codes:** CWE-862

## Affected products

- `leepeuker:movary`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-40349

## Citation

> AI Analytics. CVE-2026-40349. Retrieved 2026-07-19 from https://api.ai-analytics.org/cve/CVE-2026-40349. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*