{
  "id": "CVE-2026-109397",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-109397",
  "published_at": "2026-10-12T15:16:43.107Z",
  "title": "Thelia before 3.1.2 and 3.2.x before 3.2.1 File Upload RCE via Filename Trailing Space",
  "vendor": "Thelia",
  "product": "Thelia",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Thelia before 3.1.2 and 3.2.x before 3.2.1 contains an unrestricted file upload vulnerability that allows authenticated back-office users to upload PHP files by appending a trailing space to filenames. FileProcessorService validates the raw filename but FileManager::sanitizeFileName() strips the space, storing an executable .php file under public/cache/documents/ for code execution as the web server user.",
  "cwe": "CWE-434",
  "cvss_by_source": {
    "cna": 8.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Thelia",
        "product": "Thelia",
        "ranges": [
          "\u003c 3.1.2",
          "\u003e= 3.2.0, \u003c 3.2.1"
        ],
        "fixed_in": [
          "3.1.2",
          "3.2.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Thelia to 3.1.2 or 3.2.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/thelia/thelia/security/advisories/GHSA-5524-qfxp-33v9"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/thelia/thelia/commit/6b706f5cb96e6b12d890c6d16edb1c9d1fd8191a"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/thelia/thelia/commit/b71258902b5dd278007d0f37ddad45f76d06d5bc"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/thelia/thelia/releases/tag/3.1.2"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/thelia/thelia/releases/tag/3.2.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
