CVE-2026-142479: Webkul Bagisto Catalog Attribute Option Swatch Upload AttributeOptionRepository.php uploadSwatchImage unrestricted upload
A vulnerability was found in Webkul Bagisto up to 2.4.10. The affected element is the function uploadSwatchImage of the file packages/Webkul/Attribute/src/Repositories/AttributeOptionRepository.php of the component Catalog Attribute Option Swatch Upload. The manipulation of the argument swatchvalue results in unrestricted upload. The attack may be performed from remote. The exploit has been made public and could be used. Upgrading to version 2.4.11 is sufficient to fix this issue. The patch is identified as ba23555af3601087589a5e5f6d7573818ba88d45. It is suggested to upgrade the affected component.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Webkul Bagistoto a version that resolves this vulnerability.Fixed in 2.4.11Patch ba23555af3601087589a5e5f6d7573818ba88d45
Event History
Frequently Asked Questions
Which deployments are affected?
Webkul Bagisto versions up to and including 2.4.10 are affected. Upgrading to version 2.4.11 fixes the issue.
What access does an attacker need to exploit this issue?
The vulnerable upload functionality can be reached remotely, but the provided severity vector indicates high privileges are required. Exploitation involves manipulating the swatch_value argument handled by uploadSwatchImage.
Is public exploit information available?
Yes. A proof of concept has been published, and the vulnerability data indicates that public exploit information could be used.
What should be done if the installation cannot be upgraded immediately?
The provided data identifies upgrading to 2.4.11 as the remediation and does not specify a workaround. Restrict access to high-privilege catalog attribute option swatch upload functions until the upgrade can be applied.
How can defenders identify the relevant vulnerable code path?
Review the Catalog Attribute Option Swatch Upload component, specifically uploadSwatchImage in packages/Webkul/Attribute/src/Repositories/AttributeOptionRepository.php. The remediation patch is ba23555af3601087589a5e5f6d7573818ba88d45.