{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.4.0"
                  },
                  {
                    "last_affected": "2.4.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.4.1"
                  },
                  {
                    "last_affected": "2.4.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.4.2"
                  },
                  {
                    "last_affected": "2.4.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.4.3"
                  },
                  {
                    "last_affected": "2.4.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.4.4"
                  },
                  {
                    "last_affected": "2.4.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.4.5"
                  },
                  {
                    "last_affected": "2.4.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.4.6"
                  },
                  {
                    "last_affected": "2.4.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.4.7"
                  },
                  {
                    "last_affected": "2.4.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.4.8"
                  },
                  {
                    "last_affected": "2.4.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.4.9"
                  },
                  {
                    "last_affected": "2.4.9"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "2.4.10"
                  },
                  {
                    "last_affected": "2.4.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "fixed": "ba23555af3601087589a5e5f6d7573818ba88d45"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v2.4.11",
                "range": [
                  {
                    "fixed": "9beff85ece6fe13378a97e6f84765b50647d3327"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "487533a8f8552b94c937722cc3109ae41afc7604"
            },
            {
              "last_affected": "72beea139e644e9e1b6981b717d57dfa68ad3106"
            },
            {
              "fixed": "ba23555af3601087589a5e5f6d7573818ba88d45"
            },
            {
              "fixed": "9beff85ece6fe13378a97e6f84765b50647d3327"
            }
          ],
          "repo": "https://github.com/bagisto/bagisto",
          "type": "GIT"
        }
      ],
      "versions": [
        "2.4.0",
        "2.4.1",
        "2.4.10",
        "2.4.2",
        "2.4.3",
        "2.4.4",
        "2.4.5",
        "2.4.6",
        "2.4.7",
        "2.4.8",
        "2.4.9"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-284",
      "CWE-434"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142479.json"
  },
  "details": "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.",
  "id": "CVE-2026-142479",
  "modified": "2026-12-03T03:45:50.230671240Z",
  "published": "2026-12-03T00:45:47.586Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://gist.github.com/k4z01/bca784b98599ee51fe0548af0f80bb11"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142479.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/bagisto/bagisto/commit/ba23555af3601087589a5e5f6d7573818ba88d45"
    },
    {
      "type": "FIX",
      "url": "https://github.com/bagisto/bagisto/releases/tag/v2.4.11"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142479"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-142479"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/1076938"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/447949"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/447949/cti"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Webkul Bagisto Catalog Attribute Option Swatch Upload AttributeOptionRepository.php uploadSwatchImage unrestricted upload"
}