{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0.0"
                  },
                  {
                    "fixed": "4.18.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "4.19.0"
                  },
                  {
                    "fixed": "4.22.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "4.23.0"
                  },
                  {
                    "fixed": "4.24.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "8d135894cd73970c82da5da0dc71ecc7f5521ad5"
            },
            {
              "fixed": "19ef6d5c60cd2e4611e909fff6fcd9b93690fdf6"
            },
            {
              "introduced": "3e9f3011ad48de66fef582ade9794c7340c23af7"
            },
            {
              "fixed": "44021105e658f4127519d349d8ddd943cf3a0034"
            },
            {
              "introduced": "b2329103df8f5d1edfca2ad262be09e3be95ee68"
            },
            {
              "fixed": "7a4dea081f45adffc997ee6dfac03268da4e3104"
            }
          ],
          "repo": "https://github.com/apache/camel",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-93"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135916.json"
  },
  "details": "Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in Apache Camel JSch 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\nThe camel-jsch SCP producer assembled the SCP transfer control stream by writing a message-supplied file name into line-feed-delimited protocol lines without rejecting a line feed (U+000A) or a NUL (U+0000) character. Because the file name can originate in untrusted message data, a name containing one of those characters was not kept within its intended control line when the producer sent the file to the remote SCP process. The fix rejects any file name that contains a line feed or a NUL before the transfer begins, so such a name is never transmitted.\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.",
  "id": "CVE-2026-135916",
  "modified": "2026-12-03T13:45:49.023163784Z",
  "published": "2026-12-03T12:18:34.584Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://camel.apache.org/security/CVE-2026-135916.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135916.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apache/camel/pull/29285"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apache/camel/pull/29319"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apache/camel/pull/29320"
    },
    {
      "type": "REPORT",
      "url": "https://issues.apache.org/jira/browse/CAMEL-26066"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-135916"
    },
    {
      "type": "WEB",
      "url": "https://repo.maven.apache.org/maven2"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Apache Camel: Camel-JSch SCP producer protocol injection via a line feed or NUL character in the file name"
}