---
id: "CVE-2026-120761"
page: "https://infrastack.ai/live/CVE-2026-120761"
kind: "vulnerability"
aliases: ["CVE-2026-120761"]
title: "Apache Axis2/Java: WSDL imports let attackers read local files"
severity: "unknown"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["axis2", "java", "package", "soap", "wsdl"]
not_affected_if: ["hard-coded-wsdl", "no-wsdl-client"]
published_at: "2026-11-09T11:17:21+00:00"
first_seen_at: "2026-11-09T11:26:03+00:00"
updated_at: "2026-11-09T11:26:55+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120761", "first_seen_at": "2026-11-09T11:26:03+00:00"}]
exploit_sources: []
---

# Apache Axis2/Java: WSDL imports let attackers read local files

Link for people: https://infrastack.ai/live/CVE-2026-120761 (this .md is for agents)

Apache Axis2/Java parses WSDL and imported schema documents with an XML parser that resolves external entities when a client builds a service from a WSDL URL. An attacker who controls the WSDL or an imported document can read local files on the client machine or make the JVM send network requests.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the Axis2 version in the project's dependencies, for example `org.apache.axis2:axis2-kernel` or `axis2` in the build file.
- Look for code that calls `ServiceClient` or `AxisService.createClientSideAxisService` with a WSDL URL that comes from outside the system.

## Fix

- Apache Axis2/Java: upgrade to `2.0.2`.

## Timeline

- 2026-11-09T11:26:03+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-120761

## Documents

- [fix] Patch: github.com https://github.com/apache/axis-axis2-java-core/commit/1d3457d12399c7721ed3f52e7031d1d24d169460

## From the sources

Improper Restriction of XML External Entity Reference vulnerability in Apache Axis2/Java. When a client built an AxisService from a WSDL URL, through ServiceClient or AxisService.createClientSideAxisService, wsdl4j import resolution was enabled and the documents named by wsdl:import and xsd:import were parsed by wsdl4j's own XML parser, which processes DOCTYPE declarations and external entities. An attacker who controls a WSDL, or a document it imports, could therefore read local files or make the JVM issue network requests. This issue affects Apache Axis2/Java: through 2.0.1. Users are recommended to upgrade to version 2.0.2, which fixes the issue.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
