GHSA-9cp7-j3f8-p5jx: Github.com/daptin/daptin Path Traversal Vulnerability
CRITICALGHSA-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
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).
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.
Upgrade github.com/daptin/daptin to 0.12.0
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
GHSA-9cp7-j3f8-p5jx Affected Github.com/daptin/daptin Versions
1 component(s)| 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?
Which Github.com/daptin/daptin versions are affected?
What version fixes GHSA-9cp7-j3f8-p5jx?
Is github.com/daptin/daptin affected?
What is the CVSS score of GHSA-9cp7-j3f8-p5jx?
What CWE is associated with GHSA-9cp7-j3f8-p5jx?
How can I check Go dependencies for GHSA-9cp7-j3f8-p5jx?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}