CVE-2026-54230: Abrt: event handler scripts follow symlinks when writing output files, allowing arbitrary file overwrites

Published Jun 12, 2026
·
Updated

A symlink following vulnerability was found in the ABRT post-create event handler scripts in /etc/libreport/events.d/abrtevent.conf. Event scripts write output files using shell redirections (e.g., "printf ... > $DUMPDIR/varlogmessages") which use open() with OWRONLY|OCREAT|OTRUNC without the ONOFOLLOW flag. If the target file is replaced with a symlink, the shell process (running as root in the abrthandleeventt SELinux domain, which is effectively unconfined) follows the symlink and writes content to the symlink target. In contrast, ddsavetext (used by SetElement) correctly uses ONOFOLLOW. An attacker who has gained filesystem control of the dump directory can replace output files with symlinks pointing to sensitive system files such as /var/spool/cron/root.

Other sources

A symlink following vulnerability was found in the ABRT post-create event handler scripts in libreport. Event scripts write output files using shell redirections without the ONOFOLLOW flag. If the target file is replaced with a symlink, the shell process running as root follows the symlink and writes content to the symlink target, allowing arbitrary file overwrites on the system.

MITRE

Affected Software

7 affected components
Red Hat ABRT
Red Hat libreport
Abrt Project Abrt
Fedoraproject Fedora=43
Fedoraproject Fedora=44
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Modify the ABRT event handler scripts that currently write output via shell redirections (e.g., "> $DUMP_DIR/var_log_messages") so they use dd_save_text or the SetElement helper (which opens files with O_NOFOLLOW) or otherwise open output files with O_NOFOLLOW to avoid following symlinks.

    libreport ABRT post-create event handler scripts output write method = use dd_save_text/SetElement (uses O_NOFOLLOW)
  2. Compensating control

    Prevent untrusted users from having filesystem control of the dump directory: ensure the dump directory is owned and writable only by trusted/root accounts and adjust permissions/ACLs so unprivileged users cannot create or replace files there (thereby preventing creation of malicious symlinks).

  3. Operational

    Audit the dump directory for symlinks and check sensitive targets that could have been overwritten (for example /var/spool/cron/root) for unauthorized changes; remove any malicious symlinks from the dump directory and restore affected files from known-good backups if modifications are found.

Event History

Jun 12, 2026
Data Sourced
via Red Hat·09:02 PM
DescriptionSeverityAffected Software
Jun 13, 2026
CVE Published
via MITRE·02:34 AM
Data Sourced
via MITRE·02:34 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-54230?

The severity of CVE-2026-54230 is rated high with a score of 7.

2

How do I fix CVE-2026-54230?

To fix CVE-2026-54230, ensure that the ABRT event handler scripts do not follow symlinks when writing to output files by modifying the configuration.

3

What does CVE-2026-54230 affect?

CVE-2026-54230 affects Red Hat ABRT and Red Hat libreport due to symlink following in event handler scripts.

4

What type of vulnerability is CVE-2026-54230?

CVE-2026-54230 is a symlink following vulnerability that allows arbitrary file overwrites.

5

What are the potential impacts of CVE-2026-54230?

The potential impacts of CVE-2026-54230 include unauthorized access to files and possible data loss through arbitrary file overwrites.

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