Back to Intelligence

Mageia 10 rpmdrake Update (MGASA-2026-0160): Patching the Package Manager and Hardening Linux Software Installation Workflows

SA
Security Arsenal Team
October 27, 2026
7 min read

Mageia has released an update for rpmdrake on Mageia 10 (advisory MGASA-2026-0160) correcting view and filter display issues in the distribution's graphical package manager. On its face, this is a usability fix — but as defenders, we should treat any defect in the package management stack with more respect than a typical UI bug. rpmdrake is the tool administrators use to see what is installed, what updates are pending, and what repositories are in play. When the view and filter logic misbehaves, the displayed package state can diverge from reality: updates can appear applied when they are not, security-relevant packages can be filtered out of view, and an operator can walk away believing a system is patched when it is not.

No CVE is associated with this advisory, and there is no indication of active exploitation. The risk here is operational: inaccurate package visibility undermines patch verification, compliance evidence, and incident scoping. If your fleet includes Mageia 10 workstations or servers, apply the update and validate package state from the command line rather than trusting the GUI.

Technical Analysis

Affected product: rpmdrake on Mageia 10 (all supported architectures). rpmdrake is the GTK-based front end to Mageia's urpmi/RPM package management stack; it handles software installation, removal, updates, and media (repository) configuration.

The defect: Per the advisory, the update fixes view and filter display issues. In practical terms, defects in this class cause the package list, category filters, or update views to render incorrectly — packages missing from filtered views, stale state shown after transactions, or incorrect installed/available version presentation.

Why this matters to defenders:

  • Patch verification blind spots. If the update view fails to display pending security updates, an administrator relying on the GUI will miss them. Patch SLAs are then silently violated with no alert fired anywhere.
  • Incident response scoping errors. During DFIR, responders frequently enumerate installed packages to establish a software baseline. A tool that misrepresents installed state corrupts that baseline and can hide attacker-installed RPMs from casual review.
  • Supply-chain exposure. Package managers are a prime tampering target. An attacker who modifies repository metadata, adds a rogue media source, or installs an unsigned package benefits directly from any GUI defect that obscures what actually changed on the system.

Exploitation status: No known exploitation, no PoC, not in CISA KEV. This is a corrective update, not a response to an attack. The defensive value is in treating package-manager integrity as a first-class monitoring surface.

Detection & Response

The update itself fixes display logic — but the correct defensive posture is to monitor the package management layer for changes that should not happen, regardless of GUI health. The detections below target unauthorized package installation, repository tampering, and unsigned-package installation on Mageia/RPM systems.

YAML
---
title: Package Manager Execution by Non-Administrative Context (Linux RPM/urpmi)
id: 3f9c2a71-6b48-4e1d-a5c7-9d2e4f6a8b01
status: experimental
description: Detects execution of RPM-based package management tooling (urpmi, rpmdrake, dnf, rpm with install/erase flags) which should be rare and attributable to change windows on managed Mageia/RPM systems.
references:
  - https://linuxsecurity.com/advisories/mageia/mageia-2026-0160-rpmdrake
  - https://attack.mitre.org/techniques/T1195/
author: Security Arsenal
date: 2026/04/06
tags:
  - attack.supply_chain_compromise
  - attack.t1195.002
logsource:
  category: process_creation
  product: linux
detection:
  selection_tool:
    Image|endswith:
      - '/urpmi'
      - '/rpmdrake'
      - '/urpme'
      - '/dnf'
      - '/rpm'
  selection_install:
    CommandLine|contains:
      - ' --install'
      - ' -i '
      - ' -e '
      - ' --erase'
      - ' install '
      - ' remove '
  condition: selection_tool and selection_install
falsepositives:
  - Legitimate administrator patching activity and change windows
  - Configuration management (Ansible dnf/package modules)
level: medium
---
title: RPM Repository or Media Configuration Modification
id: 8b1d4e62-2c57-49f3-b6a1-7e5c3d9f2a44
status: experimental
description: Detects modification of RPM/urpmi repository configuration files, a technique used to point systems at attacker-controlled package sources for supply-chain compromise.
references:
  - https://attack.mitre.org/techniques/T1195/
author: Security Arsenal
date: 2026/04/06
tags:
  - attack.supply_chain_compromise
  - attack.t1195.001
logsource:
  category: file_event
  product: linux
detection:
  selection:
    TargetFilename|contains:
      - '/etc/urpmi/urpmi.cfg'
      - '/etc/urpmi/mirrorlist'
      - '/etc/yum.repos.d/'
      - '/etc/dnf/dnf.conf'
falsepositives:
  - Legitimate repository additions by administrators
level: high
---
title: Unsigned or Untrusted RPM Package Installed
id: 5c7a9f30-1d84-4b62-9e3f-2a6b8c4d7e55
status: experimental
description: Detects RPM installs executed with signature checking disabled (--nosignature, --nodigest, --force), which bypasses package integrity verification and is common in trojanized-package installation.
references:
  - https://attack.mitre.org/techniques/T1195/
author: Security Arsenal
date: 2026/04/06
tags:
  - attack.supply_chain_compromise
  - attack.defense_evasion
logsource:
  category: process_creation
  product: linux
