CVE-2026-56004 obs-service-tar_scm: command injection via mercurial handler

Critical 10.0 Published Updated

Attackers can execute arbitrary code by providing a malicious _service file to the mercurial handler in the Open Build Service tar_scm source service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-56004?

CVE-2026-56004 is a critical command injection vulnerability in openSUSE buildservice, published on 2 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A shellcode injection in the mercurial handler of the obs tar_scm source service before version 0.12.4 could be used by attackers able to provide a _service file to execute code as the source service or the local user checking out the malicious services

Weakness: CWE-78

Which versions are affected by CVE-2026-56004?

Linux distribution packages (1)
obs-service-tar_scm openSUSE:TumbleweedAll versions0.12.4-1.1

How do I fix CVE-2026-56004?

Upgrade to a fixed version.

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

Is CVE-2026-56004 being exploited?

There is no known exploitation of CVE-2026-56004 in the wild and no public exploit code.

Sources

Also known as GHSA-f3xh-pcqp-fpcm, openSUSE-SU-2026:11189-1.

Is CVE-2026-56004 in your software?

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

Check your SBOMs for free