CVE-2023-38218 — Vulnerability in magento/community-edition
Magento Open Source allows Incorrect Authorization
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.71%). Schedule for your next planned update.
Does your project use an affected magento/community-edition version?
Paste your composer.lock to check it for CVE-2023-38218 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.
Summary
Adobe Commerce versions 2.4.7-beta1 (and earlier), 2.4.6-p2 (and earlier), 2.4.5-p4 (and earlier) and 2.4.4-p5 (and earlier) are affected by an improper input validation vulnerability. An authenticated attacker can trigger an insecure direct object reference in the V1/customers/me endpoint to achieve information exposure and privilege escalation.
Advisory Timeline
- First published October 13, 2023 (1140 days ago).
- Last revised March 4, 2025 — 508 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "magento/community-edition:^2.4.7-beta2"
composer require "magento/community-edition:^2.4.5-p5"
composer require "magento/community-edition:^2.4.4-p6"
composer require "magento/community-edition:^2.4.6-p3"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (8)
Affects 1 ecosystem: Packagist (2).
| Package | Fixed In |
|---|---|
| magento/community-edition Packagist · Affected: 2.4.7-beta1 | 2.4.7-beta2 |
| magento/community-edition Packagist · Affected: 2.4.5-p1, 2.4.5-p2, 2.4.5-p3, 2.4.5-p4 | 2.4.5-p5 |
| magento/community-edition Packagist · Affected: 2.4.5 | No fix available |
| magento/community-edition Packagist · Affected: 2.4.4-p1, 2.4.4-p2, 2.4.4-p3, 2.4.4-p4 (+1 more) | 2.4.4-p6 |
| magento/community-edition Packagist · Affected: 2.4.6 | No fix available |
| magento/community-edition Packagist · Affected: 2.4.6-p1, 2.4.6-p2 | 2.4.6-p3 |
| magento/project-community-edition Packagist · Affected: 0.1.0-alpha100, 0.1.0-alpha101, 0.1.0-alpha102, 0.1.0-alpha103 (+49 more) | Range-based data available |
| magento/community-edition Packagist · Affected: 2.4.4 | No fix available |
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2023-38218?
- Magento Open Source allows Incorrect Authorization. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2023-38218?
- CVE-2023-38218 affects magento/community-edition and magento/project-community-edition. It has a 1.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-38218 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top quartile of EPSS-scored vulnerabilities — 77.8% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2025-49556HIGH
Magento has incorrect authorization issue that leads to arbitrary file system read
- CVE-2024-39399HIGH
Magento Path Traversal vulnerability
- CVE-2025-24438HIGH
Magento stored Cross-Site Scripting (XSS) vulnerability
- CVE-2024-39398HIGH
Magento does not properly restrict excessive authentication attempts
- CVE-2025-43585HIGH
Magento Improper Authorization leading to security feature bypass
- CVE-2025-24416HIGH
Magento Stored Cross-Site Scripting (XSS) Vulnerability
- CVE-2024-45116MEDIUM
Magento Open Source Cross-Site Scripting (XSS) vulnerability
- CVE-2023-38249MEDIUM
Magento Open Source allows SQL Injection