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
Published: 2026-07-02
Score: 10 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

Generated by OpenCVE AI on July 21, 2026 at 11:07 UTC.

Remediation

No vendor fix or workaround currently provided.

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 July 21, 2026 at 11:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 02 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 02 Jul 2026 16:00:00 +0000

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'}


Thu, 02 Jul 2026 15:15:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: suse

Published:

Updated: 2026-07-02T16:11:28.338Z

Reserved: 2026-06-18T09:26:55.988Z

Link: CVE-2026-56004

cve-icon Vulnrichment

Updated: 2026-07-02T16:11:25.482Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T11:15:05Z

Weaknesses
  • CWE-78

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