CVE-2026-32771
Monitoring is vulnerable to Archive Slip due to missing checks in sanitization
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
Description
The CTFer.io Monitoring component is in charge of the collection, process and storage of various signals (i.e. logs, metrics and distributed traces). In versions prior to 0.2.2, the sanitizeArchivePath function in pkg/extract/extract.go (lines 248–254) is vulnerable to Path Traversal due to a missing trailing path separator in the strings.HasPrefix check. The extractor allows arbitrary file writes (e.g., overwriting shell configs, SSH keys, kubeconfig, or crontabs), enabling RCE and persistent backdoors. The attack surface is further amplified by the default ReadWriteMany PVC access mode, which lets any pod in the cluster inject a malicious payload. This issue has been fixed in version 0.2.2.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/ctfer-io/monitoring | 0.2.2 |
References
- https://github.com/ctfer-io/monitoring
- https://github.com/ctfer-io/monitoring/commit/269dba165aa42210352628c0db6756f3b8fd3c8a
- https://github.com/ctfer-io/monitoring/security/advisories/GHSA-f7cq-gvh6-qr25
- https://nvd.nist.gov/vuln/detail/CVE-2026-32771
- https://security.snyk.io/research/zip-slip-vulnerability#expandable-socPI9fFAJ-title