2026-12-03 12:11CVE-2026-116484apache
PUBLISHED5.2CWE-287

Apache Camel: Camel-Shiro: Cross-Policy Authentication Bypass via JVM-Global SecurityManager

Improper Authentication vulnerability in Apache Camel Shiro component.

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.

In Apache Camel camel-shiro (all versions before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0), INI-based ShiroSecurityPolicy constructors set their SecurityManager in JVM-global static state, and ShiroSecurityProcessor obtained the subject globally via SecurityUtils.getSubject() rather than from the route's policy. In applications configuring multiple Shiro policies with different realms in the same JVM, credentials valid only in one realm could authenticate on routes protected by another policy.

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.

Problem type

Affected products

Apache Software Foundation

Apache Camel

< 4.18.6 - AFFECTED

< 4.22.3 - AFFECTED

< 4.24.0 - AFFECTED

References

GitHub Security Advisories

GHSA-78fj-72h2-q664

Improper Authentication vulnerability in Apache Camel Shiro component. This issue affects...

https://github.com/advisories/GHSA-78fj-72h2-q664

Improper Authentication vulnerability in Apache Camel Shiro component.

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.

In Apache Camel camel-shiro (all versions before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0), INI-based ShiroSecurityPolicy constructors set their SecurityManager in JVM-global static state, and ShiroSecurityProcessor obtained the subject globally via SecurityUtils.getSubject() rather than from the route's policy. In applications configuring multiple Shiro policies with different realms in the same JVM, credentials valid only in one realm could authenticate on routes protected by another policy.

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.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-116484
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-116484",
    "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
    "assignerShortName": "apache",
    "dateUpdated": "2026-12-03T12:11:25.384Z",
    "dateReserved": "2026-10-26T11:18:36.699Z",
    "datePublished": "2026-12-03T12:11:25.384Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "shortName": "apache",
        "dateUpdated": "2026-12-03T12:11:25.384Z"
      },
      "title": "Apache Camel: Camel-Shiro: Cross-Policy Authentication Bypass via JVM-Global SecurityManager",
      "descriptions": [
        {
          "lang": "en",
          "value": "Improper Authentication vulnerability in Apache Camel Shiro 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\nIn Apache Camel camel-shiro (all versions before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0), INI-based ShiroSecurityPolicy constructors set their SecurityManager in JVM-global static state, and ShiroSecurityProcessor obtained the subject globally via SecurityUtils.getSubject() rather than from the route's policy. In applications configuring multiple Shiro policies with different realms in the same JVM, credentials valid only in one realm could authenticate on routes protected by another policy.\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.",
          "supportingMedia": [
            {
              "type": "text/html",
              "base64": false,
              "value": "<p>Improper Authentication vulnerability in Apache Camel Shiro 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>In Apache Camel camel-shiro (all versions before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0), INI-based ShiroSecurityPolicy constructors set their SecurityManager in JVM-global static state, and ShiroSecurityProcessor obtained the subject globally via SecurityUtils.getSubject() rather than from the route's policy. In applications configuring multiple Shiro policies with different realms in the same JVM, credentials valid only in one realm could authenticate on routes protected by another policy.</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>"
            }
          ]
        }
      ],
      "affected": [
        {
          "vendor": "Apache Software Foundation",
          "product": "Apache Camel",
          "collectionURL": "https://repo.maven.apache.org/maven2",
          "packageName": "org.apache.camel:camel-shiro",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "4.0.0",
              "status": "affected",
              "versionType": "maven",
              "lessThan": "4.18.6"
            },
            {
              "version": "4.19.0",
              "status": "affected",
              "versionType": "maven",
              "lessThan": "4.22.3"
            },
            {
              "version": "4.23.0",
              "status": "affected",
              "versionType": "maven",
              "lessThan": "4.24.0"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-287 Improper Authentication",
              "cweId": "CWE-287",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://camel.apache.org/security/CVE-2026-116484.html",
          "name": "Apache Camel Security Advisory - CVE-2026-116484",
          "tags": [
            "vendor-advisory"
          ]
        },
        {
          "url": "https://issues.apache.org/jira/browse/CAMEL-26323",
          "name": "CAMEL-26323",
          "tags": [
            "issue-tracking"
          ]
        },
        {
          "url": "https://github.com/apache/camel/pull/28522",
          "name": "Fix on main, released in 4.24.0 (commit e58653d075cd)",
          "tags": [
            "patch"
          ]
        },
        {
          "url": "https://github.com/apache/camel/pull/28570",
          "name": "Backport to camel-4.22.x, released in 4.22.3 (commit 6b1775efc391)",
          "tags": [
            "patch"
          ]
        },
        {
          "url": "https://github.com/apache/camel/pull/28569",
          "name": "Backport to camel-4.18.x, released in 4.18.6 (commit 63cb8ff1a39d)",
          "tags": [
            "patch"
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ],
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
            "attackVector": "NETWORK",
            "attackComplexity": "HIGH",
            "privilegesRequired": "LOW",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "availabilityImpact": "NONE",
            "baseScore": 6.8,
            "baseSeverity": "MEDIUM"
          }
        }
      ],
      "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": "Shashank Mohan Jain",
          "type": "finder"
        },
        {
          "lang": "en",
          "value": "Andrea Cosentino",
          "type": "remediation developer"
        }
      ]
    }
  }
}