Mender Server: Authenticated remote code execution via path traversal (CVE-2026-49009)
Mender Server contains an authenticated path traversal vulnerability in its single-file artifact generation workflow that allows an attacker to overwrite executable binaries and achieve remote code execution in the backend worker.
CVE search metadata
CVE search record: CVE-2026-49009. KEV: no. Product: Mender Server. Brief: Mender Server: Authenticated remote code execution via path traversal (CVE-2026-49009). Brief link: https://feed.craftedsignal.io/briefs/2026-11-mender-server-rce-cve-2026-49009/
Triage facts
Revision 1- Applicability
- Mender Server
- Evidence
- Unknown
- Severity
- Critical
- Action
- Immediate escalation
- Sources
- 3 public sources
- Freshness
- Revision 1Nov 13, 19:47 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- B2Very likely
CVE-2026-49009 is an authenticated path traversal vulnerability in the Mender Server artifact generation process. An attacker with a valid account can exploit the 'args.filename' field during a single-file artifact generation request to write files outside of the intended directory. By targeting '/usr/bin/mender-artifact' within the worker container, an attacker can replace a trusted executable with a malicious payload. When the workflow subsequently executes the tampered binary, arbitrary code is executed within the backend worker environment.
Attack Chain
- Attacker authenticates as a tenant user.
- Attacker initiates a single-file artifact generation request.
- Attacker submits a malformed 'args.filename' containing path traversal sequences.
- Attacker uploads a malicious payload intended to replace the system binary.
- The worker container writes the attacker-supplied payload to '/usr/bin/mender-artifact'.
- The Mender Server workflow invokes the now-compromised '/usr/bin/mender-artifact' binary.
- The worker executes the attacker-controlled payload with the privileges of the worker runtime.
Impact
Successful exploitation leads to remote code execution in the backend worker container. This allows for persistent compromise of the worker, manipulation of artifact pipelines, exposure of sensitive tokens or credentials, and potential cross-tenant impact in shared infrastructure deployments.
Recommendation
Upgrade Mender Server to version 4.1.1 or 4.0.2 to remediate the vulnerability. Administrators should audit artifact generation logs for suspicious 'args.filename' inputs containing path traversal patterns (e.g., ../).
Immediate actions
Upgrade Mender Server to v4.1.1 or v4.0.2.
Threat Hunt
Search artifact generation logs for 'args.filename' containing traversal characters like '../' or absolute paths targeting '/usr/bin/'.
Data: Application logs for Mender Server artifact generation
Mitigations
Patch Mender Server to 4.1.1 or 4.0.2.
CVE-2026-49009