1. Accueil
  2. Vulnérabilités
  3. CVE-2026-59381

CVE-2026-59381

Spring Integration Remote File MGET Local Directory Path Traversal via Server-Controlled Remote Directory

Publiée le 2 déc. 2026 · modifiée le 2 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 31/100

Résumé

The fix for CVE-2026-40987 validates only the file name against the local directory. For the remote file outbound gateway MGET command, the local directory itself can be derived from the server-controlled listing entry via the documented #remoteDirectory SpEL variable in a local-directory-expression . Since the directory is canonicalized before the containment check, the check passes even though the directory has already escaped the intended root, and the framework then creates the escaped directory. As a result, a malicious FTP, SFTP or SMB server can write files with attacker-controlled content to arbitrary paths outside the configured local directory. Applications are affected if they use the MGET command of an FTP, SFTP or SMB outbound gateway with a local directory expression that references #remoteDirectory (as in the reference documentation examples) and connect to a server that may be malicious or compromised.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Spring (7 ligne(s))
Spring
ProduitVersionsCorrigé dansSource
Integration de 7.1.0 (inclus) à 7.1.2.1 (exclu) — CNA (éditeur ou attributeur)
Integration de 7.0.0 (inclus) à 7.0.7.1 (exclu) — CNA (éditeur ou attributeur)
Integration de 6.5.0 (inclus) à 6.5.12 (exclu) — CNA (éditeur ou attributeur)
Integration de 6.4.0 (inclus) à 6.4.14 (exclu) — CNA (éditeur ou attributeur)
Integration de 5.5.0 (inclus) à 5.5.23 (exclu) — CNA (éditeur ou attributeur)
Integration de 7.1.0 (inclus) à 7.1.3 (exclu) — CNA (éditeur ou attributeur)
Integration de 7.0.0 (inclus) à 7.0.8 (exclu) — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L (CVSS 3.1, CNA:vmware)

Comment sont obtenues et calculées ces données