CVE-2025-34039 in Beanshell products
A code injection vulnerability exists in Yonyou UFIDA NC v6.5 and prior due to the exposure of the BeanShell testing servlet (bsh.servlet.BshServlet) without proper access controls. The servlet allows unauthenticated remote attackers to execute arbitrary Java code via the bsh.script parameter. This can be exploited ...
Affects 0 products from 6 vendors. Facts below cite their sources.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Beanshell | — | — |
| Foundation | — | — |
| Full | — | — |
| Script | — | — |
| Target | — | — |
| Yonyou | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
A code injection vulnerability exists in Yonyou UFIDA NC v6.5 and prior due to the exposure of the BeanShell testing servlet (bsh.servlet.BshServlet) without proper access controls. The servlet allows unauthenticated remote attackers to execute arbitrary Java code via the bsh.script parameter. This can be exploited to run system commands and ultimately gain full control over the target server. The issue is rooted in a third-party JAR component bundled with the application, and the servlet is accessible without authentication on vulnerable installations. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-05 UTC.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-34039 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-254818-I |
| Published | 2025-06-24 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-306: Missing Authentication for Critical Function
Software does not perform any authentication for functionality that requires a verified identity.
Related attack patterns (CAPEC)
CAPEC-12 Choosing Message Identifier via CWE-306
CAPEC-36 Using Unpublished Interfaces or Functionality via CWE-306
CAPEC-62 Cross Site Request Forgery via CWE-306
CAPEC-166 Force the System to Reset Values via CWE-306
CAPEC-216 Communication Channel Manipulation via CWE-306
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical code injection vulnerability exists in Yonyou UFIDA NC v6.5 and prior due to an exposed BeanShell testing servlet without proper access controls, allowing unauthenticated remote attackers to execute arbitrary Java code and gain full control over the target server.
The vulnerability is due to the exposure of the BeanShell testing servlet (bsh.servlet.BshServlet) without proper access controls. Attackers can exploit this by sending a request to the servlet with a malicious bsh.script parameter, which can execute arbitrary Java code on the server.
Questions
What is CVE-2025-34039?
A critical code injection vulnerability exists in Yonyou UFIDA NC v6.5 and prior due to an exposed BeanShell testing servlet without proper access controls, allowing unauthenticated remote attackers to execute arbitrary Java code and gain full control over the target server.
Is CVE-2025-34039 actively exploited?
No confirmed active exploitation of CVE-2025-34039 as of 2026-09-25.
How do I remediate CVE-2025-34039?
Priority: IMMEDIATE.
What systems are affected by CVE-2025-34039?
CVE-2025-34039 affects Beanshell; Foundation; Full; Script; Target; Yonyou.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Beanshell","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.