lightning@2.6.0.dev20251228

The Deep Learning framework to train, deploy, and ship AI products Lightning fast.

  • latest version

    2.6.4

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    5 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the lightning package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Deserialization of Untrusted Data

    lightning is a Deep Learning framework to train, deploy, and ship AI products Lightning fast.

    Affected versions of this package are vulnerable to Deserialization of Untrusted Data in the LightningModule.load_from_checkpoint function. Any workflow that calls this function on an untrusted .ckpt inherits PyTorch’s unsafe unpickling defaults. Malicious checkpoints can embed arbitrary pickle gadgets, achieving code execution the moment Lightning restores weights.

    How to fix Deserialization of Untrusted Data?

    Upgrade lightning to version 2.6.1 or higher.

    [,2.6.1)