Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-93853 Overview
CVE-2026-93853 is an improper ownership verification flaw in Barman, the backup and recovery manager for PostgreSQL maintained by EnterpriseDB. When Barman deletes a snapshot backup, it reads snapshot identifiers from the backup.info file and calls the cloud provider's delete API using Barman's own credentials. Barman does not verify that the referenced snapshots belong to the backup being deleted. An attacker who can write the backup catalog but lacks direct snapshot delete permissions can substitute identifiers of unrelated snapshots. Barman then deletes any snapshot reachable by its cloud identity on AWS, Microsoft Azure, or Google Cloud.
Critical Impact
Unauthorized deletion of arbitrary cloud snapshots across AWS, Azure, and Google Cloud environments accessible to the Barman service identity, leading to potential loss of backup data and disaster recovery capability.
Affected Products
- Barman 3.7.0 through 3.20.0 on AWS
- Barman 3.6.0 through 3.20.0 on Microsoft Azure
- Barman 3.4.0 through 3.20.0 on Google Cloud
Discovery Timeline
- 2026-09-29 - CVE CVE-2026-93853 published to NVD
- 2026-09-29 - Last updated in NVD database
Technical Details for CVE-2026-93853
Vulnerability Analysis
Barman manages PostgreSQL backups and supports snapshot-based backups on major cloud providers. Each snapshot backup is described by a backup.info metadata file stored in the backup catalog. This file records the cloud snapshot identifiers that make up the backup.
When a snapshot backup is deleted, either explicitly or through retention policy enforcement, Barman parses backup.info to obtain the snapshot identifiers. It then invokes the cloud provider's delete API with those identifiers using its own configured credentials. Barman performs no check that the referenced snapshots were actually created as part of the backup being deleted.
The flaw is classified as [CWE-283] Unverified Ownership. The trust boundary between the backup catalog writer and the cloud identity used to delete snapshots is not enforced. This makes the delete operation an implicit privilege escalation for any principal that can modify catalog metadata.
Root Cause
The root cause is the absence of an ownership check between the snapshot identifiers listed in backup.info and the snapshots Barman actually created for that backup. Barman treats the catalog file as authoritative input and forwards its contents directly to the cloud provider's delete API. Because the API call is authorized by Barman's cloud identity rather than the identity of the catalog writer, the effective privilege of the writer is expanded to match Barman's delete permissions.
Attack Vector
Exploitation requires a deployment where the principal that writes the backup catalog is distinct from the cloud identity Barman uses to delete snapshots. An attacker with write access to backup.info overwrites the snapshot identifiers with those of other snapshots reachable by Barman's cloud identity. The attacker then triggers a backup deletion, either by invoking Barman's delete command or by waiting for retention policy enforcement. Barman calls the delete API for the substituted identifiers, destroying snapshots the attacker had no direct permission to remove.
No verified exploit code is publicly available. See the EnterpriseDB Security Advisory for vendor-provided technical details.
Detection Methods for CVE-2026-93853
Indicators of Compromise
- Modifications to backup.info files in the Barman catalog that do not correspond to a legitimate backup operation or catalog update.
- Cloud provider audit log entries showing snapshot delete API calls by the Barman service identity that reference snapshot IDs outside the expected Barman-managed set.
- Unexpected disappearance of EBS, Azure Managed Disk, or GCP Persistent Disk snapshots in accounts sharing Barman's cloud identity scope.
Detection Strategies
- Correlate Barman backup catalog file writes with the source principal, and flag writes originating from identities that are not the Barman service itself.
- Compare snapshot identifiers passed to cloud delete APIs against the inventory of snapshots created by Barman for the corresponding backup ID.
- Alert on any snapshot deletion by the Barman cloud identity that targets snapshots tagged or created by other workloads.
Monitoring Recommendations
- Enable and centralize AWS CloudTrail, Azure Activity Log, and Google Cloud Audit Logs for snapshot delete operations.
- Monitor file integrity on the Barman catalog directory, focusing on backup.info files.
- Track Barman version in use across hosts and alert on any instance running an affected release.
How to Mitigate CVE-2026-93853
Immediate Actions Required
- Upgrade Barman to version 3.20.1 or later on all hosts that manage snapshot backups.
- Audit cloud provider logs for snapshot deletions performed by the Barman identity and validate each against expected backup lifecycle events.
- Restrict write access to the Barman backup catalog to the Barman service account only.
- Scope the IAM policy attached to Barman's cloud identity so it can delete only snapshots it owns, using tag-based or resource-based conditions.
Patch Information
The issue is fixed in Barman 3.20.1. Refer to the EnterpriseDB Security Advisory for release details and upgrade guidance.
Workarounds
- Where immediate upgrade is not possible, restrict Barman's cloud IAM policy to delete only snapshots that carry a Barman-owned identifying tag.
- Enforce that the principal writing backup.info is the same identity that runs Barman, removing the split-privilege condition required for exploitation.
- Enable snapshot recycle bin or soft-delete features (for example, AWS Recycle Bin, Azure snapshot soft delete) to allow recovery of snapshots deleted in error or by abuse.
# Example: restrict Barman AWS IAM policy to tagged snapshots only
# Attach to the Barman service role
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "ec2:DeleteSnapshot",
"Resource": "arn:aws:ec2:*::snapshot/*",
"Condition": {
"StringEquals": {
"aws:ResourceTag/ManagedBy": "barman"
}
}
}
]
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

