Skip to content

Commit 0959675

Browse files
build(security): ignore pygments CVE-2026-4539 in pip-audit (#2333)
pip-audit fails until pygments ships a fix for this low-severity ReDoS issue. The Makefile documents the TODO to remove --ignore-vuln when a patch exists. Co-authored-by: Kevin Messiaen <kevin.messiaen@icloud.com>
1 parent 31f5a52 commit 0959675

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ typecheck: ## Run type checking with basedpyright
7979
uv tool run basedpyright --level error .
8080

8181
security: ## Check for security vulnerabilities
82-
uv run pip-audit --skip-editable
82+
# TODO: Remove --ignore-vuln CVE-2026-4539 flag when patch exists for pygments
83+
# This is a low severity redos vulnerability: https://www.cve.org/CVERecord?id=CVE-2026-4539
84+
uv run pip-audit --skip-editable --ignore-vuln CVE-2026-4539
8385

8486
generate-licenses: ## Generate licenses
8587
uv tool run licensecheck --license MIT \

0 commit comments

Comments
 (0)