CVE-2026-40137 Overview
CVE-2026-40137 is a reflected cross-site scripting and open redirect vulnerability in the SAP TAF_APPLAUNCHER component within Business Server Pages (BSP). An unauthenticated attacker can craft malicious links that, when clicked by a victim, redirect the browser to attacker-controlled sites. Successful exploitation can expose or alter sensitive information rendered in the victim's browser session. The flaw is categorized under CWE-79 (Improper Neutralization of Input During Web Page Generation).
Critical Impact
Unauthenticated attackers can hijack authenticated user sessions in the browser, steal session data, or manipulate displayed content by tricking users into clicking crafted SAP BSP links.
Affected Products
- SAP NetWeaver Application Server ABAP (Business Server Pages)
- SAP TAF_APPLAUNCHER component
- SAP systems exposing BSP applications to end users
Discovery Timeline
- 2026-05-12 - CVE-2026-40137 published to NVD
- 2026-05-12 - SAP Security Patch Day disclosure with SAP Note #3727717
- 2026-05-12 - Last updated in NVD database
Technical Details for CVE-2026-40137
Vulnerability Analysis
The vulnerability resides in the TAF_APPLAUNCHER handler used by SAP Business Server Pages. The component accepts user-supplied input that influences navigation targets and HTML output without proper neutralization. Because the attack changes the scope of execution between the SAP application and an attacker-controlled origin, the impact crosses a trust boundary in the user's browser.
Exploitation requires user interaction. A victim must click a crafted URL pointing at the SAP BSP endpoint with attacker-controlled parameters. The server reflects or redirects to the malicious destination, where attacker scripts can run in a context that the user trusts as legitimate SAP content.
The issue affects confidentiality and integrity of data the victim handles, including session tokens, form inputs, and rendered business data. Availability of the SAP application itself is not impacted.
Root Cause
The TAF_APPLAUNCHER BSP code fails to validate or encode URL parameters used for redirection and page rendering. Input flows from request parameters directly into response location headers and HTML output without an allowlist of permitted destinations or output encoding for HTML and JavaScript contexts.
Attack Vector
The attack uses the network vector and requires no privileges. An attacker delivers the crafted link through phishing email, instant messaging, or a watering-hole page. When an authenticated SAP user clicks the link, the BSP endpoint processes the malicious parameters and either redirects the browser to the attacker's domain or reflects unsanitized content back into the SAP-origin page.
The vulnerability is described in prose only. Refer to SAP Note #3727717 for vendor technical details. No public proof-of-concept code is available.
Detection Methods for CVE-2026-40137
Indicators of Compromise
- HTTP requests to BSP paths referencing TAF_APPLAUNCHER containing URL-encoded http://, https://, or javascript: payloads in query parameters.
- Outbound redirects from SAP application servers to external domains not on the corporate allowlist.
- Web server access logs showing unusual Referer headers pointing to webmail or external chat services followed by BSP launcher requests.
Detection Strategies
- Inspect SAP Web Dispatcher and ICM logs for TAF_APPLAUNCHER requests with suspicious redirect targets or script-like parameter values.
- Deploy WAF rules to flag BSP requests where parameters contain absolute URLs to non-corporate domains.
- Correlate user-agent click patterns with phishing email telemetry to identify recipients who triggered the crafted link.
Monitoring Recommendations
- Forward SAP ICM, Web Dispatcher, and reverse-proxy logs to a centralized log platform for analysis.
- Alert on BSP responses returning HTTP 302 to external hosts originating from internal user sessions.
- Track failed and successful authentication events that follow redirect chains involving the TAF_APPLAUNCHER endpoint.
How to Mitigate CVE-2026-40137
Immediate Actions Required
- Apply the corrections delivered in SAP Note #3727717 on all affected SAP systems.
- Restrict external access to BSP applications that are not required for internet-facing business processes.
- Notify SAP end users about the phishing risk and instruct them to avoid clicking unsolicited SAP links.
Patch Information
SAP released the fix on SAP Security Patch Day. Administrators should consult SAP Note #3727717 and the SAP Security Patch Day portal for the exact support package and kernel levels required for each affected release.
Workarounds
- Configure the SAP Web Dispatcher or upstream WAF to block requests to TAF_APPLAUNCHER containing fully qualified URLs in parameters.
- Enforce an allowlist of permitted redirect destinations at the reverse proxy until the SAP Note is applied.
- Disable the TAF_APPLAUNCHER BSP service through transaction SICF if it is not used by business processes.
# Disable the affected BSP service via SAP transaction SICF
# Path: /default_host/sap/bc/bsp/sap/taf_applauncher
# Right-click the node and select "Deactivate Service"
# Alternatively, restrict access at the Web Dispatcher:
# icm/HTTP/mod_0 = PREFIX=/sap/bc/bsp/sap/taf_applauncher/,FILE=/usr/sap/<SID>/sys/profile/redirect_block.txt
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.


