Description
In Sapling SCM prior to v0.2.20260929-102736, control characters were allowed to be embedded in Git subtree URLs. A maliciously constructed repository, if cloned by a target, could trigger code execution on otherwise read-only actions such as sl log/blame/annotate.
Published: 2026-10-02
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Sapling SCM prior to v0.2.20260929-102736 allows control characters to be embedded in Git subtree URLs. A maliciously constructed repository, when cloned, can cause the program to execute unintended code during read‑only operations such as sl log, blame, or annotate. This flaw arises from insufficient input validation and is classified as CWE‑150.

Affected Systems

The vulnerability affects all installations of Meta Platforms, Inc.'s Sapling SCM running a version earlier than v0.2.20260929-102736. Any user or process that can clone a malicious repository through a subtree URL is potentially exposed.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity risk. The EPSS score is not available, so the exploitation probability cannot be quantified, and the vulnerability is not listed in CISA's KEV catalog. The likely attack vector is that an attacker supplies a subtree URL containing control characters in a malicious repository and convinces a target to clone it; upon cloning, the vulnerable code execution path is triggered, allowing the attacker to compromise the target system.

Generated by OpenCVE AI on October 2, 2026 at 19:52 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Sapling SCM v0.2.20260929-102736 or later to remove the control‑character handling flaw.
  • Configure repository access controls to disallow the use of Git subtree URLs that contain unexpected control characters from untrusted sources.
  • Implement monitoring on the client system for abnormal code execution patterns during sl log, blame, or annotate commands and investigate promptly.

Generated by OpenCVE AI on October 2, 2026 at 19:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 04 Oct 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Meta Platforms, Inc
Meta Platforms, Inc sapling Scm
Vendors & Products Meta Platforms, Inc
Meta Platforms, Inc sapling Scm

Fri, 02 Oct 2026 20:15:00 +0000

Type Values Removed Values Added
Title Control Characters in Git Subtree URLs Allow Code Execution

Fri, 02 Oct 2026 18:00:00 +0000

Type Values Removed Values Added
Title Control Characters in Git Subtree URLs Cause Code Execution
Weaknesses CWE-78

Fri, 02 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Title Control Characters in Git Subtree URLs Cause Code Execution
Weaknesses CWE-78

Fri, 02 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-150
Metrics cvssV3_1

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

ssvc

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


Fri, 02 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Description In Sapling SCM prior to v0.2.20260929-102736, control characters were allowed to be embedded in Git subtree URLs. A maliciously constructed repository, if cloned by a target, could trigger code execution on otherwise read-only actions such as sl log/blame/annotate.
References

Subscriptions

Meta Platforms, Inc Sapling Scm
cve-icon MITRE

Status: PUBLISHED

Assigner: Meta

Published:

Updated: 2026-10-02T14:30:01.530Z

Reserved: 2026-10-01T17:11:09.874Z

Link: CVE-2026-104026

cve-icon Vulnrichment

Updated: 2026-10-02T14:29:43.794Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-02T15:17:05.453

Modified: 2026-10-02T18:44:11.270

Link: CVE-2026-104026

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-04T20:53:52Z

Weaknesses
  • CWE-150

    Improper Neutralization of Escape, Meta, or Control Sequences