8.3High

CVE-2026-32805Romeo is vulnerable to Archive Slip due to missing checks in sanitization

ctfer-io romeo Published: (8 months ago)

Description

Romeo gives the capability to reach high code coverage of Go ≥1.20 apps by helping to measure code coverage for functional and integration tests within GitHub Actions. Prior to version 0.2.2, the `sanitizeArchivePath` function in `webserver/api/v1/decoder.go` (lines 80-88) 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. Version 0.2.2 fixes the issue.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ctfer-io romeo < 0.2.2

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:ctfer-io:romeo:*:*:*:*:*:*:*:* < 0.2.2