Skip to main content

lxc-ci CVE-2026-52727

| EUVDEUVD-2026-82369 HIGH
Use of Hard-coded Cryptographic Key (CWE-321)
2026-09-17 security-advisories@github.com
7.2
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Extract shared pacman key from public Arch image
  2. Delivery
    Gain on-path/mirror position over victim
  3. Exploit
    Serve malicious package signed with trusted key
  4. Execution
    Victim runs pacman update as root
  5. Persist
    Trusted install
  6. Impact
    Arbitrary code execution as root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Key management, no hard-coded keys
Exploitation Conditions

Exploitation requires three concrete conditions: (1) the victim system was created from an lxc-ci Arch Linux image built from images/archlinux.yaml BEFORE 2026-05-28, so it still contains the shared local-signing private key in /etc/pacman.d/gnupg; (2) the attacker occupies a mirror-serving or on-path position - either operating/compromising an HTTP package mirror the client uses, or intercepting mirror traffic (the key itself is not secret, as it can be recovered from any published image); and (3) the victim performs a package install/update operation as root (e.g., pacman -Syu) that fetches the attacker-signed package. Limiting factors: images published on or after 2026-05-28 regenerate a unique keyring at first boot and are not affected; HTTPS mirrors and out-of-band package validation reduce the MITM window; and exploitation depends on the victim actually installing packages, so it is not fully automatable against idle hosts.

Impact

This is a genuine supply-chain/cryptographic-trust failure, not a paper-high-CVSS issue, but its real-world risk is gated by attacker network position rather than by the raw 7.2 score. The core problem (CWE-321) is that a single pacman local-signing private key was baked into every Arch Linux image built from images/archlinux.yaml before 2026-05-28 - that key is trivially extractable from any published image, so it is effectively public. The vendor CVSS vector (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) is internally inconsistent with the described attack: it sets PR:H yet the attacker needs NO privileges on the victim system (the secret comes from a public image), and it sets AC:L/UI:N yet the description clearly requires the attacker to control or intercept an HTTP mirror AND the victim to actually install/update packages. A more defensible vector is AV:N/AC:H/PR:N/UI:R with full C:H/I:H/A:H root impact. No EPSS score, no CISA KEV entry, and no public exploit code are present in the input; exploitation is therefore not confirmed in the wild. Net: high technical impact (root RCE) but a meaningful precondition (mirror control or on-path MITM plus a victim package operation) keeps realistic exploitation targeted rather than mass/automatable.

Exploit ScenarioDerived

An attacker extracts the shared pacman signing private key from any publicly available pre-2026-05-28 lxc-ci Arch Linux image, then positions themselves as a malicious/HTTP package mirror or MITMs a victim container's mirror traffic. When the victim runs a routine pacman -Syu as root, the attacker serves a maliciously modified package signed with the trusted shared key, which the client accepts as authentic, yielding arbitrary code execution as root. No public proof-of-concept is identified in the provided data.

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

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

Alert me

AnalysisAIv1 – Sep 17, 2026

Hard-coded pacman signing key in lxc-ci's Arch Linux image build lets a mirror-position attacker forge trusted packages and execute code as root on affected guests. Images built from images/archlinux.yaml and published before 2026-05-28 embed the same pacman local-signing private key in /etc/pacman.d/gnupg, and every container or VM created from those images inherits it (CWE-321); because the key can be recovered from any published image, the assessed vector (AV:N/AC:H/PR:N/UI:R) positions an unauthenticated remote attacker who operates or intercepts an HTTP package mirror to sign tampered packages that clients accept during a root install or update. Exploitation is gated by three conditions - a pre-2026-05-28 image, attacker mirror/on-path control, and a victim-initiated root package operation - so it is a genuine supply-chain trust failure rather than a fully automatable one; no public exploit identified at time of analysis.

RemediationAI

Apply the vendor-released fix by using Arch Linux images published on or after 2026-05-28 and, for affected systems, recreating the container or VM from a fixed image instead of patching in place - the old private key was already exposed, so any package locally signed with it must be considered untrusted, and import of the upstream commit 082cb34ea19791a0424feafd9da67b94881ea40a is the source-level fix per advisory https://github.com/lxc/lxc-ci/security/advisories/GHSA-4h59-f67g-5qxp. Where rebuilding is not immediately possible, run rm -rf /etc/pacman.d/gnupg inside each affected instance and then pacman-key --init followed by pacman-key --populate; the trade-off is that locally signed packages and repository metadata become invalid and must be re-signed or reinstalled, the operation should be scheduled with working time synchronization so key population succeeds, and the guest should be treated as potentially compromised if an untrusted mirror was used after the image was created. As a compensating control, configure pacman to use only trusted HTTPS mirrors, validate mirror endpoints and keys out of band, and avoid HTTP-only or untrusted mirror paths, since an on-path or mirror-operator attacker with the shared key can otherwise produce signatures that clients accept - HTTPS reduces but does not eliminate exposure where the mirror itself is malicious. No patched release version number applies; fixing is delivered as rebuilt images dated on or after 2026-05-28.

Affected VersionsENISA

lxc-ci < 2026-05-28

Affected Packages