detection:
  selection:
    Image|endswith:
      - '/rpm'
      - '/urpmi'
    CommandLine|contains:
      - '--nosignature'
      - '--nodigest'
      - '--force'
      - '--allow-untrusted'
falsepositives:
  - Rare; legacy internal packages lacking signatures
level: high
KQL — Microsoft Sentinel / Defender
// Hunt for package management activity and repository tampering on Linux hosts
// ingested into Sentinel via Syslog/CEF (auditd process exec events)
Syslog
| where TimeGenerated > ago(7d)
| where ProcessName in ("urpmi", "rpmdrake", "urpme", "rpm", "dnf", "dnf5")
   or SyslogMessage has_any ("urpmi", "rpmdrake", "yum.repos.d", "urpmi.cfg")
| extend Action = case(
    SyslogMessage has "--nosignature" or SyslogMessage has "--nodigest", "SignatureBypass",
    SyslogMessage has_any ("-i ", " install ", "--install"), "Install",
    SyslogMessage has_any ("-e ", "--erase", " remove "), "Removal",
    SyslogMessage has_any ("urpmi.cfg", "yum.repos.d"), "RepoConfigChange",
    "Other")
| project TimeGenerated, Computer, ProcessName, SyslogMessage, Action
| order by TimeGenerated desc
VQL — Velociraptor
-- Hunt for recently installed/erased RPM packages and repo config changes
-- Deploy as a hunt across Mageia/RPM endpoints
LET rpm_history = SELECT * FROM execve(
  argv=['/bin/rpm', '-qa', '--last'])

LET repo_configs = SELECT FullPath, Mtime, Size
FROM glob(globs=['/etc/urpmi/urpmi.cfg', '/etc/urpmi/mirrorlist', '/etc/yum.repos.d/*.repo'])
WHERE Mtime > now() - 7*24*3600

SELECT * FROM repo_configs
Bash / Shell
#!/bin/bash
# Mageia 10 rpmdrake update + package-state verification script
# Run as root on Mageia 10 systems

set -euo pipefail

echo "[*] Refreshing repository metadata..."
urpmi.update -a

echo "[*] Applying updates (includes rpmdrake fix from MGASA-2026-0160)..."
urpmi --auto-update --auto

echo "[*] Verifying rpmdrake installed version..."
rpm -q rpmdrake

echo "[*] Checking for any remaining pending updates..."
urpmi.update -a >/dev/null 2>&1
PENDING=$(urpmq --auto-select 2>/dev/null | wc -l)
if [ "$PENDING" -gt 0 ]; then
  echo "[!] WARNING: $PENDING packages still pending update:" >&2
  urpmq --auto-select
else
  echo "[+] No pending updates. System fully patched."
fi

echo "[*] Verifying package signature policy integrity (no unsigned packages installed)..."
UNSIGNED=$(rpm -qa --qf '%{NAME} %{SIGPGP:pgpsig}\n' | grep -c "(none)" || true)
if [ "$UNSIGNED" -gt 0 ]; then
  echo "[!] WARNING: $UNSIGNED packages with NO valid GPG signature found:" >&2
  rpm -qa --qf '%{NAME} %{SIGPGP:pgpsig}\n' | grep "(none)"
else
  echo "[+] All installed packages carry valid signatures."
fi

echo "[*] Auditing configured repositories for unexpected sources..."
cat /etc/urpmi/urpmi.cfg | grep -E 'url|mirrorlist' || true

echo "[*] Verifying RPM database consistency..."
rpm --verify -a 2>/dev/null | grep -E '^..5' | head -20 || echo "[+] No unexpected file digest changes flagged in spot check."

echo "[+] Done. Cross-check installed state with: rpm -qa --last | head -30"

Remediation

  1. Apply the update now. On Mageia 10 systems, run urpmi.update -a followed by urpmi --auto-update --auto, or use the updated rpmdrake GUI after refreshing media. Confirm installation with rpm -q rpmdrake and compare against the fixed version published in the advisory at https://linuxsecurity.com/advisories/mageia/mageia-2026-0160-rpmdrake.
  2. Do not rely on the GUI for patch verification. Until the fixed rpmdrake is confirmed installed, verify update status from the CLI (urpmq --auto-select, rpm -qa --last). Make CLI-based verification your standard practice even after patching — it is the only scrip​​table, auditable source of truth.
  3. Baseline your package state. Export rpm -qa output per host into your asset inventory or CMDB. During IR, this baseline is how you spot attacker-installed tooling.
  4. Audit repositories. Review /etc/urpmi/urpmi.cfg and /etc/yum.repos.d/ on a schedule. Any media source your team did not add is a supply-chain incident until proven otherwise.
  5. Enforce signature verification. Ensure no automation in your environment passes --nosignature or --nodigest to rpm/urpmi, and alert on unsigned packages via the script logic above.
  6. Log package management centrally. Ship auditd exec events for rpm/urpmi/rpmdrake to your SIEM so the Sigma/KQL detections above have telemetry. Package manager execution outside change windows should always page a human.

Related Resources

Security Arsenal Managed SOC Services AlertMonitor Platform Book a SOC Assessment soc-mdr Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.