Search
Find a vulnerability
Search criteria
2 vulnerabilities found for kopia by kopia
CVE-2026-124029 (GCVE-0-2026-124029)
Vulnerability from cvelistv5 – Published: 2026-11-06 19:14 – Updated: 2026-11-06 19:14
VLAI
EPSS
VEX
Title
Kopia through 0.23.1 Path Traversal in Snapshot Restore via Directory Entry Names
Summary
Kopia through 0.23.1 contains a path traversal vulnerability in copyDirectoryContent that allows users with repository write access to escape the restore directory via crafted entry names. Attackers can create snapshots whose directory manifest entries are named '..', so victims restoring with default options write attacker-chosen content outside the restore directory.
Severity
5.7 (Medium)
CWE
- CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Assigner
VulnCheck
CNA
References
4 references
| URL | Tags |
|---|---|
| https://github.com/kopia/kopia/issues/5700 | issue-tracking |
| https://github.com/kopia/kopia | product |
| https://github.com/kopia/kopia/blob/v0.23.1/snaps… | technical-description |
| https://www.vulncheck.com/advisories/kopia-throug… | third-party-advisory |
Date Public
2026-10-09 00:00
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageURL": "pkg:golang/github.com/kopia/kopia",
"product": "kopia",
"vendor": "kopia",
"versions": [
{
"lessThanOrEqual": "0.23.1",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "George Chen"
}
],
"datePublic": "2026-10-09T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "Kopia through 0.23.1 contains a path traversal vulnerability in copyDirectoryContent that allows users with repository write access to escape the restore directory via crafted entry names. Attackers can create snapshots whose directory manifest entries are named \u0027..\u0027, so victims restoring with default options write attacker-chosen content outside the restore directory."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 6.9,
"baseSeverity": "MEDIUM",
"privilegesRequired": "LOW",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "PASSIVE",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "HIGH"
},
"format": "CVSS"
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.7,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-22",
"description": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-06T19:14:46.245Z",
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck"
},
"references": [
{
"name": "GitHub Issue #5700",
"tags": [
"issue-tracking"
],
"url": "https://github.com/kopia/kopia/issues/5700"
},
{
"tags": [
"product"
],
"url": "https://github.com/kopia/kopia"
},
{
"tags": [
"technical-description"
],
"url": "https://github.com/kopia/kopia/blob/v0.23.1/snapshot/restore/restore.go#L397"
},
{
"name": "VulnCheck Advisory: Kopia through 0.23.1 Path Traversal in Snapshot Restore via Directory Entry Names",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/kopia-through-0.23.1-path-traversal-in-snapshot-restore-via-directory-entry-names"
}
],
"title": "Kopia through 0.23.1 Path Traversal in Snapshot Restore via Directory Entry Names",
"x_generator": {
"engine": "vulncheck-endgame"
}
}
},
"cveMetadata": {
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"cveId": "CVE-2026-124029",
"datePublished": "2026-11-06T19:14:46.245Z",
"dateReserved": "2026-11-06T18:51:27.887Z",
"dateUpdated": "2026-11-06T19:14:46.245Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-45695 (GCVE-0-2026-45695)
Vulnerability from cvelistv5 – Published: 2026-07-16 15:42 – Updated: 2026-07-16 18:08
VLAI
EPSS
VEX
Title
Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used
Summary
Kopia is a cross-platform backup tool for Windows, macOS, and Linux with fast incremental backups, client-side end-to-end encryption, compression, and data deduplication. Prior to 0.23.0, Kopia's HTTP server started with --without-password accepts unauthenticated requests to /api/v1/repo/exists and forwards attacker-supplied SFTP storage configuration to blob.NewStorage, where externalSSH: true and sshArguments containing -oProxyCommand=<cmd> can cause exec.CommandContext("ssh") to invoke the command through OpenSSH. This issue is fixed in version 0.23.0.
Severity
9.8 (Critical)
SSVC
Exploitation: none
Automatable: yes
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-07-16 18:06 UTC
CWE
Assigner
GitHub_M
CNA
References
4 references
| URL | Tags |
|---|---|
| https://github.com/kopia/kopia/security/advisorie… | x_refsource_CONFIRM |
| https://github.com/kopia/kopia/pull/5354 | x_refsource_MISC |
| https://github.com/kopia/kopia/commit/c26c6a1b973… | x_refsource_MISC |
| https://github.com/kopia/kopia/releases/tag/v0.23.0 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-45695",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-07-16T18:06:25.174976Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-07-16T18:08:13.371Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "kopia",
"vendor": "kopia",
"versions": [
{
"status": "affected",
"version": "\u003c 0.23.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Kopia is a cross-platform backup tool for Windows, macOS, and Linux with fast incremental backups, client-side end-to-end encryption, compression, and data deduplication. Prior to 0.23.0, Kopia\u0027s HTTP server started with --without-password accepts unauthenticated requests to /api/v1/repo/exists and forwards attacker-supplied SFTP storage configuration to blob.NewStorage, where externalSSH: true and sshArguments containing -oProxyCommand=\u003ccmd\u003e can cause exec.CommandContext(\"ssh\") to invoke the command through OpenSSH. This issue is fixed in version 0.23.0."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-78",
"description": "CWE-78: Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-306",
"description": "CWE-306: Missing Authentication for Critical Function",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-07-16T15:42:31.795Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/kopia/kopia/security/advisories/GHSA-2q4c-3mrw-63c3",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/kopia/kopia/security/advisories/GHSA-2q4c-3mrw-63c3"
},
{
"name": "https://github.com/kopia/kopia/pull/5354",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/kopia/kopia/pull/5354"
},
{
"name": "https://github.com/kopia/kopia/commit/c26c6a1b9734c5089217986ffa5cd19f8a6b8900",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/kopia/kopia/commit/c26c6a1b9734c5089217986ffa5cd19f8a6b8900"
},
{
"name": "https://github.com/kopia/kopia/releases/tag/v0.23.0",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/kopia/kopia/releases/tag/v0.23.0"
}
],
"source": {
"advisory": "GHSA-2q4c-3mrw-63c3",
"discovery": "UNKNOWN"
},
"title": "Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-45695",
"datePublished": "2026-07-16T15:42:31.795Z",
"dateReserved": "2026-05-13T04:38:01.164Z",
"dateUpdated": "2026-07-16T18:08:13.371Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}