Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/ctfer-io/romeo/webserver
  4. ›
  5. GHSA-p799-g7vv-f279

GHSA-p799-g7vv-f279: Romeo is vulnerable to Archive Slip due to missing checks in sanitization

March 16, 2026

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.

References

  • github.com/advisories/GHSA-p799-g7vv-f279
  • github.com/ctfer-io/romeo
  • github.com/ctfer-io/romeo/commit/c2ebcfb9f305fd5f6ef68858de82507dbac10263
  • github.com/ctfer-io/romeo/security/advisories/GHSA-p799-g7vv-f279

Code Behaviors & Features

Detect and mitigate GHSA-p799-g7vv-f279 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.2.2

Fixed versions

  • 0.2.2

Solution

Upgrade to version 0.2.2 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/ctfer-io/romeo/webserver/GHSA-p799-g7vv-f279.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:18:27 +0000.