CVE-2026-44641

Microsoft APM: plugin.json component paths escape plugin root and copy arbitrary host files during install

Published May 15, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
Microsoft APM is an open-source, community-driven dependency manager for AI agents. Prior to 0.8.12, Microsoft APM normalizes marketplace plugins by copying plugin components referenced in plugin.json into .apm/. The manifest fields agents, skills, commands, and hooks are attacker-controlled, but the implementation does not enforce that those paths remain inside the plugin directory. A malicious plugin can therefore use absolute paths or ../ traversal paths to copy arbitrary readable host files or directories from the installer's machine during apm install. This vulnerability is fixed in 0.8.12.

Analysis

AI-generated

Technical impact

Microsoft APM allowed plugin developers to specify component file paths in plugin.json that were not constrained to the plugin directory. Attackers could therefore supply absolute paths or path‑traversal sequences like "../" to copy arbitrary readable files or directories from the host machine into the plugin installation location. The result is that sensitive data on the installer’s system can be read and placed in the plug‑in’s workspace without authorization. This flaw is classified as CWE‑22 (Path Traversal) and CWE‑73 (Path Manipulation).

Affected Systems

Microsoft APM versions older than 0.8.12 are affected. The vulnerability manifests when installing marketplace plugins, as the implementation copies referenced components into .apm/ without validating the paths. Any instance of APM prior to 0.8.12 that accepts external plugin manifests can be impacted.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity vulnerability. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog, suggesting no confirmed widespread exploitation. The attack vector is inferred to be the installation of a malicious plugin from the marketplace; an attacker must be able to supply or modify the plugin.json file during installation. Fixing the vulnerability by upgrading to 0.8.12 removes the path validation flaw, preventing arbitrary file reads during plugin install.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Microsoft APM version 0.8.12 or later, which implements proper path validation for plugin components.
  • If an upgrade is not immediately possible, limit plugin installation to trusted, manually reviewed sources and cross‑check the plugin.json paths for absolute or traversal references.
  • Monitor install logs for unexpected file system activity and, if available, configure alerts for file copies during plugin deployment.

Generated by OpenCVE AI on May 15, 2026 at 17:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-xhrw-5qxx-jpwr Microsoft APM CLI's plugin.json component paths escape plugin root and copy arbitrary host files during install
History
Type Values Removed Values Added
First Time appeared Microsoft
Microsoft apm
Vendors & Products Microsoft
Microsoft apm
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Microsoft APM is an open-source, community-driven dependency manager for AI agents. Prior to 0.8.12, Microsoft APM normalizes marketplace plugins by copying plugin components referenced in plugin.json into .apm/. The manifest fields agents, skills, commands, and hooks are attacker-controlled, but the implementation does not enforce that those paths remain inside the plugin directory. A malicious plugin can therefore use absolute paths or ../ traversal paths to copy arbitrary readable host files or directories from the installer's machine during apm install. This vulnerability is fixed in 0.8.12.
Title Microsoft APM: plugin.json component paths escape plugin root and copy arbitrary host files during install
Weaknesses CWE-22
CWE-73
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 15, 2026, 5:49 PM
Reserved
May 7, 2026, 3:30 PM
Status
Deferred
Published
May 15, 2026, 5:16 PM
Modified
Oct 26, 2026, 2:10 PM