Skip to content

fix(black): CVE-2026-31900, CVE-2026-32274#3

Open
deepin-ci-robot wants to merge 2 commits into
masterfrom
fix/CVE-2026-31900-multi
Open

fix(black): CVE-2026-31900, CVE-2026-32274#3
deepin-ci-robot wants to merge 2 commits into
masterfrom
fix/CVE-2026-31900-multi

Conversation

@deepin-ci-robot
Copy link
Copy Markdown
Contributor

Security Update

CVE-2026-31900

Harden parsing of black requirements in the GitHub Action when use_pyproject is enabled so that only version specifiers are accepted and direct references such as black @ https://... are rejected.

CVE-2026-32274

Always hash cache filename components derived from --python-cell-magics so custom magic names cannot affect cache paths. Also fix Jupyter notebook magic masking collisions by using exact-length placeholders for short magics and aborting if a placeholder can no longer be unmasked safely.


Generated by AI

deepin-ci-robot and others added 2 commits May 20, 2026 21:49
Harden parsing of black requirements in the GitHub Action when use_pyproject
is enabled so that only version specifiers are accepted and direct references
such as `black @ https://...` are rejected.

Upstream: psf/black@0a2560b
Generated-By: glm-5.1
Co-Authored-By: hudeng <hudeng@deepin.org>
Always hash cache filename components derived from --python-cell-magics
so custom magic names cannot affect cache paths. Also fix Jupyter
notebook magic masking collisions by using exact-length placeholders
for short magics and aborting if a placeholder can no longer be
unmasked safely.

Upstream: psf/black@4937fe6
Generated-By: glm-5.1
Co-Authored-By: hudeng <hudeng@deepin.org>
@deepin-ci-robot deepin-ci-robot requested review from BLumia and myml May 20, 2026 13:54
@deepin-ci-robot
Copy link
Copy Markdown
Contributor Author

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign zccrs for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions
Copy link
Copy Markdown

TAG Bot

TAG: 25.1.0-2deepin2
EXISTED: no
DISTRIBUTION: unstable

@hudeng-go
Copy link
Copy Markdown

/integrate

@github-actions
Copy link
Copy Markdown

AutoIntegrationPr Bot
auto integrate with pr url: deepin-community/Repository-Integration#4050
PrNumber: 4050
PrBranch: auto-integration-26199630376

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants