Read the docs
TI-2023-26919 Aliases CVE-2023-49283GHSA-mhhp-c3cm-2r86

Test code in published microsoft-graph-core package exposes phpinfo()

Priority LOW 29CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.

Summary

microsoft-graph-core the Microsoft Graph Library for PHP. The Microsoft Graph Beta PHP SDK published packages which contained test code that enabled the use of the phpInfo() function from any application that could access and execute the file at `vendor/microsoft/microsoft-graph-core/tests/GetPhpInfo.php`. The phpInfo function exposes system information. The vulnerability affects the GetPhpInfo.php script of the PHP SDK which contains a call to the phpinfo() function. This vulnerability requires a misconfiguration of the server to be present so it can be exploited. For example, making the PHP application’s /vendor directory web accessible. The combination of the vulnerability and the server misconfiguration would allow an attacker to craft an HTTP request that executes the phpinfo() method. The attacker would then be able to get access to system information like configuration, modules, and environment variables and later on use the compromised secrets to access additional data. This problem has been patched in version 2.0.2. If an immediate deployment with the updated vendor package is not available, you can perform the following temporary workarounds: delete the `vendor/microsoft/microsoft-graph-core/tests/GetPhpInfo.php` file, remove access to the /vendor directory, or disable the phpinfo function

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.02203 82nd percentileScored 2026-11-07
Fix Fixed msgraph-sdk-php-core (microsoftgraph): 2.0.2microsoft/microsoft-graph-core (Packagist): 2.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
microsoftgraphmsgraph-sdk-php-corebefore 2.0.22.0.2Patch availableCNA
—microsoft/microsoft-graph-core (Packagist)before 2.0.22.0.2Patch availableGHSA-mhhp-c3cm-2r86
  • msgraph-sdk-php-core Vendormicrosoftgraph Affected before 2.0.2 Fixed in 2.0.2 Patch available CNA
  • microsoft/microsoft-graph-core (Packagist) Vendor— Affected before 2.0.2 Fixed in 2.0.2 Patch available GHSA-mhhp-c3cm-2r86

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:microsoft:graph:*:*:*:*:*:*:*:*before 2.0.2VulnerableMicrosoft
  • cpe:2.3:a:microsoft:graph:*:*:*:*:*:*:*:* Versions before 2.0.2 Vulnerable ·Microsoft

Remediation

  • Fix · CNA msgraph-sdk-php-core (microsoftgraph) Fixed in 2.0.2
  • Fix · GHSA-mhhp-c3cm-2r86 microsoft/microsoft-graph-core (Packagist) Fixed in 2.0.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-49283
  2. 2026-10-03 Alias added: GHSA-mhhp-c3cm-2r86

References

  • TI-2026-36363 Microsoft Graph Information Disclosure Vulnerability CVSS 3.1MEDIUM 6.5
  • TI-2026-35163 Microsoft Graph Information Disclosure Vulnerability CVSS 3.1MEDIUM 6.5
  • TI-2023-26918 Test code in published microsoft-graph package exposes phpinfo() CVSS 3.1MEDIUM 5.4

Sources