Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/yusing/godoxy
  4. ›
  5. CVE-2026-33528

CVE-2026-33528: GoDoxy has a Path Traversal Vulnerability in its File API

March 24, 2026 (updated March 27, 2026)

The file content API endpoint at /api/v1/file/content is vulnerable to path traversal. The filename query parameter is passed directly to path.Join(common.ConfigBasePath, filename) where ConfigBasePath = "config" (a relative path). No sanitization or validation is applied beyond checking that the field is non-empty (binding:"required").

An authenticated attacker can use ../ sequences to read or write files outside the intended config/ directory, including TLS private keys, OAuth refresh tokens, and any file accessible to the container’s UID.

References

  • github.com/advisories/GHSA-4753-cmc8-8j9v
  • github.com/yusing/godoxy
  • github.com/yusing/godoxy/commit/a541d75bb50f1b542c096d8bc8082c3549f5c059
  • github.com/yusing/godoxy/releases/tag/v0.27.5
  • github.com/yusing/godoxy/security/advisories/GHSA-4753-cmc8-8j9v
  • nvd.nist.gov/vuln/detail/CVE-2026-33528

Code Behaviors & Features

Detect and mitigate CVE-2026-33528 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.27.5

Fixed versions

  • 0.27.5

Solution

Upgrade to version 0.27.5 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

go/github.com/yusing/godoxy/CVE-2026-33528.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:19:01 +0000.