This vulnerability exposes a critical truth about WS-Policy processing that developers rarely consider: normalization is computation, and reference expansion can be weaponized without sending large documents. The attack vector is a small, structurally crafted WS-Policy document that triggers exponential normalization work through reference chains — not through input size, but through algorithmic complexity in how Neethi expands policy references. The library processes these references without tracking what it has already expanded, so identical reference chains get fully reprocessed at each encounter. A document that fits in kilobytes can consume minutes of CPU during normalization. The upgrade to version 3.2.4 addresses this, but the deeper problem is architectural: developers consuming WS-Policy documents from external parties — a legitimate and common pattern in federated web services, WS-Trust, and WS-SecureConversation integrations — have no visibility into the computational cost of normalization. The trust boundary is invisible. You receive a small policy document, assume it's a configuration, and don't realize you're executing untrusted computation. This is the same failure class as XML entity expansion bombs and template injection: small inputs that trigger large internal expansions. The difference is that policy normalization is a mandatory gate — there's no graceful degradation if processing fails. If you deploy Neethi in front of external integrations, treat incoming WS-Policy documents as untrusted input subject to resource constraints, and audit your dependency chain for transitive Neethi usage you may not directly depend on.
CVE-2026-91865
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA small WS-Policy document using repeated policy references can force Neethi to re-expand the same references exponentially during normalization, consuming huge amounts of CPU and memory (denial of service). Users are recommended to upgrade to version 3.2.4, which fixes this issue.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysisThe application allocates memory, connections, or handles in response to a request without enforcing any cap, so a modest amount of malicious traffic exhausts the resource and denies service to everyone else. The fix is enforcing quotas, limits, and timeouts on what any single request or client can consume.
General guidance for the resource allocation without limits class — the official description and references above are authoritative for this specific CVE. Want a bespoke review and a reviewed fix? Ask our team →
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 3.2.4CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped3.2.4
Apache Neethi 3.2.4
- 1. Identify the Apache Neethi library version currently in use by checking project dependencies (e.g., pom.xml for Maven projects, or library manifests).
- 2. Confirm the installed version is earlier than 3.2.4, as versions prior to 3.2.4 are vulnerable to the exponential policy reference expansion DoS.
- 3. Update the dependency management to specify version 3.2.4 or later. For Maven, update the pom.xml dependency entry for org.apache.neethi:neethi to version 3.2.4.
- 4. Rebuild the project to incorporate the updated library.
- 5. Test the application to ensure the upgrade does not introduce regressions, particularly any WS-Policy processing functionality.
Generated from the published advisory — verify against the referenced sources before acting.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-91865 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesThis vulnerability exposes a critical truth about WS-Policy processing that developers rarely consider: normalization is computation, and reference expansion can be weaponized without sending large documents. The attack vector is a small, structurally crafted WS-Policy document that triggers exponential normalization work through reference chains — not through input size, but through algorithmic complexity in how Neethi expands policy references. The library processes these references without tracking what it has already expanded, so identical reference chains get fully reprocessed at each encounter. A document that fits in kilobytes can consume minutes of CPU during normalization. The upgrade to version 3.2.4 addresses this, but the deeper problem is architectural: developers consuming WS-Policy documents from external parties — a legitimate and common pattern in federated web services, WS-Trust, and WS-SecureConversation integrations — have no visibility into the computational cost of normalization. The trust boundary is invisible. You receive a small policy document, assume it's a configuration, and don't realize you're executing untrusted computation. This is the same failure class as XML entity expansion bombs and template injection: small inputs that trigger large internal expansions. The difference is that policy normalization is a mandatory gate — there's no graceful degradation if processing fails. If you deploy Neethi in front of external integrations, treat incoming WS-Policy documents as untrusted input subject to resource constraints, and audit your dependency chain for transitive Neethi usage you may not directly depend on.
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-91865 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data