Skip to content

Release 2026-11-06 (1.4.11) - #71

Merged
eliseharvey merged 1 commit into
mainfrom
release-2026-11-06
Nov 6, 2026
Merged

eliseharvey merged 1 commit into
mainfrom
release-2026-11-06

Conversation

@eliseharvey

Copy link
Copy Markdown
Contributor

Summary

  • Security fix: EvaluationResult._download_eval_results() now checks S3 object keys when it downloads evaluation results from an S3 directory (eval_output_path not ending in .tar.gz). Each key's destination is resolved and must stay inside the local results cache. A key that would resolve outside the cache, including through a symlink, raises ValueError before anything is written. This affects SMTJEvaluationResult, SMHPEvaluationResult, and BedrockEvaluationResult.
  • If a download fails, the partially populated results cache is removed, so a later get() / show() call can't reuse it.
  • Bump version to 1.4.11.

Testing

  • pip install -e . succeeds.
  • python -m pytest: 3163 passed, 36 subtests passed, 0 failures. Includes the new TestDownloadEvalResultsPathTraversal tests.
  • python -m build and twine check dist/* pass for amzn_nova_forge-1.4.11.

Release notes: amzn-nova-forge 1.4.11

⚠️ DEPRECATED

This package (amzn-nova-forge) has converged into the SageMaker SDK for a unified experience across model families and will no longer receive feature updates.

Please use the SageMaker Python SDK V3 (pip install "sagemaker>=3.19.0") for Amazon Nova model customization.

The README contains a migration guide on how to use the SageMaker Python SDK: https://github.com/aws/nova-forge-sdk/blob/main/README.md

Security

  • Downloading evaluation results from an S3 directory now validates that every object key resolves inside the local results cache. Keys that would resolve outside it raise ValueError and nothing is written. Previously, a crafted object key in the evaluation output prefix could cause files to be written outside the cache directory when calling get(), show(), or upload_tensorboard_results(). All users should upgrade to 1.4.11.

Bug Fixes

  • A failed evaluation results download no longer leaves a partially populated cache that later calls would reuse.

…esults

Evaluation results downloaded from an S3 directory are now required to resolve
inside the local results cache; keys that would resolve outside it raise
ValueError before any file is written. A partially populated cache is removed
on download failure. Bump version to 1.4.11.
@eliseharvey eliseharvey closed this Nov 6, 2026
@eliseharvey eliseharvey reopened this Nov 6, 2026
@eliseharvey

Copy link
Copy Markdown
Contributor Author

Closed and re-opened to run the CodeQL scan, which was blocking merge.

@eliseharvey
eliseharvey merged commit f8f0d87 into main Nov 6, 2026
7 checks 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.

3 participants