CVE-2021-21270 in Octopusdsc
OctopusDSC is a PowerShell module with DSC resources that can be used to install and configure an Octopus Deploy Server and Tentacle agent. In OctopusDSC version 4.0.977 and earlier a customer API key used to connect to Octopus Server is exposed via logging in plaintext. This vulnerability is patched in version 4.0.1002.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Octopus | Octopusdsc | < 4.0.1002 |
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
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
OctopusDSC is a PowerShell module with DSC resources that can be used to install and configure an Octopus Deploy Server and Tentacle agent. In OctopusDSC version 4.0.977 and earlier a customer API key used to connect to Octopus Server is exposed via logging in plaintext. This vulnerability is patched in version 4.0.1002.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-21270 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-240952-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Published | 2021-01-22 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-319: CWE-319
Related attack patterns (CAPEC)
CAPEC-65 Sniff Application Code via CWE-319
CAPEC-102 Session Sidejacking via CWE-319
CAPEC-383 Harvesting Information via API Event Monitoring via CWE-319
CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content via CWE-319
CAPEC-117 Interception via CWE-319
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2021. A medium severity vulnerability affects Octopus systems (CVE-2021-21270). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: OctopusDSC is a PowerShell module with DSC resources that can be used to install and configure an Octopus Deploy Server and Tentacle agent. In OctopusDSC version 4.0.977 and earlier a customer API key used to connect to Octopus Server is exposed via logging in plaintext. This vulnerability is patched in version 4.0.1002. CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
Questions
What is CVE-2021-21270?
This vulnerability was disclosed in 2021. A medium severity vulnerability affects Octopus systems (CVE-2021-21270). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2021-21270?
CVE-2021-21270 has CVSS 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.3%.
Is CVE-2021-21270 actively exploited?
No confirmed active exploitation of CVE-2021-21270 as of 2026-09-25.
How do I remediate CVE-2021-21270?
Priority: MONITOR.
What systems are affected by CVE-2021-21270?
CVE-2021-21270 affects Octopus Octopusdsc.
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":"Octopus","product":"Octopusdsc","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.