CVE-2026-56004

obs-service-tar_scm: command injection via mercurial handler

Published Jul 2, 2026 CVSS 3.1 · 10 Critical EPSS < 1% KEV · Not listed
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

Analysis

AI-generated

Technical impact

A command injection flaw exists in the Mercurial handler of the obs-service-tar_scm source service, allowing a crafted _service file to execute arbitrary shell commands in the context of the service user or a user performing a checkout. The weakness is classified as CWE‑78, granting attackers full code‑execution capability on the build host if the flaw is exploited. The vulnerability is limited to scenarios where the service processes a malicious _service file, meaning exploitation requires that an attacker can influence the content of that file or trigger its processing during a checkout.

Affected Systems

Instances of the Open Build Service that use the tar_scm component prior to version 0.12.4 are affected. Any deployment that accepts and processes _service files describing Mercurial repositories is susceptible, as the component parses those files before performing checkout operations.

Risk and Exploitability

The CVSS score of 10 denotes a critical severity, yet the EPSS score of less than 1% indicates a very low probability of exploitation. The flaw is not listed in the CISA KEV catalog. The likely attack vector is the submission or alteration of a malicious _service file, which necessitates write access to that file or the ability to trigger its processing during a checkout. Based on the description, it is inferred that an attacker must be able to influence the handling of the _service file to achieve injection, limiting the practical attack surface relative to the severe potential impact.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Open Build Service tar_scm component to version 0.12.4 or later
  • Restrict upload privileges for _service files to trusted administrators only
  • Configure the service to validate command inputs or disable Mercurial integration for untrusted services

Generated by OpenCVE AI on August 1, 2026 at 21:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Opensuse
Opensuse open Buildservice
Vendors & Products Opensuse
Opensuse open Buildservice
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

Type Values Removed Values Added
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
Title obs-service-tar_scm: command injection via mercurial handler
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
suse
Published
Updated
Jul 2, 2026, 4:11 PM
Reserved
Jun 18, 2026, 9:26 AM
Status
Awaiting Analysis
Published
Jul 2, 2026, 3:17 PM
Modified
Oct 25, 2026, 9:10 PM