org.springframework.integration:spring-integration-file@7.1.2

  • latest version

    7.1.2

  • latest non vulnerable version

  • first published

    17 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.springframework.integration:spring-integration-file 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
    • M
    Directory Traversal

    org.springframework.integration:spring-integration-file is a Spring Integration File Support

    Affected versions of this package are vulnerable to Directory Traversal in the AbstractRemoteFileOutboundGateway class, whose MGET command derives the local write directory from localDirectoryExpression without a containment check, so a local-directory-expression that references the server-controlled #remoteDirectory can resolve outside the intended root. A malicious or compromised remote server can return a listing entry with traversal sequences to make the gateway write fetched files to an arbitrary local directory. This requires an FTP, SFTP, or SMB outbound gateway using MGET with a local-directory-expression that references #remoteDirectory.

    Note: This is a follow-up to the vulnerability described in CVE-2026-40987.

    How to fix Directory Traversal?

    Upgrade org.springframework.integration:spring-integration-file to version 7.0.8, 7.1.3 or higher.

    [5.5.0,7.0.8)[7.1.0-M1,7.1.3)