{"answers":{"affected":"6 open source packages ship an affected version, including sylius/sylius.","exploited":"There is no known exploitation of CVE-2026-53638 in the wild and no public exploit code.","fix":"Upgrade sylius/sylius to a fixed version for your release line: 2.0.18, 2.1.15 or 2.2.6.","what":"CVE-2026-53638 is a medium-severity missing authorization vulnerability in Sylius, published on 8 Sep 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-53638 and fix it if it is affected.\n\nWhat it is: CVE-2026-53638 is a medium-severity missing authorization vulnerability in Sylius, published on 8 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-53638 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- sylius/sylius (Packagist): affected from 2.0.0; fixed in 2.0.18\n- sylius/sylius (Packagist): affected from 2.0.0; fixed in 2.0.18\n- sylius/sylius (Packagist): affected from 2.1.0; fixed in 2.1.15\n- sylius/sylius (Packagist): affected from 2.1.0; fixed in 2.1.15\n- sylius/sylius (Packagist): affected from 2.2.0; fixed in 2.2.6\n- sylius/sylius (Packagist): affected from 2.2.0; fixed in 2.2.6\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-53638/ (Markdown: https://insights.sbomify.com/CVE-2026-53638/index.md)","id":"CVE-2026-53638","markdown":"https://insights.sbomify.com/CVE-2026-53638/index.md","name":"CVE-2026-53638","record":{"aliases":["GHSA-6955-hrm5-c4qp"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Sylius eCommerce Framework","requires_auth":"low_privilege","summary":"Authenticated users can bypass channel restrictions to assign unauthorized payment methods to their orders via the shop account API.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"Sylius is an Open Source eCommerce Framework on Symfony. Starting in version 2.0.0 and prior to version 2.0.18, 2.1.15, and 2.2.6, an authorization bypass vulnerability exists in the shop account API. The `PATCH /api/v2/shop/account/orders/{tokenValue}/payments/{paymentId}` endpoint, used by an authenticated shop customer to change the payment method of an order that has been placed but not yet paid (state `STATE_NEW`), does not validate that the chosen payment method is enabled for the order's channel. The equivalent checkout endpoint (`PATCH /api/v2/shop/orders/{tokenValue}/payments/{paymentId}`) correctly rejects out-of-channel payment methods with `HTTP 422`; the account endpoint silently accepts them and returns `HTTP 200`. An authenticated customer can therefore assign any globally enabled payment method to their own placed order, including methods that the store operator has explicitly excluded from that channel. The issue is fixed in versions: 2.0.18, 2.1.15, 2.2.6 and above. As a workaround, decorate the `Sylius\\Bundle\\ApiBundle\\Changer\\PaymentMethodChangerInterface` service in the application.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Sylius: Channel-based payment method restriction bypass on shop account orders API endpoint","id":"CVE-2026-53638","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":6,"n_references":1,"next":{"headline":"Sylius: IDOR on Shop Payment Request API endpoints","id":"CVE-2026-53639"},"packages":[{"ecosystem":"Packagist","fixed":["2.0.18"],"introduced":["2.0.0"],"last_affected":[],"package":"sylius/sylius","purl":null,"source":"GHSA-6955-hrm5-c4qp"},{"ecosystem":"Packagist","fixed":["2.0.18"],"introduced":["2.0.0"],"last_affected":[],"package":"sylius/sylius","purl":"pkg:composer/sylius/sylius","source":"GHSA-6955-hrm5-c4qp"},{"ecosystem":"Packagist","fixed":["2.1.15"],"introduced":["2.1.0"],"last_affected":[],"package":"sylius/sylius","purl":null,"source":"GHSA-6955-hrm5-c4qp"},{"ecosystem":"Packagist","fixed":["2.1.15"],"introduced":["2.1.0"],"last_affected":[],"package":"sylius/sylius","purl":"pkg:composer/sylius/sylius","source":"GHSA-6955-hrm5-c4qp"},{"ecosystem":"Packagist","fixed":["2.2.6"],"introduced":["2.2.0"],"last_affected":[],"package":"sylius/sylius","purl":null,"source":"GHSA-6955-hrm5-c4qp"},{"ecosystem":"Packagist","fixed":["2.2.6"],"introduced":["2.2.0"],"last_affected":[],"package":"sylius/sylius","purl":"pkg:composer/sylius/sylius","source":"GHSA-6955-hrm5-c4qp"}],"prev":{"headline":"Sylius: Cart FormComponent allows modification or deletion of an already-completed order","id":"CVE-2026-53637"},"products":["Sylius"],"published":"2026-09-08","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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-14","vendors":["Sylius"]},"summary":"Authenticated users can bypass channel restrictions to assign unauthorized payment methods to their orders via the shop account API.","url":"https://insights.sbomify.com/CVE-2026-53638/"}