{"id":"GHSA-mqhg-v22x-pqj8","summary":"Bagisto is vulnerable to SSTI via name parameters provided by non-admin low-privilege users","details":"### Summary\nSSTI is possible via first name and last name parameters provided by lowest-privileged users.\n### Details\n1. Go to `http://127.0.0.1:8000/` and login or signup \n2. Go to `http://127.0.0.1:8000/customer/account/profile`\n3. Now edit the first name and last name to {{7*7}}\n4. Notice it appears as 49\n\n### POC\n- Video attached with the report: https://github.com/user-attachments/assets/f93932b5-2a57-4f34-897e-4151a5168912\n\n### Impact\nThis can lead to RCE, command injection.","aliases":["CVE-2026-21449"],"modified":"2026-02-03T03:15:39.290034Z","published":"2026-01-02T22:51:40Z","database_specific":{"github_reviewed_at":"2026-01-02T22:51:40Z","nvd_published_at":"2026-01-02T21:16:02Z","cwe_ids":["CWE-1336"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/bagisto/bagisto/security/advisories/GHSA-mqhg-v22x-pqj8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-21449"},{"type":"WEB","url":"https://github.com/bagisto/bagisto/commit/4144931da0014c696f9126132ce44d7cfbdb2761"},{"type":"PACKAGE","url":"https://github.com/bagisto/bagisto"},{"type":"WEB","url":"https://github.com/bagisto/bagisto/releases/tag/v2.3.10"}],"affected":[{"package":{"name":"bagisto/bagisto","ecosystem":"Packagist","purl":"pkg:composer/bagisto/bagisto"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.10"}]}],"versions":["v0.1.0","v0.1.1","v0.1.2","v0.1.3","v0.1.4","v0.1.4-BETA1","v0.1.4-BETA2","v0.1.4-BETA3","v0.1.4-BETA4","v0.1.5","v0.1.6","v0.1.6-ALPHA1","v0.1.7","v0.1.7-BETA1","v0.1.7-BETA2","v0.1.8","v0.1.9","v0.1.9-BETA1","v0.2.0","v0.2.1","v0.2.2","v1.0.0","v1.0.0-BETA1","v1.1.0","v1.1.1","v1.1.2","v1.2.0","v1.2.0-BETA1","v1.3.0","v1.3.1","v1.3.2","v1.3.3","v1.4.0","v1.4.1","v1.4.2","v1.4.3","v1.4.4","v1.4.5","v1.5.0","v1.5.1","v2.0.0","v2.0.0-BETA-1","v2.1.0","v2.1.1","v2.1.2","v2.2.0","v2.2.1","v2.2.10","v2.2.2","v2.2.3","v2.2.4","v2.2.5","v2.2.6","v2.2.7","v2.2.8","v2.2.9","v2.3.0","v2.3.1","v2.3.2","v2.3.3","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-mqhg-v22x-pqj8/GHSA-mqhg-v22x-pqj8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"}]}