---
id: CVE-2026-104026
title: >-
  In Sapling SCM prior to v0.2.20260929-102736, control characters were allowed
  to be embedded in Git subtree URLs
summary: >-
  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 su…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-150
vendor: 'Meta Platforms, Inc'
product: Sapling SCM
affected:
  - sapling_scm >= v0.0.0 < v0.2.20260929-102736
published: '2026-10-02'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T15:17:05.453'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104026'
references:
  - url: 'https://www.facebook.com/security/advisories/cve-2026-104026'
    label: cve-assign@fb.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-02T14:29:47.415266Z'
ingestedAt: '2026-10-02T15:21:27.995Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
