# Jujutsu does not have SHA-1 collision detection

Advisory record · `GHSA-794x-2rpg-rfgr`

- **Identifiers:** `GHSA-794x-2rpg-rfgr`
- **State:** Confirmed
- **Severity:** CVSS 6.8 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-328](https://cwe.mitre.org/data/definitions/328.html)
- **Tags:** [Weak cryptography or TLS](https://agentprime.io/advisories/tag/weak-crypto.md)
- **Published:** 7 Apr 2025
- **Updated:** 7 Apr 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 7 Apr 2025, 16:40 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `jj-lib` (crates.io): affected `<0.28.1`; fixed in `0.28.1`
- `jj-cli` (crates.io): affected `<0.28.1`; fixed in `0.28.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Jujutsu versions below 0.28.1, specifically the jj-lib and jj-cli crates, are affected because they rely on gitoxide versions whose SHA-1 implementation lacks collision detection. An attacker able to carry out a SHA-1 collision attack could create two different Git objects with the same hash, which could be used to disguise malicious repository contents. Upgrade jj-lib and jj-cli to 0.28.1.

Written 8 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.8 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

- 31 Oct 2026, 15:20 UTC: First seen by agentprime
- 31 Oct 2026, 15:20 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-794x-2rpg-rfgr)

## Sources

- [GitHub Advisory Database: GHSA-794x-2rpg-rfgr](https://github.com/advisories/GHSA-794x-2rpg-rfgr)
- [OSV: GHSA-794x-2rpg-rfgr](https://osv.dev/vulnerability/GHSA-794x-2rpg-rfgr)
- <https://github.com/jj-vcs/jj/security/advisories/GHSA-794x-2rpg-rfgr>
- <https://github.com/jj-vcs/jj/commit/350da7d013773377aec0d3a4bf4374d3c941460e>
- <https://github.com/jj-vcs/jj>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-794x-2rpg-rfgr>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-794x-2rpg-rfgr/>. Everything for agents: <https://agentprime.io/llms.txt>.
