/

CVE-2026-57967

Severity:

CRITICAL RISK

(9.8)

Missing Authentication (CWE-306) in Apache Artemis CORE

CVE-2026-57967

Modified

Vulnerability type

Category:

Missing Authentication

CWE:

CWE-306

Impact:

Unauthenticated Session Hijacking and Unauthorized Access

Severity:

CRITICAL RISK

(9.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Apache Artemis and Apache ActiveMQ Artemis contain a missing authentication check in CORE protocol session reattachment. An unauthenticated remote attacker may craft a SESSION_REATTACH packet to take over an existing authenticated session and continue its execution.

Apache Artemis and Apache ActiveMQ Artemis contain a missing authentication check in CORE protocol session reattachment. An unauthenticated remote attacker may craft a SESSION_REATTACH packet to take over an existing authenticated session and continue its execution.

Affected context

The issue occurs in Artemis deployments that expose the CORE protocol and support session reattachment. It becomes risky when an attacker can reach the protocol endpoint and the broker accepts a crafted reattachment request without adequately proving ownership of the existing authenticated session. Affected product lines include Apache Artemis versions 2.50.0 through 2.56.0 and Apache ActiveMQ Artemis versions 1.0.0 through 2.44.0.

The issue occurs in Artemis deployments that expose the CORE protocol and support session reattachment. It becomes risky when an attacker can reach the protocol endpoint and the broker accepts a crafted reattachment request without adequately proving ownership of the existing authenticated session. Affected product lines include Apache Artemis versions 2.50.0 through 2.56.0 and Apache ActiveMQ Artemis versions 1.0.0 through 2.44.0.

Exploit preconditions

  • Attack surface: A network-accessible Apache Artemis CORE protocol endpoint
  • Required access: No authentication is required when the vulnerable reattachment path is reachable
  • Trigger point: Processing of a crafted CORE protocol SESSION_REATTACH packet
  • Why exploitation is possible: The protocol fails to sufficiently authenticate or bind the reattachment request to the original session owner
  • Attack surface: A network-accessible Apache Artemis CORE protocol endpoint
  • Required access: No authentication is required when the vulnerable reattachment path is reachable
  • Trigger point: Processing of a crafted CORE protocol SESSION_REATTACH packet
  • Why exploitation is possible: The protocol fails to sufficiently authenticate or bind the reattachment request to the original session owner

Why this happens

The vulnerability is caused by an insufficient authentication check during CORE protocol session reattachment. The broker permits a client to request continuation of an existing authenticated session without reliably verifying that the requester possesses the session's authentication context or other required binding information. This behavior maps to CWE-306: Missing Authentication for Critical Function, because a security-sensitive session-management operation can be reached without adequate authentication.

The vulnerability is caused by an insufficient authentication check during CORE protocol session reattachment. The broker permits a client to request continuation of an existing authenticated session without reliably verifying that the requester possesses the session's authentication context or other required binding information. This behavior maps to CWE-306: Missing Authentication for Critical Function, because a security-sensitive session-management operation can be reached without adequate authentication.

Potential impact

  • An attacker may hijack an existing authenticated session
  • Unauthorized commands or operations could be performed with the session's privileges
  • Broker-managed messages or resources could be accessed or modified
  • Confidentiality, integrity, and availability of broker workloads may be affected
  • Compromised sessions could enable broader abuse depending on assigned permissions
  • An attacker may hijack an existing authenticated session
  • Unauthorized commands or operations could be performed with the session's privileges
  • Broker-managed messages or resources could be accessed or modified
  • Confidentiality, integrity, and availability of broker workloads may be affected
  • Compromised sessions could enable broader abuse depending on assigned permissions

General mitigation guidance

Mitigation generally focuses on ensuring that session reattachment is cryptographically or otherwise strongly bound to the original authenticated context.

Common defensive patterns include:

  • Require authentication and authorization checks for every session-attachment operation
  • Bind reattachment tokens or identifiers to the authenticated principal and connection context
  • Reject stale, malformed, duplicated, or unverifiable reattachment requests
  • Restrict CORE protocol exposure to trusted networks and authorized clients
  • Apply least-privilege permissions to broker users and service identities
  • Use secure-by-default protocol and transport configurations that minimize unauthenticated reachability
  • Monitor and invalidate suspicious or unexpected session reattachment activity

Mitigation generally focuses on ensuring that session reattachment is cryptographically or otherwise strongly bound to the original authenticated context.

Common defensive patterns include:

  • Require authentication and authorization checks for every session-attachment operation
  • Bind reattachment tokens or identifiers to the authenticated principal and connection context
  • Reject stale, malformed, duplicated, or unverifiable reattachment requests
  • Restrict CORE protocol exposure to trusted networks and authorized clients
  • Apply least-privilege permissions to broker users and service identities
  • Use secure-by-default protocol and transport configurations that minimize unauthenticated reachability
  • Monitor and invalidate suspicious or unexpected session reattachment activity

How teams detect issues like this

Organizations can assess this class of issue through:

  • Static and protocol-level review of session creation, restoration, and reattachment handlers
  • Code review checks confirming authentication and authorization at every state transition
  • Tests that attempt session reattachment from a different unauthenticated or unauthorized client context
  • Network policy enforcement limiting CORE protocol endpoints to approved sources
  • Runtime monitoring for unusual SESSION_REATTACH requests, repeated failures, or unexpected client changes
  • Automated security review tools that flag critical operations reachable before principal verification

Organizations can assess this class of issue through:

  • Static and protocol-level review of session creation, restoration, and reattachment handlers
  • Code review checks confirming authentication and authorization at every state transition
  • Tests that attempt session reattachment from a different unauthenticated or unauthorized client context
  • Network policy enforcement limiting CORE protocol endpoints to approved sources
  • Runtime monitoring for unusual SESSION_REATTACH requests, repeated failures, or unexpected client changes
  • Automated security review tools that flag critical operations reachable before principal verification

Sources

SourceLink
lists.apache.orglists.apache.org/thread/fxfjqrdsnksw5f17zs3yqo864lblgv6y
openwall.comopenwall.com/lists/oss-security/2026/09/10/5
github.comgithub.com/c0dem4sters/CVE-2026-57967

Frequently asked

questions

Yes. An attacker may exploit the issue over the network when a vulnerable CORE protocol endpoint is reachable, and the attack does not require prior authentication.

The attacker generally needs network connectivity to the exposed protocol endpoint. Valid credentials or ownership of the target session should not be required on the vulnerable path.

Ensure every session reattachment request is strongly authenticated, authorized, and bound to the original session's security context. Network isolation should provide an additional layer of protection rather than replace protocol-level checks.

Treat session restoration as a privileged operation, test every protocol state transition for authentication bypasses, restrict administrative and broker interfaces, and monitor for anomalous session activity.

Yes. An attacker may exploit the issue over the network when a vulnerable CORE protocol endpoint is reachable, and the attack does not require prior authentication.

The attacker generally needs network connectivity to the exposed protocol endpoint. Valid credentials or ownership of the target session should not be required on the vulnerable path.

Ensure every session reattachment request is strongly authenticated, authorized, and bound to the original session's security context. Network isolation should provide an additional layer of protection rather than replace protocol-level checks.

Treat session restoration as a privileged operation, test every protocol state transition for authentication bypasses, restrict administrative and broker interfaces, and monitor for anomalous session activity.

Find out what's already
exploitable in your codebase.