Repository navigation
·
7 commits
to main
since this release
Security
Fixes arbitrary code execution when loading adapter checkpoints (CWE-502).
LinearAdapter.load()now usestorch.load(..., weights_only=True)so a crafted.ptfile can no longer execute code on load.- Raised the minimum
torchto>=2.10.0to 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