High
Security advisory
WAL-G before 1.1, when a non-libsodium build (e.g., one of the official binary releases published as GitHub Releases) is used, silently ignores the libsodium encryption key and uploads cleartext backups. This is arguably a Principle of Least Surprise violation because "the user likely wanted to encrypt all file activity."
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-38599
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:54 UTC · Revision 1
Source evidence
WAL-G before 1.1, when a non-libsodium build (e.g., one of the official binary releases published as GitHub Releases) is used, silently ignores the libsodium encryption key and uploads cleartext backups. This is arguably a Principle of Least Surprise violation because "the user likely wanted to encrypt all file activity."
osv:CVE-2021-38599
Complete source record
{
"id": "9815ba181e131794fb984b693ebec856f1d7526d5f9cd5394746eae31acc4f9e",
"url": "https://osv.dev/vulnerability/CVE-2021-38599",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-38599",
"summary": "WAL-G before 1.1, when a non-libsodium build (e.g., one of the official binary releases published as GitHub Releases) is used, silently ignores the libsodium encryption key and uploads cleartext backups. This is arguably a Principle of Least Surprise violation because \"the user likely wanted to encrypt all file activity.\"",
"evidence": "osv:CVE-2021-38599",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-38599",
"aliases": [
"CVE-2021-38599",
"GHSA-vrmr-f2qh-3hhf"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wal-g/wal-g",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "cadf598e1c2a345915a21a44518c5a4d5401e2e3"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wal-g_project:wal-g:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "cadf598e1c2a345915a21a44518c5a4d5401e2e3"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.0",
"v0.2.22",
"v0.2.21",
"v0.2.20",
"v0.2.19",
"v0.2.18",
"v0.2.17",
"v0.2.16",
"v0.2.15",
"v0.2.14a",
"v0.2.14",
"v0.2.13",
"v0.2.12",
"v0.2.11",
"v0.2.10a",
"v0.2.10",
"v0.2.8",
"v0.2.7",
"v0.2.6",
"v0.2.5",
"v0.2.4",
"v0.2.3",
"v0.2.2",
"v0.2.1",
"v0.2.0",
"v0.1.14",
"v0.1.11",
"v0.1.10",
"v0.1.8",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.2",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38599.json"
}
}
],
"modified": "2026-10-20T10:54:54.782351421Z",
"provider": "osv",
"references": [
"https://github.com/wal-g/wal-g/commit/cadf598e1c2a345915a21a44518c5a4d5401e2e3",
"https://github.com/wal-g/wal-g/pull/1062"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-38599",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386448,
"published_at": "2021-08-12T16:15:10.533+00:00"
}