High severity · published Jun 29, 2026
CVE-2026-13165
Remote Code Execution in SzafirHost
8.6
CVSS
0.7%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 54% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SZ
SzafirHost · Krajowa Izba Rozliczeniowa
before 1.2.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-13165
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-13165
cert.pl
https://cert.pl/posts/2026/06/CVE-2026-13165
www.elektronicznypodpis.pl
https://www.elektronicznypodpis.pl/
More from SzafirHost
8.7
CVE-2026-26928
Lack of Dynamic Library Validation in SzafirHost
8.6
CVE-2026-44088
Remote Code Execution in SzafirHost
