{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:leepeuker:movary:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.71.1"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d459b3513293d41254f7093aef07010a8e5dcf04"
            },
            {
              "fixed": "12c8a090051b1a1c07a3aa48922f3bc9ffe44c8b"
            }
          ],
          "repo": "https://github.com/leepeuker/movary",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-mcfq-8rx7-w25v"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40349.json"
  },
  "details": "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.",
  "id": "CVE-2026-40349",
  "modified": "2026-07-15T01:49:09.156800361Z",
  "published": "2026-04-18T00:05:46.360Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/leepeuker/movary/releases/tag/0.71.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40349.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/leepeuker/movary/security/advisories/GHSA-mcfq-8rx7-w25v"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40349"
    },
    {
      "type": "FIX",
      "url": "https://github.com/leepeuker/movary/commit/12c8a090051b1a1c07a3aa48922f3bc9ffe44c8b"
    },
    {
      "type": "FIX",
      "url": "https://github.com/leepeuker/movary/pull/750"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Authenticated Movary User Can Self-Escalate to Administrator via PUT /settings/users/{userId} by Setting isAdmin=true"
}