Skip to content

v0.1.1 — security fix (CWE-502 RCE in checkpoint load)

Latest

Choose a tag to compare

@opensource-SantanderAI opensource-SantanderAI released this 01 Jul 09:45
· 7 commits to main since this release

Security

Fixes arbitrary code execution when loading adapter checkpoints (CWE-502).

  • LinearAdapter.load() now uses torch.load(..., weights_only=True) so a crafted .pt file can no longer execute code on load.
  • Raised the minimum torch to >=2.10.0 to cover CVE-2025-32434 and CVE-2026-24747.
  • Added a regression test and documented the checkpoint trust boundary.

Reported by Ian Hudson (EPAM Systems) via coordinated disclosure. Thank you.

Full changelog: https://github.com/SantanderAI/linear-adapter-trainer/blob/main/CHANGELOG.md