Skip to main content
Vulnerability Database/CVE-2026-112210

CVE-2026-112210: rhc Privilege Escalation Vulnerability

CVE-2026-112210 is a privilege escalation flaw in rhc-canonical-facts.service that allows local attackers to gain root access through symbolic link exploitation. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-112210 Overview

CVE-2026-112210 is a symbolic link following vulnerability [CWE-59] in the rhc-canonical-facts.service systemd unit shipped with Red Hat Connector (rhc). The service runs as root and operates on a file located inside a directory owned by the unprivileged yggdrasil system user. Because the service does not verify whether the target file is a symbolic link, a local attacker who has already compromised the yggdrasil service account can redirect file operations to arbitrary paths. Successful exploitation grants ownership of arbitrary files and enables privilege escalation to root.

Critical Impact

A compromised yggdrasil account can take ownership of arbitrary filesystem objects, resulting in full root-level privilege escalation on affected Red Hat systems.

Affected Products

  • Red Hat Connector (rhc) package shipping the rhc-canonical-facts.service systemd unit
  • Red Hat Enterprise Linux systems with rhc installed and the yggdrasil service account present
  • Downstream distributions packaging the vulnerable rhc systemd unit from commit 51928db

Discovery Timeline

  • 2026-10-19 - CVE CVE-2026-112210 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-112210

Vulnerability Analysis

The rhc-canonical-facts.service systemd unit collects canonical facts about the host and writes them to a predictable location under a directory owned by the unprivileged yggdrasil system user. The unit executes with root privileges to perform these operations.

Because the service does not call lstat() or use O_NOFOLLOW style protections before operating on the target file, it follows any symbolic link placed by the directory owner. An attacker controlling the yggdrasil account can replace the expected file with a symlink pointing at a sensitive system path such as /etc/shadow or /etc/sudoers.d/. When the root-owned service then performs its write or chown operation, it dereferences the symlink and acts on the attacker-chosen target.

Exploitation requires prior compromise of the yggdrasil service account, so the vulnerability is a privilege escalation primitive rather than an initial access vector. The result is arbitrary file ownership change leading to full root compromise.

Root Cause

The root cause is a link following flaw classified under [CWE-59]: Improper Link Resolution Before File Access. The service trusts the integrity of a file inside a directory it does not own and performs privileged file operations without verifying the file type.

Attack Vector

The attack is local and requires high privileges, specifically control of the yggdrasil service account. No user interaction is required. The attacker replaces the expected file inside the yggdrasil-owned directory with a symbolic link pointing to a target the attacker wishes to own or overwrite. The attacker then triggers or waits for rhc-canonical-facts.service to execute. The root-owned service follows the symlink and performs its file operation against the attacker-chosen path, yielding arbitrary file ownership and privilege escalation to root.

See the Red Hat CVE Advisory, the Red Hat Bug Report, and the GitHub RHC Service File for technical details.

Detection Methods for CVE-2026-112210

Indicators of Compromise

  • Symbolic links present inside directories owned by the yggdrasil user that point to sensitive paths such as /etc/shadow, /etc/passwd, or files under /etc/sudoers.d/.
  • Unexpected ownership changes on system files, where previously root-owned files are now owned by yggdrasil or another non-root account.
  • Audit records showing rhc-canonical-facts.service writing to paths outside its expected working directory.

Detection Strategies

  • Enable Linux audit rules on the yggdrasil working directory and watch for symlink(), symlinkat(), and rename() syscalls originating from the yggdrasil UID.
  • Monitor systemd journal entries for rhc-canonical-facts.service and correlate execution timestamps with filesystem changes on sensitive paths.
  • Baseline file ownership for /etc and other critical directories, and alert on deviations.

Monitoring Recommendations

  • Collect auditd logs for path, chown, and openat events referencing the rhc working directory and forward them to a central SIEM.
  • Track process execution of /usr/libexec/rhc and any binary invoked by the rhc-canonical-facts.service unit.
  • Alert on any root-owned process performing chown or writes to files whose parent directory is owned by a non-root service account.

How to Mitigate CVE-2026-112210

Immediate Actions Required

  • Apply the Red Hat security update for the rhc package once available from your distribution.
  • Audit the yggdrasil service account for signs of compromise, including unexpected processes, cron entries, and SSH keys.
  • Temporarily disable the rhc-canonical-facts.service unit on hosts where patching is not immediately feasible.

Patch Information

Refer to the Red Hat CVE Advisory and the Red Hat Bug Report for the authoritative patch status and fixed package versions. The upstream fix should enforce symlink safety, for example by using O_NOFOLLOW or by validating the file type with lstat() before performing privileged operations.

Workarounds

  • Mask the vulnerable unit with systemctl mask rhc-canonical-facts.service until a patched rhc package is installed.
  • Restrict access to the yggdrasil account by removing unnecessary group memberships and enforcing least privilege on its working directories.
  • Add a systemd drop-in with hardening directives such as ProtectSystem=strict, ReadWritePaths= restricted to a non-sensitive path, and NoNewPrivileges=true to limit the blast radius if exploitation is attempted.
bash
# Configuration example: disable the vulnerable unit until patched
sudo systemctl stop rhc-canonical-facts.service
sudo systemctl mask rhc-canonical-facts.service

# Verify the yggdrasil-owned directory for suspicious symlinks
sudo find /var/lib/yggdrasil /var/cache/yggdrasil -xdev -type l -ls 2>/dev/null

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.