RHSA-2026:10995MediumCVSS 6.3
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
🔗 CVE IDs covered (1)
📋 Description
CVE-2026-5958 — sed: GNU sed TOCTOU race condition
🎯 Affected products4
- Red Hat Hardened Images
- sed-main@aarch64 as a component of Red Hat Hardened Images
- sed-main@src as a component of Red Hat Hardened Images
- sed-main@x86_64 as a component of Red Hat Hardened Images
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Workaround: To mitigate this vulnerability, avoid using the `sed -i --follow-symlinks` command in privileged contexts or on paths that can be influenced by untrusted users. This flaw specifically affects the `--follow-symlinks` option, which, when used by a privileged process on an attacker-controlled path, can lead to arbitrary file overwrite. Restricting the use of this specific option in sensitive operations can reduce the risk of exploitation.
🔗 References (5)
- selfhttps://access.redhat.com/errata/RHSA-2026:10995
- externalhttps://images.redhat.com/
- externalhttps://access.redhat.com/security/cve/CVE-2026-5958
- externalhttps://access.redhat.com/security/updates/classification/
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_10995.json