News

SAP Message Server accepts rogue cluster components

Louis Stowasser
Louis Stowasser
Wednesday 9 September 2026
SAP Message Server accepts rogue cluster components
SAP Message Server accepts rogue cluster components

CVE-2026-58240 is a trust-boundary failure in SAP NetWeaver Message Server: a service designed to coordinate an SAP system’s own application servers can be persuaded to accept an attacker-controlled one. SAP released the fix in its September 8, 2026 Patch Day; the public bulletin identifies kernel branches 9.16, 9.18, 9.19 and 9.20 as affected.

Message Server normally runs once per SAP system as part of ABAP Server Central Services. It is the central communications point for application-server instances, helps distribute SAP GUI and RFC logons, and supplies instance data to components such as SAP Web Dispatcher. In other words, it sits inside the control plane of the SAP deployment, where peers are supposed to be trusted.

That makes this relevant to organisations running S/4HANA, S/4HANA Cloud Private Edition, and potentially other ABAP-based products on the listed kernels. These are commonly large enterprises and public-sector bodies whose SAP estates run ERP, finance, supply-chain, manufacturing and other core processes, often across several application servers.

Registration was treated as proof of identity

The flaw is not an ordinary user-login bypass. When an internal application-server component registers with Message Server, the vulnerable service does not sufficiently establish that the registrant is genuine. An unauthenticated attacker who can reach the affected service can submit a registration for an unauthorized component; SAP says that position can enable unauthorized actions within the application environment, with high impact to confidentiality, integrity and availability.

A reverse-engineered view of the older handler helps explain the issue. The supplied registration payload is parsed directly into a process-global gateway record, and the visible decision is whether parsing worked—not whether the sender was an approved cluster peer.

; case 82 (MS_ASCS_GW_LOGON), PL71
mov     esi, [rbp+<len>]         ; payload length
lea     rdi, [r15+<payload>]     ; the peer's value bytes
lea     rdx, _ZL7gAscsGw         ; process-global gateway record
call    MsAscsGwReadPayload      ; parse straight into the global
test    al, al
jnz     loc_accept               ; parse ok, so accept

Onapsis, which calls the issue S4GET, says the rogue registration can make an attacker-controlled address trusted by the cluster and ultimately lead to remote code execution as the SAP operating-system account through normal Gateway and RFC functions. Independent analysis demonstrated persistent poisoning of an ASCS gateway registry entry but did not establish code execution. SAP’s public description likewise stops at unauthorized registration and actions, so teams should not present RCE as confirmed fact.

Apply SAP’s supported kernel level

SAP’s Security Note 3759472 supplies the patch. The first supported fixed levels reported for the listed branches are 9.16 PL100, 9.18 PL32, 9.19 PL17 and 9.20 PL7; lower levels should be treated as affected. The correction adds checks around the registration path, including local/internal communication conditions and handling for authenticated internal links. SAP provides no complete workaround: restrict network reachability to the Message Server, review unexpected registrations and monitor relevant traffic only as temporary compensating controls while scheduling the kernel update.

As of September 9, no active exploitation or incident tied to CVE-2026-58240 had been confirmed, and it was not present in CISA’s KEV data. No public proof of concept or exploit code had surfaced. It arrived alongside other SAP fixes, including CVE-2026-44756, but deserves separate priority because it compromises the assumption that Message Server registrants are internal.

The practical task is to inventory every affected SAP kernel branch, verify the actual patch level, and limit access before maintenance completes. SecAlerts monitors an organisation’s actual software stack and alerts on new vulnerabilities affecting the products it runs, which is useful when a shared SAP kernel quietly spans more systems than the initial change window suggests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203