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

CVE-2026-59674: openSUSE Suricata Privilege Escalation

CVE-2026-59674 is a UNIX symbolic link following vulnerability in openSUSE Tumbleweed Suricata that enables privilege escalation from suricata user to root. This article covers technical details, affected versions, and mitigation.

Published:

CVE-2026-59674 Overview

CVE-2026-59674 is a UNIX symbolic link following vulnerability in the suricata package shipped with openSUSE Tumbleweed. The flaw allows the unprivileged suricata service user to escalate privileges to root on the local system. The issue is tracked under CWE-61: UNIX Symbolic Link (Symlink) Following and affects openSUSE Tumbleweed suricata package versions before 8.0.5-2.1.

Critical Impact

A local attacker who has already compromised the suricata service account can gain full root privileges on the host, undermining the least-privilege isolation intended for the intrusion detection daemon.

Affected Products

  • openSUSE Tumbleweed suricata package versions prior to 8.0.5-2.1
  • Systems where the Suricata IDS/IPS runs under the dedicated suricata user account
  • Rolling-release Tumbleweed installations that had not synced package updates as of July 2026

Discovery Timeline

  • 2026-07-14 - CVE-2026-59674 published to NVD
  • 2026-07-15 - Last updated in NVD database

Technical Details for CVE-2026-59674

Vulnerability Analysis

The suricata package in openSUSE Tumbleweed performs privileged file operations on paths that the unprivileged suricata service user can influence. Because the code does not verify whether a target path is a symbolic link before writing to or changing ownership of it, the suricata user can replace an expected regular file with a symlink pointing to a root-owned file. Subsequent privileged operations then act on the symlink target rather than the intended path.

The result is a local privilege escalation from the suricata service account to root. Exploitation requires prior local access as the suricata user, which typically means an attacker has already compromised the Suricata process, for example through a network-parsing bug or misconfiguration.

Root Cause

The root cause is unsafe handling of file paths under directories writable by the suricata user. Privileged package or service operations follow symbolic links instead of using safe file descriptor semantics such as O_NOFOLLOW, openat() with AT_SYMLINK_NOFOLLOW, or explicit lstat() checks. This is a classic [CWE-61] symlink-following defect.

Attack Vector

The attack vector is local. An attacker operating as the suricata user creates a symbolic link in a directory that a privileged component of the suricata package later writes to, chowns, or chmods. When the privileged process dereferences the link, it modifies or overwrites a root-owned resource, which the attacker leverages to obtain root code execution. No user interaction is required beyond the triggering privileged operation, and no network access is needed.

No public proof-of-concept exploit is currently listed for CVE-2026-59674. Technical details are tracked in SUSE Bugzilla CVE-2026-59674.

Detection Methods for CVE-2026-59674

Indicators of Compromise

  • Unexpected symbolic links inside directories owned or writable by the suricata user, such as /var/log/suricata/ or /var/lib/suricata/
  • Root-owned system files with recent modification timestamps that correlate to Suricata service restarts or package operations
  • Shell histories, cron entries, or SUID binaries created by the suricata user outside of expected paths

Detection Strategies

  • Audit file system activity performed by processes running as suricata using auditd rules on symlink, symlinkat, link, and open syscalls
  • Compare installed suricata package version against 8.0.5-2.1 using rpm -q suricata across the fleet
  • Alert on any process running with UID 0 that opens a file located under a suricata-writable directory

Monitoring Recommendations

  • Continuously monitor for privilege transitions from the suricata UID to UID 0 through process telemetry
  • Track file integrity on critical root-owned files such as /etc/shadow, /etc/sudoers, and files under /etc/cron.d/
  • Centralize Suricata service logs and package manager logs to correlate exploitation attempts with service restarts or updates

How to Mitigate CVE-2026-59674

Immediate Actions Required

  • Update the suricata package to version 8.0.5-2.1 or later on all openSUSE Tumbleweed systems
  • Restart the suricata service after patching so the fixed binaries and package scripts are active
  • Review directories writable by the suricata user for pre-existing malicious symlinks before applying the update

Patch Information

openSUSE has fixed the issue in suricata version 8.0.5-2.1 for Tumbleweed. Apply the update through zypper and confirm the installed version. Refer to SUSE Bugzilla CVE-2026-59674 for advisory tracking.

Workarounds

  • Restrict access to the suricata service account and ensure no interactive shells or additional processes run under this UID
  • Set restrictive permissions on Suricata working directories so only the service user can write, and audit their contents regularly
  • Where feasible, run Suricata inside a container or with additional sandboxing such as systemdProtectSystem=strict and NoNewPrivileges=true to reduce the impact of a compromised service account
bash
# Update the vulnerable package on openSUSE Tumbleweed
sudo zypper refresh
sudo zypper update suricata

# Verify the fixed version is installed
rpm -q suricata
# Expected output: suricata-8.0.5-2.1 or later

# Restart the service to load the patched binaries
sudo systemctl restart suricata

# Audit for suspicious symlinks in suricata-writable directories
sudo find /var/log/suricata /var/lib/suricata -type l -ls

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

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

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.