{"schema_version":"1.9.0","id":"CVE-2026-32805","published":"2026-03-18T22:24:29.102Z","modified":"2026-08-12T03:51:13.226834690Z","aliases":["GHSA-p799-g7vv-f279","GO-2026-4719"],"related":["SUSE-SU-2026:1135-1","openSUSE-SU-2026:21483-1"],"summary":"Romeo is vulnerable to Archive Slip due to missing checks in sanitization","details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ctfer-io/romeo","events":[{"introduced":"0"},{"fixed":"c2ebcfb9f305fd5f6ef68858de82507dbac10263"}],"database_specific":{"cpe":"cpe:2.3:a:ctfer-io:romeo:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.2.2"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"]}}],"versions":["webserver/v0.2.1","v0.2.1","install/v0.2.1/deploy","environment/v0.2.1/deploy","webserver/v0.2.0","v0.2.0","install/v0.2.0","environment/v0.2.0","webserver/v0.1.9","v0.1.9","install/v0.1.9","environment/v0.1.9","webserver/v0.1.8","v0.1.8","install/v0.1.8","environment/v0.1.8","webserver/v0.1.7","v0.1.7","install/v0.1.7","environment/v0.1.7","webserver/v0.1.6","v0.1.6","install/v0.1.6","environment/v0.1.6","webserver/v0.1.5","v0.1.5","install/v0.1.5","environment/v0.1.5","webserver/v0.1.4","v0.1.4","install/v0.1.4","environment/v0.1.4","webserver/v0.1.3","v0.1.3","install/v0.1.3","environment/v0.1.3","webserver/v0.1.2","v0.1.2","install/v0.1.2","environment/v0.1.2","webserver/v0.1.1","v0.1.1","install/v0.1.1","environment/v0.1.1","webserver/v0.1.0","v0.1.0","install/v0.1.0","environment/v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32805.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32805.json"},{"type":"ADVISORY","url":"https://github.com/ctfer-io/romeo/security/advisories/GHSA-p799-g7vv-f279"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32805"},{"type":"FIX","url":"https://github.com/ctfer-io/romeo/commit/c2ebcfb9f305fd5f6ef68858de82507dbac10263"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32805.json"},"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:L/SA:L"}]}