Read the docs
TI-2023-18605 Aliases CVE-2023-36811GHSA-8fjr-hghr-4m99

Archive spoofing vulnerability in borgbackup

Priority LOW 20CWE-347Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Security bypass
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-347.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0011 1st percentileScored 2026-11-07
Fix Fixed borg (borgbackup): 1.2.5borgbackup (PyPI): 1.2.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
borgbackupborgbefore 1.2.51.2.5Patch availableCNA
—borgbackup (PyPI)before 1.2.51.2.5Patch availableGHSA-8fjr-hghr-4m99
  • borg Vendorborgbackup Affected before 1.2.5 Fixed in 1.2.5 Patch available CNA
  • borgbackup (PyPI) Vendor— Affected before 1.2.5 Fixed in 1.2.5 Patch available GHSA-8fjr-hghr-4m99

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:borgbackup:borg:*:*:*:*:*:*:*:*before 1.2.5Vulnerableborgbackup
  • cpe:2.3:a:borgbackup:borg:*:*:*:*:*:*:*:* Versions before 1.2.5 Vulnerable ·borgbackup

Remediation

  • Fix · CNA borg (borgbackup) Fixed in 1.2.5
  • Fix · GHSA-8fjr-hghr-4m99 borgbackup (PyPI) Fixed in 1.2.5 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-36811
  2. 2026-10-03 Alias added: GHSA-8fjr-hghr-4m99

References

  • TI-2017-11651 Incorrect implementation of access controls allows remote users to override repository… CVSS 3.0HIGH 8.8

Sources