# CVE-2026-142479: Webkul Bagisto Catalog Attribute Option Swatch Upload AttributeOptionRepository.php uploadSwatchImage unrestricted upload

- **Severity:** MEDIUM 5.1
- **CVSS:** 5.1 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: High; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Proof of concept
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **CWE:** CWE-434, CWE-284
- **Published:** 2026-12-03T00:45:47.586Z
- **Modified:** 2026-12-03T01:17:54.173Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker can upload arbitrary files remotely through the swatch image upload of the Bagisto e-commerce platform's catalog attribute options.

## Who should check

- Anyone running Webkul Bagisto 2.4.0; 2.4.1; 2.4.2; 2.4.3; 2.4.4; 2.4.5; 2.4.6; 2.4.7; 2.4.8; 2.4.9; …

## Description

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 swatch\_value 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 and fixed versions

- Webkul Bagisto: 2.4.0; 2.4.1; 2.4.2; 2.4.3; 2.4.4; 2.4.5; 2.4.6; 2.4.7; 2.4.8; 2.4.9; … (cvelist)

## Technologies

PHP (AI-matched)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142479. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142479.md
Affected: Webkul Bagisto 2.4.0; 2.4.1; 2.4.2; 2.4.3; 2.4.4; 2.4.5; 2.4.6; 2.4.7; 2.4.8; 2.4.9; …
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Webkul Bagisto: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142479 being exploited?

There is no confirmed exploitation: CVE-2026-142479 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available.

### How serious is CVE-2026-142479?

Medium: CVSS 5.1 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-142479?

Webkul Bagisto 2.4.0; 2.4.1; 2.4.2; 2.4.3; 2.4.4; 2.4.5; 2.4.6; 2.4.7; 2.4.8; 2.4.9; ….

### Is there a fix for CVE-2026-142479?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-142479?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/bagisto/bagisto/commit/ba23555af3601087589a5e5f6d7573818ba88d45>
- patch: <https://github.com/bagisto/bagisto/releases/tag/v2.4.11>
- exploit: <https://gist.github.com/k4z01/bca784b98599ee51fe0548af0f80bb11>
- article: <https://vuldb.com/vuln/447949>
- other: <https://vuldb.com/vuln/447949/cti>
- other: <https://vuldb.com/cve/CVE-2026-142479>
- other: <https://vuldb.com/submit/1076938>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142479>

HTML: <https://flawdb.com/CVE-2026-142479> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142479>
