Skip to main content

BC Security Empire CVE-2026-92748

| EUVDEUVD-2026-81020 HIGH
Path Traversal (CWE-22)
2026-09-16 VulnCheck GHSA-6h6w-7p6f-xrh3
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as Empire operator
  2. Delivery
    POST multipart upload with ../ in filename
  3. Exploit
    Bypass downloads directory containment
  4. Execution
    Write file to sensitive path
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Empire 0 <6.7.1

Affected Packages

euvd empire fix: 6.7.1

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 8.8 HIGH

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).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 50% exploitable
Prevalence
Low
niche open-source red-team C2 framework, no broad enterprise deployment
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy