{"cve":"CVE-2023-36811","nvd":{"published":"2023-08-30T18:15:09.487","modified":"2026-06-17T06:07:07.587","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","score":4.7},"cwes":["CWE-347"],"references":["https://github.com/borgbackup/borg/blob/1.2.5-cvedocs/docs/changes.rst#pre-125-archives-spoofing-vulnerability-cve-2023-36811","https://github.com/borgbackup/borg/commit/3eb070191da10c2d3f7bc6484cf3d51c3045f884","https://github.com/borgbackup/borg/security/advisories/GHSA-8fjr-hghr-4m99","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5Q3OHXERTU547SEQ3YREZXHOCYNLVD63/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XOZDFIYEBIOKSIEAXUJJJFUJTAJ7TF3C/"],"products":["borgbackup:borg"],"source":"nvd","synced_at":"2026-10-19T21:39:14.809778102+00:00"},"epss":{"cve":"CVE-2023-36811","score":0.0011,"percentile":0.01282,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8fjr-hghr-4m99","url":"https://osv.dev/vulnerability/GHSA-8fjr-hghr-4m99","summary":"Archive spoofing vulnerability in borgbackup","modified":"2024-09-13T15:06:11.785662Z","packages":[{"ecosystem":"PyPI","name":"borgbackup","purl":"pkg:pypi/borgbackup","ranges":["<1.2.5"],"fixed":["1.2.5"]}]},{"id":"PYSEC-2023-164","url":"https://osv.dev/vulnerability/PYSEC-2023-164","summary":"","modified":"2023-11-08T04:12:58.880266Z","packages":[{"ecosystem":"PyPI","name":"borgbackup","purl":"pkg:pypi/borgbackup","ranges":["<1.2.5"],"fixed":["1.2.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}