Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-13165: CWE-434 Unrestricted Upload of File with Dangerous Type in Krajowa Izba Rozliczeniowa SzafirHost

0
High
VulnerabilityCVE-2026-13165cvecve-2026-13165cwe-434
Published: 06/29/2026 (06/29/2026, 12:16:55 UTC)
Source: CVE Database V5
Vendor/Project: Krajowa Izba Rozliczeniowa
Product: SzafirHost

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.

CVSS v4.0

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
Low
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

Affected software

krajowa-izba-rozliczeniowa/szafirhost
pkg:maven/krajowa-izba-rozliczeniowa/szafirhost
Affected versions
<1.2.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/29/2026, 13:51:30 UTC

Technical Analysis

The vulnerability in SzafirHost arises from inconsistent parsing methods during archive verification and extraction. The signature verification relies on the Central Directory entries, while extraction reads local file headers sequentially. An attacker controlling the served archive can inject a malicious native library (DLL/SO/DYLIB) as a local-file-header entry that is not present in the Central Directory. This entry bypasses signature verification but is extracted and written to the native temp directory without integrity checks, enabling remote code execution. The vulnerability is tracked as CVE-2026-13165 with a CVSS 4.0 score of 8.6 (high severity). It was fixed in SzafirHost version 1.2.2.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary native code remotely by injecting a malicious native library into the archive that bypasses signature verification and is extracted without hash validation. This can lead to full system compromise on affected installations of SzafirHost prior to version 1.2.2.

Mitigation Recommendations

Upgrade SzafirHost to version 1.2.2 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is documented. Patch status is not explicitly stated in the vendor advisory, but the fix is confirmed in version 1.2.2.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CERT-PL
Date Reserved
2026-06-24T13:07:31.310Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4274e727e9c79719eeb054

Added to database: 06/29/2026, 13:36:39 UTC

Last enriched: 06/29/2026, 13:51:30 UTC

Last updated: 06/29/2026, 22:29:24 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses