CVE-2026-53932: Wnx/laravel backup restore Laravel-backup-restore Has An OS Command Vulnerability
HIGHCVE-2026-53932 is a HIGH (CVSS 8.0) laravel-backup-restore has an os command vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Wnx/laravel backup restore libraries in the Packagist ecosystem. The issue involves laravel-backup-restore has an os command injection during database restore. Remediation is available by upgrading affected packages to version 1.9.4.
CVE-2026-53932 at a Glance
Security Impact
CVSS: 8.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-53932
To remediate this vulnerability, upgrade all affected Wnx/laravel backup restore dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade wnx/laravel-backup-restore to 1.9.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for wnx/laravel-backup-restore
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-53932, inspect your project dependencies for Wnx/laravel backup restore:
inspect dependencies for wnx/laravel-backup-restore
Analyze the terminal output to locate any version of Wnx/laravel backup restore in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.9.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Wnx/laravel backup restore, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-53932 Affected Wnx/laravel backup restore Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
wnx/laravel-backup-restore
|
Packagist |
< 1.9.4
|
1.9.4
|
References
Frequently Asked Questions
What is CVE-2026-53932?
Which Wnx/laravel backup restore versions are affected?
What version fixes CVE-2026-53932?
Is wnx/laravel-backup-restore affected?
What is the CVSS score of CVE-2026-53932?
What CWE is associated with CVE-2026-53932?
How can I check Packagist dependencies for CVE-2026-53932?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w9mx-xmg4-gc4r",
"modified" : "2026-07-09T20:52:57Z",
"published" : "2026-07-09T20:52:57Z",
"aliases" : [ "CVE-2026-53932" ],
"summary" : "laravel-backup-restore has an OS Command Injection during database restore",
"details" : "## Summary\nA crafted backup archive can trigger OS command injection during database restore. The restore workflow extracts a ZIP archive, enumerates files under `db-dumps`, converts the dump path to an absolute path, and passes that path into database import commands that are built as shell command strings.\n\nThe dump filename is not shell-escaped before it is interpolated into commands such as:\n\n- `mysql ... < {dumpFile}`\n- `gunzip -c {dumpFile}` / `gunzip < {dumpFile}`\n- `psql ... < {dumpFile}`\n- `sqlite3 ... < {dumpFile}`\n\nBecause `Illuminate\\Support\\Facades\\Process::run(string)` uses Symfony `Process::fromShellCommandline()`, shell metacharacters in the dump filename are interpreted by `/bin/sh` on Unix-like systems or by the platform shell on Windows.\n\n### Impact\nIf an attacker can cause an operator or automation to restore a malicious backup archive, the attacker can execute arbitrary shell commands as the PHP/Laravel application user on the system performing the restore. This can lead to application compromise, database credential disclosure, tampering with restored data, and further lateral movement depending on deployment permissions.\n\nThis is not about malicious SQL inside the dump. The command injection is carried in the ZIP entry filename under `db-dumps`, before the dump content is imported.\n\n### Patches\nThe vulnerability has been fixed in v1.9.4 of the package.\n\n### Workarounds\nThere is no configuration option that disables the vulnerable code path. Upgrading to the patched release is the only complete fix.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "wnx/laravel-backup-restore"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.9.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.9.3"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/stefanzweifel/laravel-backup-restore/security/advisories/GHSA-w9mx-xmg4-gc4r"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/stefanzweifel/laravel-backup-restore"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77", "CWE-78" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-09T20:52:57Z",
"nvd_published_at" : null
}
}