Advisory record · GHSA-792f-c8mp-2cr5

Magento OS command injection via the WebAPI

CVSS 9.1 CriticalCriticalEPSS 0.048 · 92nd percentile

Critical, because:

  • CVSS score 9.1: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 24 May 2022, 17:41 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
magento/community-editionPackagist<2.3.6-p1 || >=2.4.0, <2.4.22.3.6-p1, 2.4.2
magento/project-community-editionPackagist<=2.0.2No fixed version yet
Identifiers
GHSA-792f-c8mp-2cr5 · BIT-magento-2021-21016 · CVE-2021-21016 · PKSA-3x4h-dj99-1bb6 · PKSA-g12r-tk3d-rbjb
Weakness (CWE)
CWE-78
Published
24 May 2022
Updated
10 Feb 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Magento community-edition versions before 2.3.6-p1, and from 2.4.0 before 2.4.2, are affected by OS command injection through the WebAPI. An authenticated attacker with access to the admin console could exploit this to execute remote code. Upgrade magento/community-edition to 2.3.6-p1 or 2.4.2. No fix is listed for magento/project-community-edition, which is affected up to 2.0.2.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.1 Critical 3.0 CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H CNA (adobe)
  • CISA KEV Not listed.
  • EPSS 0.048, the 92nd percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:27 UTC First seen by agentprime
  2. 31 Oct 2026, 14:27 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.