Advisory

GHSA-mqhg-v22x-pqj8

Also known as: CVE-2026-21449

Summary

Bagisto is vulnerable to SSTI via name parameters provided by non-admin low-privilege users

Details

Summary
SSTI is possible via first name and last name parameters provided by lowest-privileged users.
Details

  1. Go to http://127.0.0.1:8000/ and login or signup
  2. Go to http://127.0.0.1:8000/customer/account/profile
  3. Now edit the first name and last name to {{7*7}}
  4. Notice it appears as 49

POC

  • Video attached with the report: https://github.com/user-attachments/assets/f93932b5-2a57-4f34-897e-4151a5168912

Impact
This can lead to RCE, command injection.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-01-02 22:51 UTC
Modified
2026-02-03 03:15 UTC

Affected packages and fixes

bagisto/bagisto

Packagist · All systems

Affected

  • introduced 0, fixed 2.3.10 (ecosystem)

Fixed versions

2.3.10

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences