Skip to content

Add advisory for cargo-nextest rerun argument injection - #3448

Merged
djc merged 1 commit into
rustsec:mainfrom
sunshowers:nextest-injection
Oct 26, 2026
Merged

djc merged 1 commit into
rustsec:mainfrom
sunshowers:nextest-injection

Conversation

@sunshowers

@sunshowers sunshowers commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Affected crate(s)

  • cargo-nextest (1.8m+ recent downloads per crates.io)

Links to upstream issue(s) or PR(s)

GHSA-vc25-qg58-w57c

Severity

Nextest versions between 0.9.125 and 0.9.149 (inclusive) allow the cargo nextest run --rerun (or -R) command with a malicious portable recording to run arbitrary code during the build. The result is arbitrary code execution with the privileges of the user running cargo nextest.

This vulnerability requires that the experimental run recording functionality is enabled. An attacker can plausibly trick a victim into enabling this feature.

This is a 7.8 High vulnerability: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Checklist

  • Advisory filename(s) starts with RUSTSEC-0000-0000 as the ID
  • date field is set to the public disclosure date
  • Contains a concise and descriptive title after advisory metadata
  • Asked maintainer(s) if publishing an advisory is appropriate (I am the maintainer)

@djc djc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@djc
djc merged commit 3279c99 into rustsec:main Oct 26, 2026
1 check passed
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