CVE-2025-42887 Code Injection vulnerability in SAP Solution Manager
An authenticated attacker can inject malicious code via remote function modules in SAP Solution Manager, gaining full system control.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-42887?
CVE-2025-42887 is a critical code injection vulnerability in SAP_SE SAP Solution Manager, published on 11 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Due to missing input sanitation, SAP Solution Manager allows an authenticated attacker to insert malicious code when calling a remote-enabled function module. This could provide the attacker with full control of the system hence leading to high impact on confidentiality, integrity and availability of the system.
Weakness: CWE-94
Which versions are affected by CVE-2025-42887?
How do I fix CVE-2025-42887?
No fix has been published for CVE-2025-42887 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-42887 being exploited?
There is no known exploitation of CVE-2025-42887 in the wild and no public exploit code.
Sources
Also known as GHSA-cqr5-w9rg-4vm5.