Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as Empire operator
-
DeliveryPOST multipart upload with ../ in filename
-
ExploitBypass downloads directory containment
-
ExecutionWrite file to sensitive path
-
ImpactExecute code on C2 server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Empire operator session (PR:L) with network access to the C2 REST API; the attacker submits a multipart file upload to POST /api/v2/users/{uid}/avatar or POST /api/v2/downloads/ with a path-traversal sequence in the multipart filename parameter. Exploitation is limited to Empire deployments before 6.7.1 and requires valid operator credentials or a hijacked session - it is not remotely unauthenticated. It affects default configurations of vulnerable versions since the filename was never validated; the fix (v6.7.1) rejects traversal filenames, so patched instances are not exploitable. |
| Impact | The vendor CVSS 4.0 vector (8.7, AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) describes an authenticated network-reachable path traversal that yields file-write-to-RCE on the Empire C2 server. The signals are internally consistent: PR:L reflects that exploitation requires a valid Empire operator account/session (the upload endpoints POST /api/v2/users/{uid}/avatar and POST /api/v2/downloads/ are behind CurrentSession auth), AC:L reflects a deterministic traversal with no special timing, and VC/VI/VA:H reflect arbitrary code execution. My independent CVSS 3.1 assessment is ~8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), broadly agreeing with the vendor. Exploitation status is 'no public exploit identified at time of analysis' - there is no CISA KEV listing, no EPSS score, and no public POC in the provided data, only a vendor advisory (VulnCheck) and a confirmed patch (commit c33a626, v6.7.1). The realistic risk is meaningfully tempered by the threat model: the affected asset is an Empire C2 teamserver, which is offensive-security infrastructure operated by red teams, not broadly-deployed enterprise software, and the attacker must already be an authenticated operator - so this is primarily a privilege/containment issue on a multi-operator or exposed teamserver rather than a mass-exploitable internet flaw. No key data conflicts, but note EPSS/KEV/POC are all absent, so exploitation probability is inferred from the mechanism (simple, reliable traversal) rather than observed activity. |
| Exploit ScenarioDerived | An authenticated Empire operator (or an attacker with stolen/low-privilege operator credentials) sends a multipart upload to the avatar or downloads endpoint with a crafted Content-Disposition filename containing '../' sequences, causing the server to write attacker-controlled content outside the downloads directory. By targeting a Python module path, startup script, or other executed location on the C2 server, the attacker achieves code execution on the teamserver. No public POC or active exploitation is indicated at time of analysis, though the patched code and issue #824 confirm the mechanism. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
BC Security Empire before 6.7.1 is affected by an authenticated path traversal vulnerability in its multipart file upload flow; an operator with a valid Empire session can place a traversal sequence in the uploaded filename and write files outside the intended downloads directory on the C2 server, potentially achieving code execution. The issue is fixed in 6.7.1, which validates filenames and resolves upload paths safely; no public exploit identified at time of analysis, and CVSS 4.0 rates it 8.7 (assessed CVSS 3.1 8.8) with high confidentiality, integrity, and availability impact. Exploitation requires network access to the C2 REST API and valid credentials or a hijacked operator session, so patched or access-restricted deployments are not exposed.
RemediationAI
Upgrade to BC Security Empire 6.7.1 or later; the vendor-released patch is 6.7.1, available from the v6.7.1 release at https://github.com/BC-SECURITY/Empire/releases/tag/v6.7.1, and the fix commit is https://github.com/BC-SECURITY/Empire/commit/c33a626316cb20bc8ed707e03a22d324d5d4762a (details in https://www.vulncheck.com/advisories/bc-security-empire-before-6.7.1-path-traversal-file-upload-rce). If immediate patching is not possible, restrict the Empire C2 REST API to trusted management networks and block or filter POST /api/v2/users/{uid}/avatar and POST /api/v2/downloads/ at a reverse proxy or WAF, accepting that avatar and download upload features will be unavailable or that false positives may occur; enforce strong, unique operator credentials and monitor for multipart filenames containing ../, absolute paths, or unexpected encoded traversal sequences. These compensating controls reduce exposure but do not fully eliminate the file-write primitive for an authenticated attacker, so patching remains the primary remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic CWE-22 path traversal in BC Security Empire's FastAPI-based C2 server. Upload endpoints accept multipart/form-data, and Starlette/Python's multipart parser preserves the client-supplied filename in UploadFile.filename without sanitization; vulnerable versions such as 6.6.0 (see download_service.py lines 148-193) concatenate that filename into a destination path under the downloads directory. By embedding ../ sequences, an authenticated operator can escape the intended directory. The v6.7.1 fix introduces SafeUploadFile and validate_upload in shared_dependencies.py, which calls safe_filename and rejects invalid names with HTTP 400, and hardens the download service with _secure_upload_location and is_path_within to ensure resolved paths remain under the base directory. CPE cpe:2.3:a:bc-security:empire:*:*:*:*:*:*:*:* and EUVD range 0 to <6.7.1 confirm the affected scope.
Know when Empire gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable REST API with a deterministic traversal (AC:L), requires an authenticated operator (PR:L), no user interaction, and arbitrary file write leading to code execution on the C2 host (C/I/A:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
BC Security Empire before 6.7.1 fails to validate the multipart filename parameter in upload endpoints, allowing authenticated operators to write files to arbitrary paths on the C2 server. Attackers can use path traversal sequences in the filename to bypass directory containment and write malicious files to sensitive locations for code execution.
Executive ViewAI
BC Security Empire command-and-control deployments prior to version 6.7.1 carry a high-severity flaw that could let an operator or hijacked session write files outside intended directories on the C2 server, potentially enabling code execution. This matters because C2 infrastructure often stores sensitive operational data and credentials, so a compromise could disrupt red team activities and expose internal systems. Leadership should prioritize patching all affected Empire instances to 6.7.1 and limiting C2 API exposure while no public exploit has been identified at time of analysis.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-81020
GHSA-6h6w-7p6f-xrh3
NVD
CVE.org
EPSS
Exploit-DB