Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/OpenListTeam/OpenList/v4
  4. ›
  5. GHSA-95cv-r8x4-vh75

GHSA-95cv-r8x4-vh75: OpenList: Authenticated users can rename files outside their base path via batch rename `src_name` traversal

July 24, 2026

The /api/fs/batch_rename handler validates and authorizes only the requested source directory. It rejects path separators in new_name, but it does not validate src_name. The handler concatenates src_dir and attacker-controlled src_name, then passes the result to the filesystem rename layer, where the path is normalized.

An authenticated user with rename permission can set src_name to traversal segments such as ../../ab/secret.txt. When the user’s base path is /team/a and src_dir is /writable, the authorized directory becomes /team/a/writable, but the final source path normalizes to /team/ab/secret.txt. The file outside the user’s base path is then renamed.

References

  • github.com/OpenListTeam/OpenList/commit/651da18da4c647d96648d4bb64462baac1c37e04
  • github.com/OpenListTeam/OpenList/releases/tag/v4.2.4
  • github.com/OpenListTeam/OpenList/security/advisories/GHSA-95cv-r8x4-vh75
  • github.com/advisories/GHSA-95cv-r8x4-vh75

Code Behaviors & Features

Detect and mitigate GHSA-95cv-r8x4-vh75 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 4.2.4

Fixed versions

  • 4.2.4

Solution

Upgrade to version 4.2.4 or above.

Impact 7.6 HIGH

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

Learn more about CVSS

Weakness

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

Source file

go/github.com/OpenListTeam/OpenList/v4/GHSA-95cv-r8x4-vh75.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 08 Aug 2026 00:19:23 +0000.