GHSA-9cp7-j3f8-p5jx: Github.com/daptin/daptin Path Traversal Vulnerability

CRITICAL
CVSS 10.0
CWE-22
Published
Advisory Summary

GHSA-9cp7-j3f8-p5jx is a CRITICAL (CVSS 10.0) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Github.com/daptin/daptin libraries in the Go ecosystem. The issue involves daptin has unauthenticated path traversal and zip slip. Remediation is available by upgrading affected packages to version 0.12.0.

GHSA-9cp7-j3f8-p5jx at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-9cp7-j3f8-p5jx
Severity CRITICAL
CVSS v3.1 Base Score 10.0
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Github.com/daptin/daptin
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 10.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality None (C:N)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-9cp7-j3f8-p5jx

To remediate this vulnerability, upgrade all affected Github.com/daptin/daptin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/daptin/daptin fixed: 0.12.0
Upgrade github.com/daptin/daptin to 0.12.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/daptin/daptin

How to Check if You Are Affected

To determine whether your application is affected by GHSA-9cp7-j3f8-p5jx, inspect your project dependencies for Github.com/daptin/daptin:

inspect dependencies for github.com/daptin/daptin

Analyze the terminal output to locate any version of Github.com/daptin/daptin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Github.com/daptin/daptin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact The `cloudstore.file.upload` action in `server/actions/action_cloudstore_file_upload.go` writes user-supplied filenames directly to disk without proper validation. This allows unauthenticated attackers to perform path traversal and zip slip attacks, leading to arbitrary file write and potential remote code execution. **CVSS Score:** 10.0 Critical **CVSS Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H **CWE:** CWE-22 (Path Traversal) ### Patches Upgrade to a patched version once released. The vulnerability affects all versions <= v0.11.3 (latest). ### Workarounds Restrict access to the cloudstore.file.upload action through authentication and authorization controls until a patch is available.

GHSA-9cp7-j3f8-p5jx Affected Github.com/daptin/daptin Versions

1 component(s)
Fixed Versions:
0.12.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/daptin/daptin
Go
< 0.12.0
0.12.0

References

Frequently Asked Questions

What is GHSA-9cp7-j3f8-p5jx?
GHSA-9cp7-j3f8-p5jx is a security vulnerability in Github.com/daptin/daptin involving Daptin has Unauthenticated Path Traversal and Zip Slip under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Github.com/daptin/daptin versions are affected?
Affected versions include releases prior to 0.12.0 across affected packages: github.com/daptin/daptin.
What version fixes GHSA-9cp7-j3f8-p5jx?
Upgrading to 0.12.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/daptin/daptin affected?
Yes, github.com/daptin/daptin is affected in releases prior to 0.12.0. Upgrade your dependency to 0.12.0 or later.
What is the CVSS score of GHSA-9cp7-j3f8-p5jx?
GHSA-9cp7-j3f8-p5jx has a CVSS v3.1 base score of 10.0 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H.
What CWE is associated with GHSA-9cp7-j3f8-p5jx?
GHSA-9cp7-j3f8-p5jx is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check Go dependencies for GHSA-9cp7-j3f8-p5jx?
Run the dependency tree command: 'inspect dependencies for github.com/daptin/daptin'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9cp7-j3f8-p5jx",
  "modified" : "2026-04-10T22:11:04Z",
  "published" : "2026-04-10T22:11:04Z",
  "aliases" : [ ],
  "summary" : "Daptin has Unauthenticated Path Traversal and Zip Slip",
  "details" : "### Impact\nThe `cloudstore.file.upload` action in `server/actions/action_cloudstore_file_upload.go` writes user-supplied filenames directly to disk without proper validation. \n\nThis allows unauthenticated attackers to perform path traversal and zip slip attacks, leading to arbitrary file write and potential remote code execution.\n\n**CVSS Score:** 10.0 Critical\n**CVSS Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H\n**CWE:** CWE-22 (Path Traversal)\n\n### Patches\n\nUpgrade to a patched version once released. The vulnerability affects all versions <= v0.11.3 (latest).\n\n### Workarounds\n\nRestrict access to the cloudstore.file.upload action through authentication and authorization controls until a patch is available.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/daptin/daptin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.12.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.11.3"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/daptin/daptin/security/advisories/GHSA-9cp7-j3f8-p5jx"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/daptin/daptin/commit/8d626bbb14f82160a08cbca53e0749f475f5742c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/daptin/daptin"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-10T22:11:04Z",
    "nvd_published_at" : null
  }
}