Skip to content
Heist/ feed
Back to feed
High

FreeScout's deserialization of untrusted data leads to Remote Code Execution

Type: advisorySources: OSV

FreeScout is a lightweight free open source help desk and shared inbox built with PHP (Laravel framework). In versions 1.8.185 and below, there is a critical deserialization vulnerability in the /conversation/ajax endpoint that allows authenticated users with knowledge of the APP_KEY to achieve remote code execution. The vulnerability occurs when the application processes the attachments_all and attachments POST parameters through the insecure Helper::decrypt() function, which performs unsafe deserialization of user-controlled data without proper validation. This flaw enables attackers to create arbitrary objects and manipulate their properties, leading to complete compromise of the web application. This is fixed in version 1.8.186.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-54366
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 03:57 UTC · Revision 1

Source evidence

FreeScout's deserialization of untrusted data leads to Remote Code Execution

core-osv · Original source

Published 26 Jul 2025, 03:35 UTC

FreeScout is a lightweight free open source help desk and shared inbox built with PHP (Laravel framework). In versions 1.8.185 and below, there is a critical deserialization vulnerability in the /conversation/ajax endpoint that allows authenticated users with knowledge of the APP_KEY to achieve remote code execution. The vulnerability occurs when the application processes the attachments_all and attachments POST parameters through the insecure Helper::decrypt() function, which performs unsafe deserialization of user-controlled data without proper validation. This flaw enables attackers to create arbitrary objects and manipulate their properties, leading to complete compromise of the web application. This is fixed in version 1.8.186.

