CVE-2026-32771: Vulnerability in Ctfer Monitoring

Critical. The sanitizeArchivePath function in pkg/extract/extract.go (lines 248–254) is vulnerable to a path traversal bypass due to a missing trailing path separator in the strings.HasPrefix check. A crafted tar archive can write files outside the intended destination directory when using the extractor CLI tool or the extract.DumpOTelCollector library function.

Go, CWE-22

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
0.8 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-f7cq-gvh6-qr25
EU ID
EUVD-2026-13422
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-22
Published
16 Mar 2026
Last change
17 Jun 2026
Likelihood rank
Higher than 55 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
Go

Affected products

Affected versions and the first fixed release

  • Ctfer Monitoring Before 0.2.2. Fixed in 0.2.2

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/ctfer-io/monitoring Go, Affected before 0.2.2. Fixed in 0.2.2

Patches and fixes

Updates, commits and release notes

Exploit code

Public exploits and proofs of concept, handle with care

Related