Original description
The customer update route in EverShop is declared with "access": "public" in packages/evershop/src/modules/customer/api/updateCustomer/route.json, which causes the admin authentication middleware to call next() without checking the caller, and no customer-session middleware guards the route; the only middleware in the chain parses the JSON body. The handler in updateCustomer.js then loads the customer by the uuid taken from the URL path and writes the supplied fields back to that record, hashing a password if one is provided, without verifying that the caller owns the record. An unauthenticated request carrying a known customer uuid can therefore overwrite that customer's email address and password and read back the updated record from the 200 response, taking over the account and locking out its owner. Customer uuids are exposed through order confirmation email links and administrative URLs. Version 2.2.1 changes the route to "access": "private".
Affected software
- EverShop < 2.2.1 Fixed in: 2.2.1 repository or package match
Details
- Published
- 2026-08-21
- Last modified
- 2026-10-02
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- CWE
- CWE-862
- EPSS (30-day exploit probability)
- 0.84% (percentile 58)
References
- cve.org/CVE-2026-72843
- nvd.nist.gov/vuln/detail/CVE-2026-72843
- github.com/evershopcommerce/evershop/issues/952
- github.com/evershopcommerce/evershop/blob/v2.1.2/packages/evershop/src/modules/customer/ap...
- github.com/evershopcommerce/evershop/blob/v2.1.2/packages/evershop/src/modules/customer/ap...
- github.com/evershopcommerce/evershop/releases/tag/v2.2.1
- github.com/evershopcommerce/evershop
- www.vulncheck.com/advisories/evershop-missing-authorization-on-patch-api-customers-id-allo...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.