CVE-2025-48913 Apache CXF: Untrusted JMS configuration can lead to RCE
Attackers with JMS configuration access can achieve remote code execution via RMI or LDAP URLs in Apache CXF.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-48913?
CVE-2025-48913 is a critical code injection vulnerability in Apache Cxf, published on 8 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
If untrusted users are allowed to configure JMS for Apache CXF, previously they could use RMI or LDAP URLs, potentially leading to code execution capabilities. This interface is now restricted to reject those protocols, removing this possibility.
Users are recommended to upgrade to versions 3.6.8, 4.0.9 or 4.1.3, which fix this issue.
Weakness: CWE-20
Which versions are affected by CVE-2025-48913?
6 open source packages ship an affected version, including org.apache.cxf:cxf-rt-transports-jms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.cxf:cxf-rt-transports-jms Maven | All versions | 3.6.8 |
org.apache.cxf:cxf-rt-transports-jms Maven | All versions | 3.6.8 |
org.apache.cxf:cxf-rt-transports-jms Maven | From 4.0.0 | 4.0.9 |
org.apache.cxf:cxf-rt-transports-jms Maven | From 4.0.0 | 4.0.9 |
org.apache.cxf:cxf-rt-transports-jms Maven | From 4.1.0 | 4.1.3 |
org.apache.cxf:cxf-rt-transports-jms Maven | From 4.1.0 | 4.1.3 |
Products include Apache Cxf.
How do I fix CVE-2025-48913?
Upgrade org.apache.cxf:cxf-rt-transports-jms to a fixed version for your release line: 3.6.8, 4.0.9 or 4.1.3.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-48913 being exploited?
There is no known exploitation of CVE-2025-48913 in the wild and no public exploit code.
Other vulnerabilities in Apache Cxf
- CVE-2012-2379 XML Signature/Encryption Not Validated in Apache CXF
- CVE-2026-66909 Apache CXF: Unsafe deserialization of inbound JMS ObjectMessage
- CVE-2026-68079 Apache CXF: DefaultEncryptingCodeDataProvider allows unlimited authorization code replay
- CVE-2026-50628 Apache CXF: OAuth2: Inverted IP Binding Check Defeats Security Control
- CVE-2022-46364 Apache CXF SSRF Vulnerability
Sources
Also known as CLSA-2025-1759795578, CLSA-2025-1766448496, GHSA-g4px-6qhm-hqjm.