SzafirHost RCE Lets Forged Native Libraries Bypass Signature Checks
CERT Polska disclosed CVE-2026-13165, a high-severity remote code execution flaw in Krajowa Izba Rozliczeniowa's SzafirHost software that affects all versions before 1.2.2. The vulnerability arises from inconsistent parsing of a downloaded signed native library archive: signature verification uses JarFile to read the ZIP Central Directory, while extraction uses JarInputStream to process local file headers sequentially.
An attacker able to control the served archive can add a malicious DLL, SO, or DYLIB entry that does not appear in the Central Directory, allowing the archive to pass signature validation while the rogue library is still written to disk and potentially executed from the native temporary directory. The issue is tracked as CVE-2026-13165, carries a CVSS 4.0 score of 8.6, and was fixed in SzafirHost 1.2.2 after coordinated disclosure by CERT Polska; Mariusz Maik was credited with reporting the flaw.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
4 events from the most recent confirmed update back to the earliest known activity.
CVE feed lists CVE-2026-13165 as high severity
On 2026-06-29, a CVE feed entry described CVE-2026-13165 as a high-severity SzafirHost remote code execution flaw with a CVSS 4.0 base score of 8.6, citing CERT-PL as the source.
CERT Polska publishes advisory for CVE-2026-13165
On 2026-06-01, CERT Polska published an advisory describing CVE-2026-13165, a remote code execution vulnerability in SzafirHost caused by inconsistent parsing between JarFile verification and JarInputStream extraction.
SzafirHost 1.2.2 fixes CVE-2026-13165
Krajowa Izba Rozliczeniowa fixed the remote code execution vulnerability CVE-2026-13165 in SzafirHost version 1.2.2. The flaw affected all versions before 1.2.2 and involved inconsistent parsing of signed native library archives.
Researcher reports SzafirHost archive parsing vulnerability
CERT Polska said it coordinated disclosure after receiving a responsible report from Mariusz Maik about a remote code execution flaw in Krajowa Izba Rozliczeniowa's SzafirHost software.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
2 references tracked. Mallory keeps watching after this page renders.
See the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


