Skip to content

Pin actions/download-artifact to patched version (fixes arbitrary file write vulnerability) - #2022

Draft
Aditya Patwardhan (adityapatwardhan) with Copilot wants to merge 6 commits into
masterfrom
copilot/convert-azure-pipeline-to-github-actions
Draft

Pin actions/download-artifact to patched version (fixes arbitrary file write vulnerability)#2022
Aditya Patwardhan (adityapatwardhan) with Copilot wants to merge 6 commits into
masterfrom
copilot/convert-azure-pipeline-to-github-actions

Conversation

Copilot AI commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

actions/download-artifact@v4 as used in the new CI workflow resolves to the latest v4.x release, which includes versions >=4.0.0, <4.1.3 vulnerable to arbitrary file write via artifact extraction.

Changes

  • Pinned actions/download-artifact (used in both the test matrix job and the test-azauth job) to the patched v4.3.0 release, referenced by immutable commit SHA.
  • Pinned actions/upload-artifact (previously floating on @v4) to v4.6.2 by commit SHA for consistency with the SHA-pinning convention already used elsewhere in this repo (e.g. actions/checkout).
  • Verified both pinned versions against the GitHub Advisory Database — no known vulnerabilities.
# before
- uses: actions/download-artifact@v4

# after
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 (fixes arbitrary file write vuln, patched >=4.1.3)

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI and others added 2 commits September 4, 2026 19:21
Co-authored-by: adityapatwardhan <12820925+adityapatwardhan@users.noreply.github.com>
Co-authored-by: adityapatwardhan <12820925+adityapatwardhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Convert Azure DevOps pipeline to GitHub Actions workflows Pin actions/download-artifact to patched version (fixes arbitrary file write vulnerability) Sep 4, 2026
Co-authored-by: adityapatwardhan <12820925+adityapatwardhan@users.noreply.github.com>
Co-authored-by: adityapatwardhan <12820925+adityapatwardhan@users.noreply.github.com>
…ctions

Co-authored-by: adityapatwardhan <12820925+adityapatwardhan@users.noreply.github.com>
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