euvd lxc_ci fix: 2026-05-28

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 root cause class is CWE-321 (Use of a Hard-coded Cryptographic Key): the lxc-ci image build in images/archlinux.yaml ran pacman key initialization at build time and never removed the resulting GnuPG keyring, so the pacman local-signing key pair - private half included - was baked into /etc/pacman.d/gnupg and was therefore identical across every published image. Pacman uses that keyring to trust locally signed packages and repository metadata, and since the private key is public by redistribution, any party holding a copy can mint signatures that affected clients accept. The upstream fix (commit 082cb34ea19791a0424feafd9da67b94881ea40a) deletes the pre-generated keyring (rm -rf /etc/pacman.d/gnupg) and installs a systemd unit named pacman-init.service (ConditionPathIsDirectory=!/etc/pacman.d/gnupg, After=time-sync.target, Before=archlinux-keyring-wkd-sync.service) that runs pacman-key --init and pacman-key --populate on first boot, so each instance generates its own unique keyring. No CPE strings were supplied in the source data; the affected artifact is the Arch Linux image produced by lxc-ci rather than the LXC runtime itself. The assessed vector AV:N/AC:H/PR:N/UI:R reflects the attacker's network-position prerequisite and the victim's required user interaction (a root package install), which is more restrictive than the NVD vector (AV:N/AC:L/PR:H/UI:N) and should be treated as authoritative.

Know when Lxc 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 (github) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Attacker needs no target privileges since the signing key is public (PR:N) but must achieve mirror control/MITM (AC:H) and the victim must run a root package install (UI:R), yielding full root RCE.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Sep 17, 2026 - 19:34 EUVD
CVE Published
Sep 17, 2026 - 19:16 cve.org
HIGH 7.2

DescriptionCVE.org

lxc-ci contains continuous integration and image-build scripts for LXC. Prior to the 2026-05-28 Arch Linux image publication, images built from images/archlinux.yaml retain the same pacman local-signing private key in /etc/pacman.d/gnupg and redistribute it to every container or virtual machine created from that image. An attacker who controls an HTTP package mirror or can intercept mirror traffic can use the shared pacman signing private key to sign modified packages that affected clients accept as trusted. Installing those packages permits arbitrary code execution as root on the client system. This issue is fixed in Arch Linux images published on or after 2026-05-28.

Technical POC Analysis

CWE-321 (Use of Hard-coded Cryptographic Key) - the CVE assignment per the advisory header and the CVE record; the GHSA body itself lists "No CWEs", so the CWE comes from the CVE, not the GHSA text.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Businesses that deploy containers or virtual machines from lxc-ci Arch Linux images published before 2026-05-28 face a supply-chain trust failure that can result in root compromise of those guests. The risk is high because an attacker positioned at a package mirror could forge packages accepted during routine root installs or updates, but exploitation is not fully automatable and no public exploit identified at time of analysis. No vendor-released patch identified at time of analysis; leadership should prioritize discovering affected workloads and rebuilding from trusted sources.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: inventory and stop using lxc-ci Arch Linux images built from images/archlinux.yaml before 2026-05-28; rebuild from clean post-2026-05-28 sources or regenerate the pacman keyring and remove the embedded private key from /etc/pacman.d/gnupg; enforce HTTPS and trusted mirrors; require package signature verification; monitor for suspicious package operations; treat affected guests as potentially compromised if they performed root package installs/updates.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Medium
LXC/Incus Arch Linux images are a common container-ecosystem subset, not universal
Data Quality
6 sources
Confidence: High

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.3%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Lxc

View all
CVE-2013-6441 HIGH POC
7.2 Feb 14

The lxc-sshd template (templates/lxc-sshd.in) in LXC before 1.0.0.beta2 uses read-write permissions when mounting /sbin/

CVE-2026-33945 CRITICAL
9.9 Mar 26

Path traversal in Incus system container manager allows authenticated remote attackers to write arbitrary files as root

CVE-2026-33897 CRITICAL
9.9 Mar 26

Incus system container and virtual machine manager versions prior to 6.23.0 allow authenticated users with instance acce

CVE-2016-8649 CRITICAL
9.1 May 01

lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 allows an attacker inside of an unprivileged container to use an inh

CVE-2015-1331 MEDIUM POC
4.9 Aug 12

lxclock.c in LXC 1.1.2 and earlier allows local users to create arbitrary files via a symlink attack on /run/lock/lxc/*.

CVE-2026-33898 HIGH
8.8 Mar 26

Authentication bypass in Incus webui (versions prior to 6.23.0) permits local or remote attackers to gain unauthorized a

CVE-2016-10124 HIGH
8.6 Jan 09

An issue was discovered in Linux Containers (LXC) before 2016-02-22. Rated high severity (CVSS 8.6), this vulnerability

CVE-2015-1335 HIGH
7.2 Oct 01

lxc-start in lxc before 1.0.8 and 1.1.x before 1.1.4 allows local container administrators to escape AppArmor confinemen

CVE-2026-100395 MEDIUM
6.8 Sep 29

Local privilege escalation in LXC can occur when lxc-copy updates a cloned container's hostname in host context and foll

CVE-2026-33743 MEDIUM
6.5 Mar 26

Denial of service in Incus prior to version 6.23.0 allows authenticated users with storage bucket access to crash the In

CVE-2026-33542 MEDIUM
5.7 Mar 26

Incus versions prior to 6.23.0 fail to validate image fingerprints when downloading from simplestreams servers, enabling

CVE-2026-33711 MEDIUM
4.7 Mar 26

Incus versions prior to 6.23.0 allow local authenticated attackers to manipulate temporary screenshot files via predicta

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