{
  "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-532"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/127xxx/CVE-2026-127042.json"
  },
  "details": "Insertion of Sensitive Information into Log File vulnerability in Apache Camel WhatsApp 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-whatsapp component's producer (WhatsAppServiceRestAPIAdapter) writes the full REST response body returned by the WhatsApp Cloud API to the application log at INFO on every send, with no opt-in. Because a successful response echoes the submitted recipient value and the WhatsApp contact id (contacts[].input, contacts[].wa_id) and carries provider message identifiers, those routing identifiers are copied into routine production logs and any downstream log aggregation. The fix stops logging the response body at INFO and logs only the response status code.\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-127042",
  "modified": "2026-12-03T12:45:55.612914420Z",
  "published": "2026-12-03T11:53:03.454Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://camel.apache.org/security/CVE-2026-127042.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/127xxx/CVE-2026-127042.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apache/camel/pull/29736"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apache/camel/pull/29775"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apache/camel/pull/29776"
    },
    {
      "type": "REPORT",
      "url": "https://issues.apache.org/jira/browse/CAMEL-26891"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-127042"
    },
    {
      "type": "WEB",
      "url": "https://repo.maven.apache.org/maven2"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Apache Camel: Camel-WhatsApp: the WhatsApp producer logs the full REST response body at INFO, exposing message recipient identifiers"
}