Skip to main content

CVE-2026-21449 — Vulnerability in bagisto/bagisto — CVE Details

HIGH

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

Published January 2, 2026Updated February 3, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.69%). Schedule for your next planned update.

Does your project use an affected bagisto/bagisto version?

Paste your composer.lock to check it for CVE-2026-21449 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

Summary

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

Impact

This can lead to RCE, command injection.

Advisory Timeline

  • First published January 2, 2026 (328 days ago).
  • Last revised February 3, 2026 — 31 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update bagisto/bagisto to 2.3.10 or later
composer require "bagisto/bagisto:^2.3.10"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: Packagist (1).

PackageFixed In
bagisto/bagisto Packagist · Affected: v0.1.0, v0.1.1, v0.1.2, v0.1.3 (+62 more)2.3.10

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-21449?
Bagisto is vulnerable to SSTI via name parameters provided by non-admin low-privilege users. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2026-21449?
CVE-2026-21449 affects bagisto/bagisto. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-21449 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.69%
EPSS percentile: 48.2

This is a below-median EPSS score — only 48.2% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-mqhg-v22x-pqj8

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock