{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-128984",
        "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "state": "PUBLISHED",
        "assignerShortName": "apache",
        "dateReserved": "2026-11-13T13:58:19.697Z",
        "datePublished": "2026-12-03T12:16:35.935Z",
        "dateUpdated": "2026-12-03T16:45:21.735Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
                "shortName": "apache",
                "dateUpdated": "2026-12-03T12:16:35.935Z"
            },
            "title": "Apache Camel: Camel-SFTP passes file names to JSch as glob patterns, so wildcards act on other files in the directory",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                            "lang": "en",
                            "cweId": "CWE-22",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "affected": [
                {
                    "vendor": "Apache Software Foundation",
                    "product": "Apache Camel",
                    "collectionURL": "https://repo.maven.apache.org/maven2",
                    "packageName": "org.apache.camel:camel-ftp",
                    "packageURL": "pkg:maven/org.apache.camel/camel-ftp",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "4.0.0",
                            "lessThan": "4.18.6",
                            "versionType": "maven"
                        },
                        {
                            "status": "affected",
                            "version": "4.19.0",
                            "lessThan": "4.22.3",
                            "versionType": "maven"
                        },
                        {
                            "status": "affected",
                            "version": "4.23.0",
                            "lessThan": "4.24.0",
                            "versionType": "maven"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "value": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Camel SFTP component.\n\n\n\nThis issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.\n\n\n\ncamel-sftp (the JSch-based sftp in the camel-ftp module, SftpOperations) passed file names to JSch put, get, rm and rename as glob patterns rather than literal names, so a name containing ? or * matched and acted on other files in the same directory, allowing an unintended file to be read, overwritten or deleted. The fixed releases pass the file names to JSch literally.\n\n\n\nUpgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.",
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Camel SFTP component.</p><p>This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.</p><p>camel-sftp (the JSch-based sftp in the camel-ftp module, SftpOperations) passed file names to JSch put, get, rm and rename as glob patterns rather than literal names, so a name containing ? or * matched and acted on other files in the same directory, allowing an unintended file to be read, overwritten or deleted. The fixed releases pass the file names to JSch literally.</p><p>Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.</p>"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://camel.apache.org/security/CVE-2026-128984.html",
                    "name": "Apache Camel Security Advisory - CVE-2026-128984",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://issues.apache.org/jira/browse/CAMEL-26925",
                    "name": "CAMEL-26925",
                    "tags": [
                        "issue-tracking"
                    ]
                },
                {
                    "url": "https://github.com/apache/camel/pull/29848",
                    "name": "Fix on main, released in 4.24.0 (commit dead0782eca6)",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/apache/camel/pull/30186",
                    "name": "Backport to camel-4.22.x, released in 4.22.3 (commit b4e59eaf2d5b)",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/apache/camel/pull/30187",
                    "name": "Backport to camel-4.18.x, released in 4.18.6 (commit f7752dac5891)",
                    "tags": [
                        "patch"
                    ]
                }
            ],
            "metrics": [
                {
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "HIGH",
                        "baseSeverity": "MEDIUM",
                        "baseScore": 6.5,
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H"
                    }
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.</p>"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Federico Mariani",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "Claus Ibsen",
                    "type": "remediation developer"
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 1.0.3"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-03T16:21:51.821835Z",
                                "id": "CVE-2026-128984",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-03T16:45:21.735Z"
                }
            }
        ]
    }
}