Advisory record · GHSA-7mc6-x925-7qvx

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

CVSS 5.3 Medium

Published by the GitHub Advisory Database at 5 Dec 2023, 22:57 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
microsoft/microsoft-graph-betaPackagist<2.0.12.0.1
Identifiers
GHSA-7mc6-x925-7qvx · PKSA-8bwm-s41x-wqh4
Weakness (CWE)
CWE-200
Published
5 Dec 2023
Updated
1 Dec 2024

Machine-written summary

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

The microsoft/microsoft-graph-beta package before 2.0.1 shipped test code, a file that calls phpinfo(), which exposes system configuration, modules, and environment variables. An attacker can exploit this only if the server is misconfigured so the vendor directory is web accessible, and then send an HTTP request that runs the function and reads that information. Upgrade to version 2.0.1 or later. If upgrading is not immediately possible, delete the GetPhpInfo.php file under the package's tests directory or block web access to the vendor directory.

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
5.3 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 14:28 UTC First seen by agentprime
  2. 31 Oct 2026, 14:28 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.