CVE-2021-3187 in Beyondtrust Privilege Management For Mac and 1 more product
An issue was discovered in BeyondTrust Privilege Management for Mac before 5.7. An authenticated, unprivileged user can elevate privileges by running a malicious script (that executes as root from a temporary directory) during install time. (This applies to macOS before 10.15.5, or Security Update 2020-003 on Mojave...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Beyondtrust | Privilege Management For Mac | < 5.7 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Apple Mac Os X
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An issue was discovered in BeyondTrust Privilege Management for Mac before 5.7. An authenticated, unprivileged user can elevate privileges by running a malicious script (that executes as root from a temporary directory) during install time. (This applies to macOS before 10.15.5, or Security Update 2020-003 on Mojave and High Sierra, Later versions of macOS are not vulnerable.)
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-3187 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-053798-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-12-11 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-276: Incorrect Default Permissions
Software sets overly permissive default access rights during installation or resource creation.
Related attack patterns (CAPEC)
CAPEC-81 Web Server Logs Tampering via CWE-276
CAPEC-127 Directory Indexing via CWE-276
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-276
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in BeyondTrust Privilege Management for Mac before version 5.7 allows an authenticated, unprivileged user to elevate privileges by executing a malicious script as root during the installation process. This affects macOS versions prior to 10.15.5 or Security Update 2020-003 on Mojave and High Sierra.
The attack vector involves an authenticated, unprivileged user running a malicious script that is executed with root privileges from a temporary directory during the installation of BeyondTrust Privilege Management for Mac. This script can be crafted to perform actions that require elevated permissions, potentially leading to unauthorized access or system compromise.
Questions
What is CVE-2021-3187?
A vulnerability in BeyondTrust Privilege Management for Mac before version 5.7 allows an authenticated, unprivileged user to elevate privileges by executing a malicious script as root during the installation process. This affects macOS versions prior to 10.15.5 or Security Update 2020-003 on Mojave and High Sierra.
What is the CVSS score for CVE-2021-3187?
CVE-2021-3187 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.6%.
Is CVE-2021-3187 actively exploited?
No confirmed active exploitation of CVE-2021-3187 as of 2026-09-25.
How do I remediate CVE-2021-3187?
Priority: IMMEDIATE. Advisory: https://www.beyondtrust.com/trust-center/security-advisories/bt22-06 PSIRT: [email protected]
What systems are affected by CVE-2021-3187?
CVE-2021-3187 affects Beyondtrust Privilege Management For Mac.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Beyondtrust","product":"Privilege Management For Mac","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.