Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Cocoon pipeline using SQL logicsheet
-
ExploitSubmit crafted request parameter
-
ExecutionInject SQL via sql:/esql: processor
-
ImpactRead or modify backend database
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the Apache Cocoon instance uses the SQL processor or the sql:/esql: logicsheets AND that those pipelines incorporate attacker-controllable input without neutralization - a Cocoon deployment that does not use SQL logicsheets is not exploitable via this flaw. The vulnerability affects all versions and will never be patched because the project is retired; the only limiting/mitigating factors are not using the SQL logicsheets, restricting instance access to trusted users, or migrating off Cocoon entirely. Realistic exposure also depends on whether the vulnerable pipeline is reachable by untrusted users rather than being internal-only. |
| Impact | This is a CWE-89 SQL injection in Apache Cocoon affecting all versions, confirmed by the Apache vendor advisory. No CVSS vector was provided by NVD or the vendor, so attack-vector/complexity/privilege signals cannot be read directly from a scored vector and are inferred below from the description. There is no EPSS score, no CISA KEV listing, and no public POC referenced in the available data, so the three exploitation-pressure signals are all either absent or negative - this points to a theoretical/latent risk rather than confirmed widespread or targeted exploitation. The most important risk modifier is that Apache Cocoon is officially RETIRED with no fix planned ever; defenders cannot patch and must mitigate by migrating off the product or restricting access to trusted users. Weighing these signals together: the technical impact of a SQL injection is high (potential full database read/write), but real-world priority is tempered by the product's retired status and small modern footprint and by the absence of any exploitation evidence. Treat as a high-technical-impact but low-exploitation-pressure issue; the permanent lack of a patch makes it a durable configuration-management problem rather than an urgent emergency for most environments. |
| Exploit ScenarioDerived | An attacker sends a crafted HTTP request to a Cocoon application whose pipelines use the SQL processor or the sql:/esql: logicsheets with unsanitized request parameters. Because input is not neutralized, the attacker injects arbitrary SQL that the backend database executes, enabling data theft or modification. No public exploit code is identified at time of analysis, and exploitation requires that the target actually uses the vulnerable SQL logicsheets/processor. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 20, 2026
Unauthenticated SQL injection in Apache Cocoon affects all versions when a deployment uses the SQL processor or sql:/esql: logicsheets and passes attacker-controllable input into those SQL pipelines. A remote attacker who can reach such a pipeline could compromise data confidentiality, integrity, and availability, consistent with the assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H vector. The project is retired with no planned fix, no public exploit identified at time of analysis, and no CISA KEV entry; exposure is limited to instances that actually use the vulnerable SQL features and expose them to untrusted users.
RemediationAI
No vendor-released patch identified at time of analysis: Apache states the project is retired and does not plan to release a fix, recommending migration to an alternative. Immediately remove or disable the SQL processor and sql:/esql: logicsheets from Cocoon sitemaps and configuration, and audit pipelines to ensure no attacker-controllable input reaches any remaining SQL logic; this breaks functionality that depends on those logicsheets. If removal is not feasible, restrict access to the Cocoon instance to trusted users via network ACLs, reverse-proxy authentication, or segmentation, accepting reduced exposure but not eliminating injection risk for trusted or compromised users. Plan migration to a maintained framework, and reference the Apache advisory at https://lists.apache.org/thread/ty85v7t2vgrtvdj6btvoxm5jj2xv48kt for the vendor statement.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Cocoon is a Java-based XML publishing and web framework whose sitemap pipelines can invoke SQL processing through the SQL processor and sql:/esql: logicsheets. CWE-89 applies because special elements in SQL commands are not neutralized before the SQL processor executes them, allowing an attacker who can influence query inputs to alter SQL statements. The CPE cpe:2.3:a:apache_software_foundation:apache_cocoon:*:*:*:*:*:*:*:* confirms that all Cocoon versions are in scope, but the flaw is only reachable where a deployed pipeline actually uses the SQL processor or sql:/esql: logicsheets with untrusted input; a Cocoon deployment that does not use those SQL features is not exploitable via this flaw.
Know when Apache Cocoon gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
Web-reachable SQL injection with no neutralization implies AV:N/AC:L/PR:N/UI:N; full database read/write gives C:H/I:H/A:H, with the logicsheet dependency being a target precondition, not attack complexity.
Primary rating from Vendor (apache).
DescriptionCVE.org
UNSUPPORTED WHEN ASSIGNED Improper neutralization of special elements used in an SQL command ('SQL injection') vulnerability in Apache Cocoon.
This issue affects Apache Cocoon: all versions.
Missing input sanitation would allow arbitrary SQL injection through the SQL processor or sql:/esql: logicsheets.
As this project is retired, we do not plan to release a version that fixes this issue. Users are recommended to find an alternative or restrict access to the instance to trusted users.
NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Apache Cocoon
View allUnauthenticated information disclosure in Apache Cocoon can expose diagnostic interfaces, cache-triggering operations, v
Apache Cocoon (all versions, retired/unsupported) can expose one user's cached sensitive content to another user when ca
XML external entity expansion in Apache Cocoon's fp: form processor lets unauthenticated remote attackers submit crafted
EUVD-2026-104912
GHSA-j76j-g32j-fx73
CVE.org
EPSS
Exploit-DB