openSUSE-SU-2026:21040-1 Security update for sg3_utils

Not scored Published

An attacker can execute arbitrary commands via unquoted variables in the rescan-scsi-bus.sh script, requiring local access or specific SCSI bus interactions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is openSUSE-SU-2026:21040-1?

openSUSE-SU-2026:21040-1 is a command injection vulnerability in sg3_utils, published on 23 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

This update for sg3_utils fixes the following issues:

  • sg_inq: –export output conformance for SCSI name string and ATA fields (bsc#1267823)
  • rescan-scsi-bus.sh: quote $id_serial in findmultipath call (bsc#1268201)

Which versions are affected by openSUSE-SU-2026:21040-1?

Linux distribution packages (1)
sg3_utils openSUSE:Leap 16.0All versions1.48~20221101+7.f75279c0-160000.1.1

How do I fix openSUSE-SU-2026:21040-1?

Apply the vendor's patch.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is openSUSE-SU-2026:21040-1 being exploited?

There is no known exploitation of openSUSE-SU-2026:21040-1 in the wild and no public exploit code.

Sources

Is openSUSE-SU-2026:21040-1 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free