THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-8w8g-wq8h-fq33 (high) — Dulwich: Symlink write-through in checkout(paths=[]) via raw os.open bypasses all symlink protections

[GHSA] GHSA-8w8g-wq8h-fq33 (high) — Dulwich: Symlink write-through in checkout(paths=[]) via raw os.open bypasses all symlink protections

medgithub_advisoriesPublished 2026-10-02

GHSA-8w8g-wq8h-fq33 Severity: high CVE: None

Dulwich: Symlink write-through in checkout(paths=[]) via raw os.open bypasses all symlink protections

## Summary

Dulwich's `porcelain.checkout(paths=[...])` code path writes files using raw `os.open(file_path, O_WRONLY|O_CREAT|O_TRUNC, mode)` followed by `f.write(obj.data)`. This code path does NOT call `build_file_from_blob()` at all, completely byp

Original source: https://github.com/advisories/GHSA-8w8g-wq8h-fq33