REDHAT-BUG-2555474: Medium severity Red Hat rhc vulnerability

Published Oct 19, 2026
·
Updated

A symlink-following vulnerability was found in rhc-canonical-facts.service. The service runs as root and performs touch, chown yggdrasil:yggdrasil, and StandardOutput=truncate: on /var/lib/yggdrasil/canonical-facts.json — a path inside a directory owned by the unprivileged yggdrasil user (via StateDirectory=yggdrasil). None of these operations reject symlinks.

An attacker with code execution as yggdrasil can replace canonical-facts.json with a symlink to an arbitrary file. When the service triggers (daily timer or rhc connect), the target file's ownership is transferred to yggdrasil and its content is truncated and overwritten.

The service has no User= directive, no systemd sandboxing, and no confined SELinux domain (systemd-analyze security: 9.6 UNSAFE). On RHEL 10.2 with SELinux Enforcing, the full exploit chain was confirmed against varlibt and systemdunitfilet targets. The /etc/shadow path is blocked by SELinux (initt cannot open shadowt for StandardOutput), but targeting systemd unit files provides a path to root.

Introduced in rhc v0.3.0. Versions prior to 0.3.0 do not ship this service file.

External reference: PSIRTSUPT-25922

Affected Software

1 affected component
Red Hat rhc>=0.3.0

Event History

Oct 19, 2026
Data Sourced
via Red Hat·10:20 AM
DescriptionSeverityAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203