Apache Software Foundation Apache Tika core
Apache Tika core, Apache Tika parsers, Apache Tika PDF parser module: Update to CVE-2025-54988 to expand scope of artifacts affected
Critical XXE in Apache Tika tika-core (1.13-3.2.1), tika-pdf-module (2.0.0-3.2.1) and tika-parsers (1.13-1.28.5) modules on all platforms allows an attacker to carry out XML External Entity injection via a crafted XFA file inside of a PDF. This CVE covers the same vulnerability as in CVE-2025-54988. However, this CVE expands the scope of affected packages in two ways. First, while the entrypoint for the vulnerability was the tika-parser-pdf-module as reported in CVE-2025-54988, the vulnerability and its fix were in tika-core. Users who upgraded the tika-parser-pdf-module but did not upgrade tika-core to >= 3.2.2 would still be vulnerable. Second, the original report failed to mention that in the 1.x Tika releases, the PDFParser was in the "org.apache.tika:tika-parsers" module.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.13, <= 3.2.1
- >= 1.13, < 2.0.0
Fixed in 2.0.0
- >= 2.0.0, <= 3.2.1
Mitigation
Upgrade Apache Tika parsers to 2.0.0 or later.
References
- Vendor advisory lists.apache.org/thread/s5x3k93nhbkqzztp1olxotoyjpdl…
Timeline
Days relative to CVE publicationFirst public PoC 7.5 days after publication; not in CISA KEV. First PoC: chasingimpact/CVE-2025-66516-Writeup-POC (created 12 Dec 2025, found by us: backfilled).
PoC repositories
Found on GitHub.4 PoCs
PoCs 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| chasingimpact/CVE-2025-66516-Writeup-POC | 12 Dec 2025 +7.5 d | 11 | PoC |
| sid6224/CVE-2025-66516-POC | 17 Dec 2025 +13 d | 6 | PoC |
| intSheep/Tika-CVE-2025-66516-Lab | 19 Dec 2025 +15 d | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| rithinark/rag-poc | 29 Sep 2026 +299 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit auxiliary: Elasticsearch ingest-attachment Apache Tika XFA XXE Local File Read (auxiliary/scanner/http/elasticsearch_tika_xfa_xxe) | 31 Jul 2026 | 14 Nov 2026 |
| nuclei template | nuclei template: Apache Tika - XML External Entity Injection | 19 Jan 2026 | 14 Nov 2026 |
| PoC Index | https://github.com/chasingimpact/CVE-2025-66516-Writeup-POC/blob/13d694e62477ed2fc953124f3586dda0486ab701/poc/exploit.py | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 4 PoC reposGET /tika
- Ports
- 6379, 8080, 9200, 9997, 9998, 11211
- Seen in
- 1 repo: chasingimpact/CVE-2025-66516-Writeup-POC
- Evidence
- chasingimpact/CVE-2025-66516-Writeup-POC/webapp/app.py:192
POST /embeddings
- Body markers
"input""model"inapplication/json- Ports
- 3000, 5173, 8000, 8001
- Seen in
- 1 repo: rithinark/rag-poc
- Evidence
- rithinark/rag-poc/src/rag_poc/vector_store/embeddings.py:90
PUT /meta
- Key headers
Accept: application/json- Content-Type
{var}- Ports
- 6379, 8080, 9200, 9997, 9998, 11211
- Seen in
- 1 repo: chasingimpact/CVE-2025-66516-Writeup-POC
- Evidence
- chasingimpact/CVE-2025-66516-Writeup-POC/webapp/app.py:70
PUT /tika
- Key headers
Accept: text/plain- Content-Type
application/pdf- Ports
- 6379, 8080, 9200, 9997, 9998, 11211
- Seen in
- 1 repo: chasingimpact/CVE-2025-66516-Writeup-POC
- Evidence
- chasingimpact/CVE-2025-66516-Writeup-POC/poc/exploit.py:152 chasingimpact/CVE-2025-66516-Writeup-POC/webapp/app.py:39
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/tika(?:[?#].*)?$
(?i)^/embeddings(?:[?#].*)?$
(?i)^/meta(?:[?#].*)?$
(?i)^/tika(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [6379,8080,9200,9997,9998,11211] (msg:"GG PoC-Monitor CVE-2025-66516 Apache Software Foundation Apache Tika core exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/tika"; reference:url,poc.griffinguard.io/cve/CVE-2025-66516; classtype:web-application-attack; sid:9171186; rev:1;)
alert http any any -> $HOME_NET [3000,5173,8000,8001] (msg:"GG PoC-Monitor CVE-2025-66516 Apache Software Foundation Apache Tika core exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/embeddings"; http.request_body; content:"|22|input|22|"; http.request_body; content:"|22|model|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-66516; classtype:web-application-attack; sid:9777477; rev:1;)
alert http any any -> $HOME_NET [6379,8080,9200,9997,9998,11211] (msg:"GG PoC-Monitor CVE-2025-66516 Apache Software Foundation Apache Tika core exploit attempt"; flow:established,to_server; http.method; content:"PUT"; http.uri; content:"/meta"; http.header; content:"Accept: application/json"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-66516; classtype:web-application-attack; sid:9426157; rev:1;)
alert http any any -> $HOME_NET [6379,8080,9200,9997,9998,11211] (msg:"GG PoC-Monitor CVE-2025-66516 Apache Software Foundation Apache Tika core exploit attempt"; flow:established,to_server; http.method; content:"PUT"; http.uri; content:"/tika"; http.header; content:"Accept: text/plain"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-66516; classtype:web-application-attack; sid:9594767; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Apache Software Foundation Apache Tika core exploit attempt (CVE-2025-66516)
id: gg-pocmon-cve-2025-66516-9171186
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-66516. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-66516
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/tika'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.66516
title: Apache Software Foundation Apache Tika core exploit attempt (CVE-2025-66516)
id: gg-pocmon-cve-2025-66516-9777477
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-66516. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-66516
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/embeddings'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.66516
title: Apache Software Foundation Apache Tika core exploit attempt (CVE-2025-66516)
id: gg-pocmon-cve-2025-66516-9426157
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-66516. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-66516
logsource:
category: webserver
detection:
selection:
cs-method: PUT
cs-uri-stem|contains|all:
- '/meta'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.66516
title: Apache Software Foundation Apache Tika core exploit attempt (CVE-2025-66516)
id: gg-pocmon-cve-2025-66516-9594767
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-66516. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-66516
logsource:
category: webserver
detection:
selection:
cs-method: PUT
cs-uri-stem|contains|all:
- '/tika'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.66516