osv:CVE-2025-54366
Complete source record
{
  "id": "cf76e790e18685f7ebc72314fa3739e78be2917b7b0384d15b8dc44d5ebb0a35",
  "url": "https://osv.dev/vulnerability/CVE-2025-54366",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "FreeScout's deserialization of untrusted data leads to Remote Code Execution",
    "summary": "FreeScout is a lightweight free open source help desk and shared inbox built with PHP (Laravel framework). In versions 1.8.185 and below, there is a critical deserialization vulnerability in the /conversation/ajax endpoint that allows authenticated users with knowledge of the APP_KEY to achieve remote code execution. The vulnerability occurs when the application processes the attachments_all and attachments POST parameters through the insecure Helper::decrypt() function, which performs unsafe deserialization of user-controlled data without proper validation. This flaw enables attackers to create arbitrary objects and manipulate their properties, leading to complete compromise of the web application. This is fixed in version 1.8.186.",
    "evidence": "osv:CVE-2025-54366",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-54366",
      "aliases": [
        "CVE-2025-54366",
        "GHSA-vcc2-6r66-gvvj"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/freescout-help-desk/freescout",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "cf2f488aaf8e30990f45bd1fd70135d5ca5711a8"
                },
                {
                  "fixed": "9669c57f1ddbee896752d9e16270abfd97b20eb9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:freescout:freescout:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.8.86"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9669c57f1ddbee896752d9e16270abfd97b20eb9"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.8.85",
            "1.8.84",
            "1.8.83",
            "1.8.82",
            "1.8.81",
            "1.8.80",
            "1.8.79",
            "1.8.78",
            "1.8.77",
            "1.8.76",
            "1.8.75",
            "1.8.74",
            "1.8.73",
            "1.8.72",
            "1.8.71",
            "1.8.70",
            "1.8.69",
            "1.8.68",
            "1.8.67",
            "1.8.66",
            "1.8.65",
            "1.8.63",
            "1.8.62",
            "1.8.61",
            "1.8.60",
            "1.8.59",
            "1.8.58",
            "1.8.57",
            "1.8.56",
            "1.8.55",
            "1.8.54",
            "1.8.53",
            "1.8.52",
            "1.8.51",
            "1.8.50",
            "1.8.49",
            "1.8.48",
            "1.8.47",
            "1.8.46",
            "1.8.45",
            "1.8.44",
            "1.8.43",
            "1.8.42",
            "1.8.41",
            "1.8.40",
            "1.8.39",
            "1.8.38",
            "1.8.37",
            "1.8.36",
            "1.8.35",
            "1.8.34",
            "1.8.33",
            "1.8.32",
            "1.8.31",
            "1.8.30",
            "1.8.29",
            "1.8.28",
            "1.8.27",
            "1.8.26",
            "1.8.25",
            "1.8.24",
            "1.8.23",
            "1.8.22",
            "1.8.21",
            "1.8.20",
            "1.8.19",
            "1.8.18",
            "1.8.17",
            "1.8.16",
            "1.8.15",
            "1.8.14",
            "1.8.13",
            "1.8.12",
            "1.8.11",
            "1.8.10",
            "1.8.9",
            "1.8.8",
            "1.8.7",
            "1.8.6",
            "1.8.5",
            "1.8.4",
            "1.8.3",
            "1.8.2",
            "1.8.1",
            "1.8.0",
            "1.7.30",
            "1.7.29",
            "1.7.28",
            "1.7.27",
            "1.7.26",
            "1.7.25",
            "1.7.24",
            "1.7.23",
            "1.7.22",
            "1.7.21",
            "1.7.20",
            "1.7.19",
            "1.7.18",
            "1.7.17",
            "1.7.16",
            "1.7.15",
            "1.7.14",
            "1.7.13",
            "1.7.12",
            "1.7.11",
            "1.7.10",
            "1.7.9",
            "1.7.7",
            "1.7.6",
            "1.7.5",
            "1.7.4",
            "1.7.3",
            "1.7.2",
            "1.7.1",
            "1.7.0",
            "1.6.20",
            "1.6.19",
            "1.6.18",
            "1.6.17",
            "1.6.16",
            "1.6.15",
            "1.6.14",
            "1.6.13",
            "1.6.12",
            "1.6.11",
            "1.6.10",
            "1.6.9",
            "1.6.8",
            "1.6.7",
            "1.6.6",
            "1.6.5",
            "1.6.4",
            "1.6.3",
            "1.6.2",
            "1.6.1",
            "1.6.0",
            "1.5.15",
            "1.5.14",
            "1.5.13",
            "1.5.12",
            "1.5.11",
            "1.5.10",
            "1.5.9",
            "1.5.8",
            "1.5.7",
            "1.5.6",
            "1.5.5",
            "1.5.4",
            "1.5.3",
            "1.5.2",
            "1.5.1",
            "1.5.0",
            "1.4.12",
            "1.4.11",
            "1.4.10",
            "1.4.9",
            "1.4.8",
            "1.4.7",
            "1.4.6",
            "1.4.4",
            "1.4.3",
            "1.4.2",
            "1.4.1",
            "1.4.0",
            "1.3.19",
            "1.3.18",
            "1.3.17",
            "1.3.16",
            "1.3.15",
            "1.3.14",
            "1.3.13",
            "1.3.12",
            "1.3.11",
            "1.3.10",
            "1.3.9",
            "1.3.8",
            "1.3.7",
            "1.3.6",
            "1.3.5",
            "1.3.4",
            "1.3.3",
            "1.3.2",
            "1.3.1",
            "1.3.0",
            "1.2.6",
            "1.2.5",
            "1.2.4",
            "1.2.3",
            "1.2.2",
            "1.2.1",
            "1.2.0",
            "1.1.10",
            "1.1.9",
            "1.1.8",
            "1.1.7",
            "1.1.6",
            "1.1.5",
            "1.1.4",
            "1.1.3",
            "1.1.2",
            "1.1.1",
            "1.1.0",
            "1.0.9",
            "1.0.8",
            "1.0.7",
            "1.0.6",
            "1.0.5",
            "1.0.4",
            "1.0.3",
            "1.0.2",
            "1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54366.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.911768200Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54366.json",
        "https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-vcc2-6r66-gvvj",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-54366",
        "https://github.com/freescout-help-desk/freescout/commit/9669c57f1ddbee896752d9e16270abfd97b20eb9"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-502"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54366.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-54366",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492313,
  "published_at": "2025-07-26T03:35:17.444+00:00"
}