gittuf: File protection rules bypassed for filenames with special characters
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| gittufgittuf |
< 0.18.0→ 0.18.0 |
0.18.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-128034 gittuf No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-128034 gittuf No fixed version in this record
Original description The description as published by the source.
In gittuf before 0.18.0, verification of file protection rules uses the quoted, escaped pathnames that Git prints by default for files with special characters (for example non-ASCII characters) instead of the raw paths. Such paths do not match patterns like file:internal/*, so the files are treated as unprotected, and a user who is not authorized by a file protection rule can change a protected file whose name contains special characters and still pass verification.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web github.com
- web pkg.go.dev