Skip to content

cp: fix multimodal image URL SSRF - #761

Open
svcnemo-autobot wants to merge 3 commits into
NVIDIA-NeMo:r0.7.0from
svcnemo-autobot:chore/cherrypick-04d0c4b9-to-r0.7.0
Open

cp: fix multimodal image URL SSRF#761
svcnemo-autobot wants to merge 3 commits into
NVIDIA-NeMo:r0.7.0from
svcnemo-autobot:chore/cherrypick-04d0c4b9-to-r0.7.0

Conversation

@svcnemo-autobot

@svcnemo-autobot svcnemo-autobot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Background

Backport the security fix from #741 to the r0.7.0 release branch.

What changed

Cherry-picked 04d0c4b9f3945887e4ec26d6859dc988e72c776a with provenance preserved. Restored worker-rank log-prob materialization required by the release branch and aligned stale distributed inference tests with coordinator mode.

Details

Adds guarded image URL fetching that rejects non-global addresses, pins validated destinations, and revalidates redirects. Multimodal query and deploy paths use the guarded fetch. Worker ranks now materialize all logits when log probabilities are requested. Obsolete manual-broadcast assertions were replaced with construction-level checks for materialize_only_last_token_logits=False.

Tested

  • CI on 1e41a870: lint and CPU unit tests passed; GPU tests reached 341 passed, 12 skipped, and one stale broadcast assertion failure
  • Managed L0_Unit_Tests_GPU retry stopped before pytest because /tmp/regent-cache/uv/sdists-v9/.git was mounted read-only

CI remains authoritative for cbe1b77a.

@copy-pr-bot

copy-pr-bot Bot commented Sep 3, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

/ok to test e92182c

Backport the SSRF protections from 04d0c4b.

(cherry picked from commit 04d0c4b)
Signed-off-by: svcnemo-autobot <svcnemo-autobot@nvidia.com>
@nemo-autobot-origin
nemo-autobot-origin Bot force-pushed the chore/cherrypick-04d0c4b9-to-r0.7.0 branch from e92182c to e1c9be1 Compare September 3, 2026 21:48
@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

/ok to test e1c9be1

Signed-off-by: svcnemo-autobot <svcnemo-autobot@nvidia.com>
@github-actions github-actions Bot added the LLM label Sep 4, 2026
@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

/ok to test 1e41a87

Signed-off-by: svcnemo-autobot <svcnemo-autobot@nvidia.com>
@svcnvidia-nemo-ci

Copy link
Copy Markdown
Contributor

/ok to test cbe1b77

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.

3 participants