{
  "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": "92c7400486f5fe9f350046e04e45a8502778bf39"
            }
          ],
          "repo": "https://github.com/leepeuker/movary",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-7r3f-9fwv-p43w"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40350.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 access the user-management endpoints `/settings/users` and use them to enumerate all users and create a new administrator account. This happens because the route definitions do not enforce admin-only middleware, and the controller-level authorization check uses a broken boolean condition. As a result, any user with a valid web session cookie can reach functionality that should be restricted to administrators. Version 0.71.1 patches the issue.",
  "id": "CVE-2026-40350",
  "modified": "2026-07-15T01:48:56.366328397Z",
  "published": "2026-04-18T00:07:33.324Z",
  "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-40350.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/leepeuker/movary/security/advisories/GHSA-7r3f-9fwv-p43w"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40350"
    },
    {
      "type": "FIX",
      "url": "https://github.com/leepeuker/movary/commit/92c7400486f5fe9f350046e04e45a8502778bf39"
    },
    {
      "type": "FIX",
      "url": "https://github.com/leepeuker/movary/pull/749"
    }
  ],
  "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": "Movary User Management (/settings/users) has Authorization Bypass that Allows Low-Privileged Users to Enumerate All Users and Create Administrator Accounts"
}