Skip to main content

Apache Cocoon EUVDEUVD-2026-104912

| CVE-2026-108087 MEDIUM
SQL Injection (CWE-89)
2026-10-20 apache GHSA-j76j-g32j-fx73
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Cocoon pipeline using SQL logicsheet
  2. Exploit
    Submit crafted request parameter
  3. Execution
    Inject SQL via sql:/esql: processor
  4. Impact
    Read 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.

This Month Plan within 30 days. Why: Vendor states no customer action required.
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache Cocoon 0 ≤*

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

Vendor (apache) PRIMARY MEDIUM
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Rare
retired Apache framework, minimal modern production footprint
Data Quality
1 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
Vendor states no customer action required
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy