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-29190: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Aiven-Open karapace

0
Medium
VulnerabilityCVE-2026-29190cvecve-2026-29190cwe-22
Published: Sat Mar 07 2026 (03/07/2026, 15:16:15 UTC)
Source: CVE Database V5
Vendor/Project: Aiven-Open
Product: karapace

Description

Karapace is an open-source implementation of Kafka REST and Schema Registry. Prior to version 6.0.0, there is a Path Traversal vulnerability in the backup reader (backup/backends/v3/backend.py). If a malicious backup file is provided to Karapace, an attacker may exploit insufficient path validation to perform arbitrary file read on the system where Karapace is running. The issue affects deployments that use the backup/restore functionality and process backups from untrusted sources. The impact depends on the file system permissions of the Karapace process. This issue has been patched in version 6.0.0.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/14/2026, 19:54:59 UTC

Technical Analysis

Karapace is an open-source project providing Kafka REST proxy and Schema Registry functionalities. Prior to version 6.0.0, Karapace's backup reader module (specifically in backup/backends/v3/backend.py) suffers from a CWE-22 path traversal vulnerability. This vulnerability arises due to insufficient validation of file paths when processing backup files. An attacker who can supply a crafted malicious backup file to the Karapace backup/restore functionality can exploit this flaw to read arbitrary files on the underlying system. The attack vector is network-based (AV:N), requires low attack complexity (AC:L), but does require privileges (PR:H) on the system running Karapace, and no user interaction (UI:N) is needed. The scope is changed (S:C) because the vulnerability can affect resources beyond the initially intended directory. The impact is limited to confidentiality (C:L), with no integrity or availability impact. The severity is medium with a CVSS v3.1 score of 4.1. The vulnerability is relevant only if the backup/restore feature is used and untrusted backup files are processed. The issue has been fixed in Karapace version 6.0.0 by improving path validation to restrict file access within intended directories. No public exploits or active exploitation have been reported to date.

Potential Impact

The primary impact of CVE-2026-29190 is unauthorized disclosure of sensitive files on systems running vulnerable versions of Karapace. Attackers with the ability to provide malicious backup files can read arbitrary files, potentially exposing configuration files, credentials, or other sensitive data depending on the file system permissions of the Karapace process. This can lead to further compromise if sensitive information is leaked. The vulnerability does not allow code execution or denial of service, limiting its impact to confidentiality breaches. Organizations using Karapace in critical Kafka infrastructure, especially those processing backups from untrusted or external sources, face increased risk of data leakage. The scope of affected systems is limited to those running versions prior to 6.0.0 with backup/restore enabled. Since exploitation requires privileges on the host, the threat is mitigated in environments with strict access controls but remains significant in multi-tenant or shared environments where attackers may gain partial access.

Mitigation Recommendations

To mitigate CVE-2026-29190, organizations should upgrade Karapace to version 6.0.0 or later, where the vulnerability has been patched. Until upgrade is possible, restrict the use of the backup/restore functionality to trusted sources only, and avoid processing backup files from untrusted or external origins. Implement strict file system permissions for the Karapace process to minimize the impact of arbitrary file reads. Employ network segmentation and access controls to limit who can interact with the backup/restore interfaces. Monitor logs for unusual backup file processing activities. Additionally, conduct regular audits of backup files and validate their integrity before processing. Consider deploying runtime application self-protection (RASP) or file integrity monitoring to detect anomalous file access patterns. Finally, ensure that Karapace runs with the least privileges necessary to reduce exposure.

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
GitHub_M
Date Reserved
2026-03-04T14:44:00.714Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69ac44bec48b3f10ffa88848

Added to database: 3/7/2026, 3:31:10 PM

Last enriched: 3/14/2026, 7:54:59 PM

Last updated: 4/22/2026, 7:31:06 AM

Views: 87

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