{"answers":{"affected":"2 open source packages ship an affected version, including craftcms/cms.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50279 exists.","fix":"Upgrade craftcms/cms to 5.9.21 or later.","what":"CVE-2026-50279 is a high-severity missing authorization vulnerability in craftcms cms, published on 1 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-50279 and fix it if it is affected.\n\nWhat it is: CVE-2026-50279 is a high-severity missing authorization vulnerability in craftcms cms, published on 1 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50279 exists.\n\nAffected packages and fixed versions:\n- craftcms/cms (Packagist): affected from 5.0.0-RC1; fixed in 5.9.21\n- craftcms/cms (Packagist): affected from 5.0.0-RC1; fixed in 5.9.21\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-50279/ (Markdown: https://insights.sbomify.com/CVE-2026-50279/index.md)","id":"CVE-2026-50279","markdown":"https://insights.sbomify.com/CVE-2026-50279/index.md","name":"CVE-2026-50279","record":{"aliases":["GHSA-qq2c-2q8j-jh27"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Craft CMS","requires_auth":"low_privilege","summary":"Low-privileged users can spoof entry authorship in Craft CMS by exploiting an authorization gap during entry saving, bypassing peer-author-change permissions.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"description":"Craft CMS is a content management system (CMS). IN versions 5.0.0-RC1 and above prior to 5.9.21, theEntriesController::actionSaveEntry() performs entry-edit permission checks before request-controlled author changes are applied to the model, allowing for authorship spoofing. The subsequent author mutation path accepts attacker-supplied authors / author parameters and allows the change when the current user is one of the old authors. Because the controller does not re-run authorization after mutating the author list, a low-privileged user can reassign an entry’s authorship to another user without holding the dedicated peer-author-change permission. This issue has been fixed in version 5.9.21.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Craft CMS: Authorship spoofing in `entries/save-entry` via pre-check/post-mutation authorization gap","id":"CVE-2026-50279","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Craft CMS: Authorization bypass in `entries/move-to-section` via missing target-section save check","id":"CVE-2026-50280"},"packages":[{"ecosystem":"Packagist","fixed":["5.9.21"],"introduced":["5.0.0-RC1"],"last_affected":[],"package":"craftcms/cms","purl":null,"source":"GHSA-qq2c-2q8j-jh27"},{"ecosystem":"Packagist","fixed":["5.9.21"],"introduced":["5.0.0-RC1"],"last_affected":[],"package":"craftcms/cms","purl":"pkg:composer/craftcms/cms","source":"GHSA-qq2c-2q8j-jh27"}],"prev":{"headline":"iccDEV: CIccEmbedIO::Read8() size_t underflow","id":"CVE-2026-50278"},"products":["cms"],"published":"2026-07-01","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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-07-02","vendors":["craftcms"]},"summary":"Low-privileged users can spoof entry authorship in Craft CMS by exploiting an authorization gap during entry saving, bypassing peer-author-change permissions.","url":"https://insights.sbomify.com/CVE-2026-50279/"}