Read the docs
TI-2025-43629 Aliases GHSA-794x-2rpg-rfgr

Jujutsu does not have SHA-1 collision detection

Priority LOW 38CWE-328Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

### Summary Jujutsu 0.28.0 and earlier rely on versions of gitoxide that use SHA-1 hash implementations without any collision detection, leaving them vulnerable to hash collision attacks. ### Details This is a result of the underlying [CVE-2025-31130 / GHSA-2frx-2596-x5r6](https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-2frx-2596-x5r6) vulnerability in the gitoxide library Jujutsu uses to interact with Git repositories; see that advisory for technical details. This separate advisory is being issued due to the downstream impact on users of Jujutsu. ### Impact An attacker with the ability to mount a collision attack on SHA-1 like the [SHAttered](https://shattered.io/) or [SHA-1 is a Shambles](https://sha-mbles.github.io/) attacks could create two distinct Git objects with the same hash. This is becoming increasingly affordable for well‐resourced attackers, with the Shambles researchers in 2020 estimating $45k for a chosen‐prefix collision or $11k for a classical collision, and projecting less than $10k for a chosen‐prefix collision by 2025. The result could be used to disguise malicious repository contents, or potentially exploit assumptions in Jujutsu’s logic to cause further vulnerabilities.

Why it matters now

Fix Fixed jj-lib (crates.io): 0.28.1jj-cli (crates.io): 0.28.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—jj-lib (crates.io)before 0.28.10.28.1Patch availableGHSA-794x-2rpg-rfgr
—jj-cli (crates.io)before 0.28.10.28.1Patch availableGHSA-794x-2rpg-rfgr
  • jj-lib (crates.io) Vendor— Affected before 0.28.1 Fixed in 0.28.1 Patch available GHSA-794x-2rpg-rfgr
  • jj-cli (crates.io) Vendor— Affected before 0.28.1 Fixed in 0.28.1 Patch available GHSA-794x-2rpg-rfgr

Remediation

  • Fix · GHSA-794x-2rpg-rfgr jj-lib (crates.io) Fixed in 0.28.1 Advisory →
  • Fix · GHSA-794x-2rpg-rfgr jj-cli (crates.io) Fixed in 0.28.1 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-794x-2rpg-rfgr

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences