Home / Apache Software Foundation / Apache Santuario / CVE-2021-40690
CVE-2021-40690: is it exploited, and which versions of Apache Software Foundation Apache Santuario are affected and fixed?
CVE-2021-40690 is an information disclosure vulnerability in Apache Software Foundation Apache Santuario. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: org.apache.santuario:xmlsec from 2.2.0 before 2.2.3 and org.apache.santuario:xmlsec before 2.1.7 (GitHub advisory GHSA-j8wc-gxx9-82hx). Fixed in 2.2.3 and 2.1.7 (GitHub advisory GHSA-j8wc-gxx9-82hx). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:55 UTC.
What is CVE-2021-40690?
Bypass of the secureValidation property
All versions of Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7 are vulnerable to an issue where the "secureValidation" property is not passed correctly when creating a KeyInfo from a KeyInfoReference element. This allows an attacker to abuse an XPath Transform to extract any local .xml files in a RetrievalMethod element.
From the CVE record by apache, last updated October 8, 2026, 21:24 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Santuario | from XML Security for Java before 2.2.3,2.1.7 | 2.2.3,2.1.7 |
As the CVE record by apache states it, last updated October 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.santuario:xmlsec | >= 2.2.0, < 2.2.3 | 2.2.3 | GHSA-j8wc-gxx9-82hx |
| Maven | org.apache.santuario:xmlsec | < 2.1.7 | 2.1.7 | GHSA-j8wc-gxx9-82hx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 4, 2021. Summary: Exposure of Sensitive Information to an Unauthorized Actor in Apache Santuario.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | santuario xml security for java | before 2.1.7 | application |
| apache | santuario xml security for java | from 2.2.0 before 2.2.3 | application |
| apache | cxf | 3.4.4 | application |
| apache | tomee | before 8.0.8 | application |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
| oracle | agile product lifecycle management | 9.3.6 | application |
| oracle | commerce guided search | 11.3.2 | application |
| oracle | commerce platform | 11.3.2 | application |
| oracle | communications diameter intelligence hub | from 8.0.0 through 8.1.0 | application |
| oracle | communications diameter intelligence hub | from 8.2.0 through 8.2.3 | application |
| oracle | communications messaging server | 8.1 | application |
| oracle | flexcube private banking | 12.1.0 | application |
| oracle | outside in technology | 8.5.5 | application |
| oracle | peoplesoft enterprise peopletools | 8.58 | application |
| oracle | peoplesoft enterprise peopletools | 8.59 | application |
| oracle | retail bulk data integration | 16.0.3 | application |
| oracle | retail financial integration | 14.1.3.2 | application |
| oracle | retail financial integration | 15.0.3.1 | application |
| oracle | retail financial integration | 16.0.3 | application |
| oracle | retail financial integration | 19.0.1 | application |
| oracle | retail integration bus | 14.1.3.2 | application |
| oracle | retail integration bus | 15.0.3.1 | application |
| oracle | retail integration bus | 16.0.3 | application |
NVD analysis (status Modified), last modified October 8, 2026, 22:17 UTC.
How severe is CVE-2021-40690?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-40690 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 8, 2026)
- EPSS
- 7.44% probability of exploitation activity in the next 30 days, percentile 94.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- https://lists.apache.org/thread.html/r8848751b6a5dd78cc9e99d627e74fecfaffdfa1bb615dce827aad633%40%3Cdev.santuario.apache.org%3E
- [tomee-commits] 20210922 [tomee] 02/02: Update xmlsec to 2.2.3 to mitigate CVE-2021-40690 mailing-list
- [tomee-commits] 20210923 [jira] [Resolved] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability mailing-list
- [tomee-commits] 20210923 [jira] [Created] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability mailing-list
- [tomee-commits] 20210923 [jira] [Assigned] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability mailing-list
- [tomee-commits] 20210923 [jira] [Updated] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability mailing-list
- [poi-user] 20210923 Re: CVE-2021-40690 on xmlsec jar mailing-list
- [debian-lts-announce] 20210927 [SECURITY] [DLA 2767-1] libxml-security-java security update mailing-list
- [cxf-issues] 20211027 [jira] [Created] (CXF-8613) High Security issues reported with Apache Santuario library bundled in CXF 3.4.4 mailing-list
- [tomee-commits] 20211028 [jira] [Updated] (TOMEE-3798) TomEE (8.0.8) is affected by CVE-2021-40690 vulnerability mailing-list
- DSA-5010 vendor-advisory
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://security.netapp.com/advisory/ntap-20230818-0002/
Who found and reported it?
- An Trinh, Calif. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 8, 2021
- Published
- September 19, 2021, 00:00 UTC
- CVE record updated
- October 8, 2026, 21:24 UTC by apache
- NVD
- Modified, last modified October 8, 2026, 22:17 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:55 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Santuario?
- Oct 20, 2023CVE-2023-44483 Apache Software Foundation Apache Santuario: sensitive information written to log files
Questions about CVE-2021-40690
Is CVE-2021-40690 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 7.44% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache Santuario are affected by CVE-2021-40690?
org.apache.santuario:xmlsec from 2.2.0 before 2.2.3 and org.apache.santuario:xmlsec before 2.1.7, per the GitHub advisory GHSA-j8wc-gxx9-82hx. The tables above give every range the sources list.
Which version fixes CVE-2021-40690?
2.2.3 and 2.1.7, per the GitHub advisory GHSA-j8wc-gxx9-82hx. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-40690?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-40690?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.