Veeam Backup & Replication
CVE-2025-59468
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as Backup Administrator
-
DeliverySubmit malicious password parameter
-
ExploitInjected command reaches shell context
-
ExecutionCommand executes as postgres user
-
ImpactOS-level foothold on backup server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated Backup Administrator account on Veeam Backup & Replication (CVSS PR:H) - this is not remotely reachable by an anonymous attacker. The specific trigger is supplying a malicious 'password' parameter that is not neutralized before use in a command context (CWE-77), yielding command execution as the postgres OS user. No user interaction is needed (UI:N) and it is network-accessible to the management interface (AV:N), but the practical limiter is holding the privileged backup-admin role; the impact is amplified by the scope change to the OS-level postgres account. Defenders should restrict and monitor Backup Administrator membership and apply the KB4792 fix. |
| Impact | Signals are mixed and point to a serious-but-gated issue rather than a mass-exploitation emergency. The vendor CVSS of 9.1 (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H) is driven largely by the scope change (S:C) and full CIA impact from achieving RCE as the postgres OS user, but the PR:H requirement is the decisive limiter: exploitation demands an existing Backup Administrator - a highly privileged role in Veeam Backup & Replication. This is a privilege-escalation/command-injection pivot from an already-trusted application role to OS-level code execution, not an unauthenticated internet-facing break-in. Exploitation likelihood signals are low: EPSS is 0.11% (30th percentile), there is no CISA KEV listing, and no public exploit code was identified. There is no SSVC decision data in the input to reconcile. Note the tension between the 9.1 'critical' headline and the modest EPSS/absent KEV - the high base score reflects impact-if-exploited and scope change, while real-world urgency is tempered by the need to already hold Backup Administrator rights. Given Veeam's history as a ransomware target, this is still worth prompt patching for organizations where the backup console is broadly accessed, but it is not a drop-everything unauthenticated RCE. |
| Exploit ScenarioDerived | An attacker who already holds Backup Administrator credentials (obtained via compromise, insider access, or over-provisioned delegation) submits a crafted password parameter containing shell/command metacharacters (CWE-77). The unsanitized value is passed into a command context tied to the embedded PostgreSQL configuration, executing attacker-controlled commands as the postgres OS user and enabling a pivot to the underlying backup server host and its stored data. No public proof-of-concept was identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 30, 2026
Command injection in Veeam Backup & Replication lets a Backup Administrator achieve remote code execution as the postgres OS user by supplying a malicious password parameter, earning a CVSS 3.1 base score of 9.1 (CWE-77). Exploitation is gated: it requires an authenticated account holding the privileged Backup Administrator role (PR:H) and does not need user interaction, but it is not reachable by an anonymous attacker, and the scope change (S:C) reflects the pivot from the backup application into the underlying PostgreSQL OS account. Threat signals are mixed rather than urgent - EPSS is only 0.11% (30th percentile) and no public exploit code has been identified at time of analysis, though the high privilege associated with the backup-admin role and the OS-level impact make this a serious issue for defenders to close via the vendor's KB4792 guidance.
Earlier versions of this analysis (1)
Veeam Backup allows admin-to-postgres RCE via malicious password parameter with scope change.
RemediationAI
Apply the vendor fix documented in Veeam KB4792 (https://www.veeam.com/kb4792) - patch status is therefore 'Patch available per vendor advisory'; the KB does not expose a specific fixed build number in the supplied data, so confirm the exact upgrade target on that page before scheduling maintenance. Because the flaw is only reachable by an authenticated Backup Administrator, the highest-value compensating control is to treat that role as tier-0: audit current membership, remove or disable unused Backup Administrator accounts, and enforce separate non-operator accounts for day-to-day administration - with the trade-off that strict role separation adds administrative overhead and may slow approval of backup policy changes. Until patched, restrict network access to the Veeam Backup & Replication management interface to trusted administrative networks or a jump host (accepting reduced remote-management convenience), and monitor VBR and PostgreSQL logs for unexpected child processes or shell activity spawned under the postgres account, which is a detective rather than preventive measure and will not stop a determined insider with the role. Rotating credentials for Backup Administrator accounts and any passwords consumed by the vulnerable parameter handling is advisable after patching, though it does not by itself mitigate the injection flaw.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-77 (improper neutralization of special elements used in a command), i.e. OS command injection: a caller-supplied 'password' parameter is not sanitized before being placed into a command execution context, so shell metacharacters embedded in that value are interpreted by the underlying operating system. The affected component is Veeam Backup & Replication, which relies on a PostgreSQL database backend; the injected command consequently executes under the postgres service account rather than the main application identity, which is why the CVSS vector includes S:C (scope change) alongside C:H/I:H/A:H - an attacker who reaches code execution as postgres can read, modify, and delete data or configuration reachable by that account. The network vector (AV:N/AC:L) means the vulnerable path is reachable over the management interface with low attack complexity, but PR:H confirms the practical prerequisite: the attacker must already hold a Backup Administrator account. No user interaction (UI:N) is required. The CPE record cpe:2.3:a:veeam:veeam_backup_&_replication:*:*:*:*:*:*:*:* uses a wildcard version field, indicating the advisory does not enumerate a single pinned release line in this feed, so the authoritative version scope must be read from the vendor KB4792.
Know when PostgreSQL gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Requires privileged Backup Administrator role (PR:H); command injection escapes the app to OS-level postgres user (S:C) giving full C/I/A on the host.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
This vulnerability allows a Backup Administrator to perform remote code execution (RCE) as the postgres user by sending a malicious password parameter.
Executive ViewAI
A critical command-injection flaw in Veeam Backup & Replication (CVE-2025-59468, CVSS 9.1) allows anyone holding the Backup Administrator role to execute arbitrary code on the backup server under the underlying PostgreSQL operating-system account. Because the affected role already controls the systems that protect the organization's recovery capability, a compromised or malicious backup administrator could disable or tamper with backups and pivot deeper into the environment, undermining ransomware resilience. No vendor patch and no public exploit code are currently available, so risk must be managed through access controls and monitoring in the near term.
No vendor patch is available. Interim mitigations: strictly limit and review Backup Administrator role assignments, enforce MFA and least privilege, segment backup infrastructure management access, monitor Veeam and PostgreSQL logs for anomalous activity, and maintain offline/immutable backup copies per Veeam KB4792 guidance.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)NVD
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB