{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:apache:syncope:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:apache:syncope:4.1.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "3.0.0"
              },
              {
                "last_affected": "3.0.16"
              },
              {
                "introduced": "4.0.0"
              },
              {
                "fixed": "4.0.6"
              },
              {
                "introduced": "4.1.0"
              },
              {
                "last_affected": "4.1.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "d4a8b1eb53b246c42acb757739637be02838a082"
            },
            {
              "introduced": "b0c019c1256bf433bf60e3211ee8711dae03e6bc"
            },
            {
              "fixed": "02823557b26a1632a8cb8f02ef2822b5fa5c331c"
            },
            {
              "introduced": "7afe57a317c88ebedf75ca8d714ad743e5cd1d24"
            }
          ],
          "repo": "https://github.com/apache/syncope",
          "type": "GIT"
        }
      ],
      "versions": [
        "4.1.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-202"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42797.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "3.0"
          },
          {
            "last_affected": "3.0.16"
          },
          {
            "introduced": "4.0"
          },
          {
            "last_affected": "4.0.5"
          },
          {
            "introduced": "4.1"
          },
          {
            "last_affected": "4.1.0"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "3.0"
          },
          {
            "fixed": "3.0.16"
          },
          {
            "introduced": "4.0"
          },
          {
            "fixed": "4.0.5"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "Exposure of Sensitive Information Through Data Queries vulnerability in Apache Syncope.\n\nAn administrator with adequate entitlements for Derived Schemas can create a malicious JEXL expression which allows any administrator with sufficient entitlements for User read to access User-related security-sensitive information.\n\nThis issue affects Apache Syncope: 3.0 through 3.0.16, 4.0 through 4.0.5, 4.1.0.\n\nUsers are recommended to upgrade to version 4.0.6 / 4.1.1, which fix this issue by further restricting the JEXL expression definition.",
  "id": "CVE-2026-42797",
  "modified": "2026-07-08T05:38:23.559961261Z",
  "published": "2026-05-25T15:00:55.670Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/05/25/5"
    },
    {
      "type": "WEB",
      "url": "https://repo.maven.apache.org/maven2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42797.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread/5y7d277sntyytrmxnx2tfjr9ftcpq1s6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42797"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Apache Syncope: JexlContextBuilder Information Disclosure"
}