{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40349 exists.","fix":"No fix has been published for CVE-2026-40349 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-40349 is a high-severity vulnerability in leepeuker movary, published on 18 Apr 2026."},"fix_prompt":"Check this codebase for CVE-2026-40349 and fix it if it is affected.\n\nWhat it is: CVE-2026-40349 is a high-severity vulnerability in leepeuker movary, published on 18 Apr 2026. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40349 exists.\n\nAffected product: leepeuker movary. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40349/ (Markdown: https://insights.sbomify.com/CVE-2026-40349/index.md)","id":"CVE-2026-40349","markdown":"https://insights.sbomify.com/CVE-2026-40349/index.md","name":"CVE-2026-40349","record":{"aliases":["GHSA-mcfq-8rx7-w25v"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"movary","vendor":"leepeuker"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Authenticated Movary User Can Self-Escalate to Administrator via PUT /settings/users/{userId} by Setting isAdmin=true","id":"CVE-2026-40349","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"Missing authorization in movary","id":"CVE-2026-40350"},"packages":[],"prev":{"headline":"Movary has Authenticated SSRF via Jellyfin Server URL Verification that Allows Internal Network Probing","id":"CVE-2026-40348"},"products":["movary"],"published":"2026-04-18","related":[{"cvss_score":9.3,"headline":"Movary vulnerable to Cross-site Scripting with `?categoryUpdated=` param","id":"CVE-2026-23839","kev_date_added":null,"published":"2026-01-19"},{"cvss_score":9.3,"headline":"Movary vulnerable to Cross-site Scripting with `?categoryDeleted=` param","id":"CVE-2026-23840","kev_date_added":null,"published":"2026-01-19"},{"cvss_score":9.3,"headline":"Movary vulnerable to Cross-site Scripting with `?categoryCreated=` param","id":"CVE-2026-23841","kev_date_added":null,"published":"2026-01-19"},{"cvss_score":8.8,"headline":"Missing authorization in movary","id":"CVE-2026-40350","kev_date_added":null,"published":"2026-04-18"},{"cvss_score":7.7,"headline":"Movary has Authenticated SSRF via Jellyfin Server URL Verification that Allows Internal Network Probing","id":"CVE-2026-40348","kev_date_added":null,"published":"2026-04-18"},{"cvss_score":5.1,"headline":"Movary unvalidated Referer header allows open redirect and phishing","id":"CVE-2025-64115","kev_date_added":null,"published":"2025-10-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-20","vendors":["leepeuker"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-40349/"}