CVE-2023-36811
Archive spoofing vulnerability in borgbackup
borgbackup is an opensource, deduplicating archiver with compression and authenticated encryption. A flaw in the cryptographic authentication scheme in borgbackup allowed an attacker to fake archives and potentially indirectly cause backup data loss in the repository. The attack requires an attacker to be able to: 1. insert files (with no additional headers) into backups and 2. gain write access to the repository. This vulnerability does not disclose plaintext to the attacker, nor does it affect the authenticity of existing archives. Creating plausible fake archives may be feasible for empty or small archives, but is unlikely for large archives. The issue has been fixed in borgbackup 1.2.5. Users are advised to upgrade. Additionally to installing the fixed code, users must follow the upgrade procedure as documented in the change log. Data loss after being attacked can be avoided by reviewing the archives (timestamp and contents valid and as expected) after any "borg check --repair" and before "borg prune". There are no known workarounds for this vulnerability.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
4.7
Archive spoofing vulnerability in borgbackup
borgbackup is an opensource, deduplicating archiver with compression and authenticated encryption. A flaw in the cryptographic authentication scheme in borgbackup allowed an attacker to fake archives and potentially indirectly cause backup data loss in the repository. The attack requires an attacker to be able to: 1. insert files (with no additional headers) into backups and 2. gain write access to the repository. This vulnerability does not disclose plaintext to the attacker, nor does it affect the authenticity of existing archives. Creating plausible fake archives may be feasible for empty or small archives, but is unlikely for large archives. The issue has been fixed in borgbackup 1.2.5. Users are advised to upgrade. Additionally to installing the fixed code, users must follow the upgrade procedure as documented in the change log. Data loss after being attacked can be avoided by reviewing the archives (timestamp and contents valid and as expected) after any "borg check --repair" and before "borg prune". There are no known workarounds for this vulnerability.
- Record
CVE-2023-36811- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-347
- Updated
- 2026-11-02
EUVDEUVD-2023-0050
4.7
borgbackup is an opensource, deduplicating archiver with compression and authenticated encryption. A flaw in the cryptographic authentication scheme in borgbackup allowed an attacker to fake archives and potentially indirectly cause backup data loss in the repository. The attack requires an attacker to be able to: 1. insert files (with no additional headers) into backups and 2. gain write access to the repository. This vulnerability does not disclose plaintext to the attacker, nor does it affect the authenticity of existing archives. Creating plausible fake archives may be feasible for empty or small archives, but is unlikely for large archives. The issue has been fixed in borgbackup 1.2.5. Users are advised to upgrade. Additionally to installing the fixed code, users must follow the upgrade procedure as documented in the change log. Data loss after being attacked can be avoided by reviewing the archives (timestamp and contents valid and as expected) after any "borg check --repair" and before "borg prune". There are no known workarounds for this vulnerability.
- Record
EUVD-2023-0050- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8fjr-hghr-4m99
6.0
Archive spoofing vulnerability in borgbackup
Impact
A flaw in the cryptographic authentication scheme in borgbackup allowed an attacker to fake archives and potentially indirectly cause backup data loss in the repository.
The attack requires an attacker to be able to
- insert files (with no additional headers) into backups
- gain write access to the repository
This vulnerability does not disclose plaintext to the attacker, nor does it affect the authenticity of existing archives.
Creating plausible fake archives may be feasible for empty or small archives, but is unlikely for large archives.
Affected are all borgbackup releases prior to 1.2.5.
Note: CVSS scoring model seemed to badly fit for this case, thus I manually set score to "moderate".
Patches
The issue has been fixed in borgbackup 1.2.5. But there was a bug in 1.2.5 upgrade instructions, thus 1.2.6 with an important fix in docs and code was released a day afterwards.
Additionally to installing the fixed code, users must follow the upgrade procedure as documented in the latest version of the change log.
Workarounds
Data loss after being attacked can be avoided by reviewing the archives (timestamp and contents valid and as expected) after any "borg check --repair" and before "borg prune".
References
- Record
GHSA-8fjr-hghr-4m99- CVSS 4.0
- 6.0 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-347
- Updated
- 2026-11-02
NVD
4.7
borgbackup is an opensource, deduplicating archiver with compression and authenticated encryption. A flaw in the cryptographic authentication scheme in borgbackup allowed an attacker to fake archives and potentially indirectly cause backup data loss in the repository. The attack requires an attacker to be able to: 1. insert files (with no additional headers) into backups and 2. gain write access to the repository. This vulnerability does not disclose plaintext to the attacker, nor does it affect the authenticity of existing archives. Creating plausible fake archives may be feasible for empty or small archives, but is unlikely for large archives. The issue has been fixed in borgbackup 1.2.5. Users are advised to upgrade. Additionally to installing the fixed code, users must follow the upgrade procedure as documented in the change log. Data loss after being attacked can be avoided by reviewing the archives (timestamp and contents valid and as expected) after any "borg check --repair" and before "borg prune". There are no known workarounds for this vulnerability.
- Record
CVE-2023-36811- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-347
- Updated
- 2026-11-02
OSVALPINE-CVE-2023-36811
4.7
borgbackup is an opensource, deduplicating archiver with compression and authenticated encryption. A flaw in the cryptographic authentication scheme in borgbackup allowed an attacker to fake archives and potentially indirectly cause backup data loss in the repository. The attack requires an attacker to be able to: 1. insert files (with no additional headers) into backups and 2. gain write access to the repository. This vulnerability does not disclose plaintext to the attacker, nor does it affect the authenticity of existing archives. Creating plausible fake archives may be feasible for empty or small archives, but is unlikely for large archives. The issue has been fixed in borgbackup 1.2.5. Users are advised to upgrade. Additionally to installing the fixed code, users must follow the upgrade procedure as documented in the change log. Data loss after being attacked can be avoided by reviewing the archives (timestamp and contents valid and as expected) after any "borg check --repair" and before "borg prune". There are no known workarounds for this vulnerability.
- Record
ALPINE-CVE-2023-36811- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-03
OSV
4.7
Archive spoofing vulnerability in borgbackup
borgbackup is an opensource, deduplicating archiver with compression and authenticated encryption. A flaw in the cryptographic authentication scheme in borgbackup allowed an attacker to fake archives and potentially indirectly cause backup data loss in the repository. The attack requires an attacker to be able to: 1. insert files (with no additional headers) into backups and 2. gain write access to the repository. This vulnerability does not disclose plaintext to the attacker, nor does it affect the authenticity of existing archives. Creating plausible fake archives may be feasible for empty or small archives, but is unlikely for large archives. The issue has been fixed in borgbackup 1.2.5. Users are advised to upgrade. Additionally to installing the fixed code, users must follow the upgrade procedure as documented in the change log. Data loss after being attacked can be avoided by reviewing the archives (timestamp and contents valid and as expected) after any "borg check --repair" and before "borg prune". There are no known workarounds for this vulnerability.
- Record
CVE-2023-36811- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-347
- Updated
- 2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2023-36811
4.7
borgbackup is an opensource, deduplicating archiver with compression and authenticated encryption. A flaw in the cryptographic authentication scheme in borgbackup allowed an attacker to fake archives and potentially indirectly cause backup data loss in the repository. The attack requires an attacker to be able to: 1. insert files (with no additional headers) into backups and 2. gain write access to the repository. This vulnerability does not disclose plaintext to the attacker, nor does it affect the authenticity of existing archives. Creating plausible fake archives may be feasible for empty or small archives, but is unlikely for large archives. The issue has been fixed in borgbackup 1.2.5. Users are advised to upgrade. Additionally to installing the fixed code, users must follow the upgrade procedure as documented in the change log. Data loss after being attacked can be avoided by reviewing the archives (timestamp and contents valid and as expected) after any "borg check --repair" and before "borg prune". There are no known workarounds for this vulnerability.
- Record
DEBIAN-CVE-2023-36811- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVGHSA-8fjr-hghr-4m99
6.0
Archive spoofing vulnerability in borgbackup
Impact
A flaw in the cryptographic authentication scheme in borgbackup allowed an attacker to fake archives and potentially indirectly cause backup data loss in the repository.
The attack requires an attacker to be able to
- insert files (with no additional headers) into backups
- gain write access to the repository
This vulnerability does not disclose plaintext to the attacker, nor does it affect the authenticity of existing archives.
Creating plausible fake archives may be feasible for empty or small archives, but is unlikely for large archives.
Affected are all borgbackup releases prior to 1.2.5.
Note: CVSS scoring model seemed to badly fit for this case, thus I manually set score to "moderate".
Patches
The issue has been fixed in borgbackup 1.2.5. But there was a bug in 1.2.5 upgrade instructions, thus 1.2.6 with an important fix in docs and code was released a day afterwards.
Additionally to installing the fixed code, users must follow the upgrade procedure as documented in the latest version of the change log.
Workarounds
Data loss after being attacked can be avoided by reviewing the archives (timestamp and contents valid and as expected) after any "borg check --repair" and before "borg prune".
References
- Record
GHSA-8fjr-hghr-4m99- CVSS 4.0
- 6.0 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-347
- Updated
- 2026-11-02
OSVPYSEC-2023-164
4.7
borgbackup is an opensource, deduplicating archiver with compression and authenticated encryption. A flaw in the cryptographic authentication scheme in borgbackup allowed an attacker to fake archives and potentially indirectly cause backup data loss in the repository. The attack requires an attacker to be able to: 1. insert files (with no additional headers) into backups and 2. gain write access to the repository. This vulnerability does not disclose plaintext to the attacker, nor does it affect the authenticity of existing archives. Creating plausible fake archives may be feasible for empty or small archives, but is unlikely for large archives. The issue has been fixed in borgbackup 1.2.5. Users are advised to upgrade. Additionally to installing the fixed code, users must follow the upgrade procedure as documented in the change log. Data loss after being attacked can be avoided by reviewing the archives (timestamp and contents valid and as expected) after any "borg check --repair" and before "borg prune". There are no known workarounds for this vulnerability.
- Record
PYSEC-2023-164- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-36811
4.7
borgbackup is an opensource, deduplicating archiver with compression and authenticated encryption. A flaw in the cryptographic authentication scheme in borgbackup allowed an attacker to fake archives and potentially indirectly cause backup data loss in the repository. The attack requires an attacker to be able to: 1. insert files (with no additional headers) into backups and 2. gain write access to the repository. This vulnerability does not disclose plaintext to the attacker, nor does it affect the authenticity of existing archives. Creating plausible fake archives may be feasible for empty or small archives, but is unlikely for large archives. The issue has been fixed in borgbackup 1.2.5. Users are advised to upgrade. Additionally to installing the fixed code, users must follow the upgrade procedure as documented in the change log. Data loss after being attacked can be avoided by reviewing the archives (timestamp and contents valid and as expected) after any "borg check --repair" and before "borg prune". There are no known workarounds for this vulnerability.
- Record
UBUNTU-CVE-2023-36811- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13316-1 No score
borgbackup-1.2.6-1.1 on GA media
These are all security issues fixed in the borgbackup-1.2.6-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13316-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
borgbackupPyPI |
before 1.2.5 | 1.2.5 |
borgbackupAlpine:v3.18 |
before 1.2.6-r0 | 1.2.6-r0 |
borgbackupAlpine:v3.19 |
before 1.2.6-r0 | 1.2.6-r0 |
borgbackupAlpine:v3.20 |
before 1.2.6-r0 | 1.2.6-r0 |
borgbackupAlpine:v3.21 |
before 1.2.6-r0 | 1.2.6-r0 |
borgbackupAlpine:v3.22 |
before 1.2.6-r0 | 1.2.6-r0 |
borgbackupAlpine:v3.23 |
before 1.2.6-r0 | 1.2.6-r0 |
borgbackupAlpine:v3.24 |
before 1.2.6-r0 | 1.2.6-r0 |
borgbackupDebian:12 |
All versions, plus listed versions 1.2.4-11.2.4-21.2.4-31.2.5-11.2.5-2 Show 32 moreShow less1.2.5-31.2.5-41.2.6-11.2.6-21.2.7-11.2.7-21.2.7-2~bpo12+11.2.8-11.2.8-1~bpo12+11.4.0-11.4.0-21.4.0-31.4.0-41.4.0-4~bpo12+11.4.0-51.4.1-11.4.1-21.4.1-31.4.1-3~exp11.4.1-41.4.2-11.4.2-21.4.3-11.4.3-21.4.3-31.4.3-41.4.4-11.4.4-21.4.4-31.4.4-41.4.4-51.4.5-1 |
None known |
borgbackupDebian:13 |
before 1.2.5-1 | 1.2.5-1 |
Show 7 moreShow less
| Package | Affected | Fixed |
|---|---|---|
borgbackupDebian:14 |
before 1.2.5-1 | 1.2.5-1 |
borgbackupPyPI |
before 1.2.5, plus listed versions 0.23.00.24.00.25.00.26.00.26.1 Show 45 moreShow less0.27.00.28.00.28.10.28.20.29.00.30.00.30.11.0.01.0.0rc11.0.0rc21.0.11.0.101.0.10rc11.0.111.0.11rc11.0.121.0.131.0.21.0.31.0.41.0.51.0.61.0.6rc11.0.71.0.7rc11.0.7rc21.0.81.0.8rc11.0.91.0.9rc11.1.01.1.0b11.1.0b21.1.0b31.1.0b41.1.0b51.1.0b61.1.0rc11.1.0rc21.1.0rc31.1.0rc41.1.11.1.101.1.111.1.12 |
1.2.5 |
borgbackupUbuntu:16.04:LTS |
All versions, plus listed versions 0.28.1-10.28.1-20.28.2-10.28.2-20.29.0-1 Show 19 moreShow less0.29.0-20.29.0-30.29.0-40.30.0-11.0.0~rc1-11.0.0~rc1-21.0.0~rc1-31.0.0~rc2-11.0.0~rc2-31.0.0-11.0.0-21.0.0-31.0.0-41.0.1-11.0.2-11.0.7-0ubuntu1.16.04.11.0.11-0ubuntu1.16.04.21.0.12-0ubuntu1.16.04.11.0.13-0ubuntu1.16.04.1 |
None known |
borgbackupUbuntu:18.04:LTS |
All versions, plus listed versions 1.0.11-41.1.2-31.1.2-41.1.2-51.1.3-1build1 Show 9 moreShow less1.1.3-21.1.3-31.1.4-11.1.4-21.1.4-2build11.1.4-31.1.5-1~build11.1.5-11.1.15-1~ubuntu1.18.04.2 |
None known |
borgbackupUbuntu:20.04:LTS |
All versions, plus listed versions 1.1.10-21.1.10-2build11.1.11-1~build11.1.11-11.1.11-21.1.11-5~build11.1.11-51.1.15-1~ubuntu1.20.04.1 |
None known |
borgbackupUbuntu:22.04:LTS |
All versions, plus listed versions 1.1.17-11.1.17-1build11.2.0-11.2.0-1ubuntu1.22.04.1 |
None known |
borgbackupUbuntu:24.04:LTS |
All versions, plus listed versions 1.2.6-21.2.7-11.2.7-21.2.7-2build11.2.7-2build21.2.7-2build31.2.8-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-36811 is a medium vulnerability (CVSS 4.7) in Borgbackup Borg, published August 30, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.11%, the 1st percentile. Fixed in borgbackup 1.2.5.
References
github.com/borgbackup/borg/security/advisories/GHSA-8fjr-hghr-4m99
github.com/borgbackup/borg/commit/3eb070191da10c2d3f7bc6484cf3d51c3045f884
github.com/borgbackup/borg/blob/1.2.5-cvedocs/docs/changes.rst
lists.fedoraproject.org/archives/list/[email protected]/message/ZUCQSMAWOJBCRGF6XPKEZ2TPGAPNKIWV
lists.fedoraproject.org/archives/list/[email protected]/message/5Q3OHXERTU547SEQ3YREZXHOCYNLVD63
lists.fedoraproject.org/archives/list/[email protected]/message/XOZDFIYEBIOKSIEAXUJJJFUJTAJ7TF3C
Show 22 moreShow less
nvd.nist.gov/vuln/detail/CVE-2023-36811
github.com/borgbackup/borg/blob/1.2.6/docs/changes.rst
github.com/pypa/advisory-database/tree/main/vulns/borgbackup/PYSEC-2023-164.yaml
github.com/advisories/GHSA-8fjr-hghr-4m99
security.alpinelinux.org/vuln/CVE-2023-36811
github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36811.json
security-tracker.debian.org/tracker/CVE-2023-36811
github.com/borgbackup/borg
ubuntu.com/security/CVE-2023-36811
github.com/borgbackup/borg/commit/a2ee13fd341dcd004b4a06b17d6f2fc759327861
github.com/borgbackup/borg/commit/bfead4b288833f890523d8881797ff6b345edaf9
github.com/borgbackup/borg/commit/462c1bdf2e597bd2e276c8fea82c84fabc0b7244
github.com/borgbackup/borg/commit/277b0b81a860f4518d7bf0cc0951e77f9c99336d
github.com/borgbackup/borg/commit/b23e6cb73da01df038f7bd10c34a91c7187817b0
github.com/borgbackup/borg/commit/95b560442284eda3ffae403c3086d549f6e121b8
github.com/borgbackup/borg/commit/5cd2060345f38f2e0324ab178f847c2f45598b12
github.com/borgbackup/borg/commit/56da3987111eb80b4ca38ac3e6aaa7953c61d2e3
github.com/borgbackup/borg/commit/449cd51b73b0710a940af8cefe74793ce81563f4
github.com/borgbackup/borg/commit/f334ef1b4de2f8a359ededa41ce13358b81e63c1
borgbackup.readthedocs.io/en/stable/changes.html
cve.org/CVERecord?id=CVE-2023-36811
suse.com/security/cve/CVE-2023-36811
Left out here: 32 versions. The JSON record has them.