Intel

AIKIDO-2026-855580

dulwich is vulnerable to Improper Validation of Integrity Check Value

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 20, 2026
July 20, 2026

42

CVE Score

Medium

Improper Validation of Integrity Check Value

Are you affected? Scan for Free

TL;DR

Pack.bitmap loads a .bitmap index and uses its object positions against the pack's index without comparing the pack checksum recorded in the bitmap header. read_bitmap/read_bitmap_file store this checksum but never validate it, so a stale bitmap left after a repack or one swapped in from a different pack is silently accepted and applied to the wrong object set, causing incorrect reachable-object computation during fetch negotiation. The fix verifies an optional pack_checksum on read, raises ChecksumMismatch on a mismatch, and has Pack.bitmap fall back to graph traversal instead of trusting an unverified bitmap.

How do I fix this?

Upgrade the dulwich library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application relies on pack bitmap indexes for reachability queries where a .bitmap file could be stale or come from an untrusted or shared repository.

Package

Versions

0.25.0 - 1.2.10

Fixed in 1.2.11

Background info

dulwich is vulnerable to Improper Validation of Integrity Check Value in versions 0.25.0 - 1.2.10.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea