CVE-2026-13165: SzafirHost - Remote Code Execution
- Cve: CVE-2026-13165
- Name: SzafirHost - Remote Code Execution
- Description: SzafirHost verifies the downloaded native library archive with one JarFile parser (reading the Central Directory) but extracts native libraries with JarInputStream parser (reading sequentially from local file headers). An attacker who controls the served archive can insert a malicious DLL/SO/DYLIB as a local-file-header entry between the last legitimate entry and the Central Directory, without adding it to the Central Directory. The signature verifier never sees the injected entry and accepts the archive as validly signed; the extractor reads it sequentially and writes the attacker library to the native temp directory with no hash check), while the archive-size check still passes. This can lead to remote code execution. This issue was fixed in version 1.2.2.
- Impact: Attackers controlling the archive can execute arbitrary native code remotely, potentially compromising the host system.
- Remediation: Update to version 1.2.2 or later.
- Vulnerability impact: remote_code_execution
- Requirements: Attacker must control the served archive
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.6
- Cvss vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.00709
- Epss percentile: 0.54208
- Assignee: [email protected]
- Published at: 2026-06-29T14:16:41Z
- Age in days: 148
- Modified at: 2026-10-25T21:10:00Z
- References total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-13165
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
- Not known: vulnerability type, requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type |
References
| Url | Source | Tags |
|---|---|---|
| https://cert.pl/posts/2026/06/CVE-2026-13165 | nvd | |
| https://www.elektronicznypodpis.pl/ | nvd |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts