Skip to content

PB-2275: Upgrade black to >=26.3.1 (arbitrary file write fix)#86

Merged
cjfuller-dev merged 2 commits into
mainfrom
PB-2275-chris-dependabot-black-arbitrary-file-writes-in-types
May 6, 2026
Merged

PB-2275: Upgrade black to >=26.3.1 (arbitrary file write fix)#86
cjfuller-dev merged 2 commits into
mainfrom
PB-2275-chris-dependabot-black-arbitrary-file-writes-in-types

Conversation

@cjfuller-dev
Copy link
Copy Markdown
Contributor

Fixes Dependabot alert: Black arbitrary file writes from unsanitized user input in cache file name (CVE-2026-32274).

Upgraded black to >=26.3.1 which sanitizes the --python-cell-magics option value before using it in cache file names.

Resolves PB-2275

@cjfuller-dev cjfuller-dev force-pushed the PB-2275-chris-dependabot-black-arbitrary-file-writes-in-types branch from 858b972 to 0e4918a Compare May 5, 2026 12:44
@cjfuller-dev cjfuller-dev marked this pull request as ready for review May 5, 2026 12:53
Comment thread uncertainty_engine_types/graph.py
@cjfuller-dev cjfuller-dev marked this pull request as draft May 5, 2026 14:44
Required because ^24.10.0 caps at <25.0.0 which excludes the fix version.
@cjfuller-dev cjfuller-dev force-pushed the PB-2275-chris-dependabot-black-arbitrary-file-writes-in-types branch from 0e4918a to 610097d Compare May 5, 2026 14:49
@cjfuller-dev cjfuller-dev marked this pull request as ready for review May 5, 2026 14:53
@cjfuller-dev cjfuller-dev merged commit 31b3709 into main May 6, 2026
5 checks passed
@cjfuller-dev cjfuller-dev deleted the PB-2275-chris-dependabot-black-arbitrary-file-writes-in-types branch May 6, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants