# CVE-2026-129968: Unauthenticated template injection in LiteSpeed Cache Plugin for Prestashop (before 1.6.2)

> CERT Polska (CNA) reports that the LiteSpeed Cache Plugin for Prestashop does not verify the authenticity of the 'pd' parameter and uses it to render a template without checking it is a real .tpl file, letting an unauthenticated attacker make the server process attacker-supplied content and potentially take full control of the store and reach customer and payment data. The CNA scored it CVSS 4.0 9.3 (Critical); fixed in 1.6.2 (released 2026-10-30 as an 'Emergency Security Update').

- **Published:** 2026-11-25T18:34:20Z
- **Last reviewed:** 2026-11-25T18:34:20Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6879
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-6879.png
- **ID:** TL-2026-6879
- **Severity:** CRITICAL (CVSS 9.3)
- **Category:** VULNERABILITY
- **Status:** MONITORING
- **Detections:** 9 (1 shown free below) · **IOCs:** 15 (2 shown free below)
- **CVEs:** CVE-2026-129968

## Description

CVE-2026-129968 is an improper neutralization of special elements used in a template engine (CWE-1336) in the LiteSpeed Cache Plugin for Prestashop (LSCPS), published by CERT Polska (the CVE Numbering Authority) on 2026-11-25 after a coordinated report. All versions before 1.6.2 are affected; the issue is fixed in 1.6.2.

Per the CERT Polska advisory and the CVE record, the plugin does not verify the authenticity of the 'pd' request parameter and uses it to render a template without checking that the value refers to a genuine .tpl file. An unauthenticated remote attacker can send crafted requests so that the server processes attacker-supplied content. CERT Polska states this could result in full control of the store and access to customer and payment data. The CNA scored the flaw CVSS v4.0 9.3 CRITICAL (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N): network-reachable, low complexity, no privileges, no user interaction, high confidentiality/integrity/availability impact on the vulnerable system. CISA's Vulnrichment (ADP) SSVC entry, timestamped 2026-11-25, records Exploitation: none, Automatable: yes, Technical Impact: total.

Vendor-side context: the LSCPS GitHub release v1.6.2, published 2026-10-30 and titled 'Emergency Security Update', lists these security items: improved security against ESI URL injections; signing the raw pd value with the shop secret and installation-specific context; ignoring POST values in ESI handling; filtering invalid ESI template arguments; and filtering invalid ESI hook method arguments. This indicates the 'pd' parameter belongs to the plugin's ESI (Edge Side Includes) handling, which is the one feature that distinguishes the module (README: the only PrestaShop cache module supporting esi:include and esi:inline). The release notes do not name the CVE, so linking the release items to this CVE is an analyst inference from matching the 'pd' wording. Notably, the fix therefore shipped 26 days before the CVE was published, so stores that patched promptly for the emergency update are already protected. Note that the OpenLiteSpeed server does not work with this module because it lacks ESI support; the module targets LiteSpeed Web Server / Web ADC.

Gaps and caveats: the advisory does not publish the code path, request format or payloads; no public proof of concept or in-the-wild exploitation is reported (SSVC: none). The CVE record carries a tag 'x_known-exploited-vulnerability' that conflicts with the SSVC 'none' value and the absence from the CISA KEV pages checked; it is treated as unverified. One CNA-listed reference tagged 'patch' (commit d2b0835) only changes cache-purge calls in litespeedcache.php and does not touch pd/ESI/template handling, so it should not be used as the fix indicator; the security changes appear in the v1.6.2 release (tag commit e88c9f6). Reported by Karol Susicki of DIVEZONE.PL. Defenders should upgrade to 1.6.2 or later, and review web server logs for requests to the plugin's ESI endpoints carrying an unexpected 'pd' parameter.

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1059 Command and Scripting Interpreter
- T1505.003 Server Software Component: Web Shell
- T1005 Data from Local System
- T1565 Data Manipulation

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**LiteSpeed Cache PrestaShop pd Parameter Injection (CVE-2026-129968) — Exploitation** (`TL-2026-6879-SPL-001`)

Behavior-first hunt in web access logs for requests to the PrestaShop LiteSpeed Cache module (litespeedcache) whose 'pd' parameter carries stream wrappers, template/shell metacharacters, traversal, code keywords, a NUL byte, double URL-encoding, or arrives via POST. CVE-2026-129968 (CVSS 4.0 9.3, CWE-1336) lets unauthenticated attackers have the server render attacker-supplied content through 'pd' in versions before 1.6.2 instead of a genuine .tpl file. The advisory publishes no payload or endpoint, so markers are inferred from the vulnerability class and the 1.6.2 ESI hardening notes (pd signing, POST ignored, ESI template/hook argument filtering).

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1190, T1059, T1027
- **Data sources:** web access logs (index=web, sourcetype=access_combined / apache:access), CommonSecurityLog (WAF/proxy), AzureDiagnostics ApplicationGatewayAccessLog
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
index=web earliest=-24h (sourcetype=access_combined OR sourcetype=apache:access) "litespeedcache" "pd="
| rex field=_raw "^(?<client_ip>[0-9a-fA-F:.]+) "
| rex field=_raw "(?<http_method>GET|POST|HEAD|PUT|PATCH) (?<req_url>[^ ]+) HTTP/[0-9.]+. (?<status>[0-9]{3})"
| eval dec_url=urldecode(urldecode(req_url))
| rex field=dec_url "[?&]pd=(?<pd_value>[^&]*)"
| where isnotnull(pd_value) AND pd_value!=""
| eval marker=case(match(pd_value,"(?i)(php|file|data|phar|expect|zip|glob)://"),"stream_wrapper", match(pd_value,"[{}$|;]"),"template_or_shell_chars", match(pd_value,"[.][.]/"),"path_traversal", match(pd_value,"(?i)(smarty|eval|system|passthru|shell_exec|base64_decode|exec[(])"),"code_keywords", match(req_url,"(?i)%00"),"null_byte", http_method="POST","post_with_pd")
| eval evasion=if(match(req_url,"(?i)%25[0-9a-f]{2}"),"double_url_encoding",null())
| where isnotnull(marker) OR isnotnull(evasion)
| stats count min(_time) as first_seen max(_time) as last_seen values(http_method) as methods values(status) as statuses values(marker) as markers values(evasion) as evasion values(pd_value) as pd_samples by client_ip host
| convert ctime(first_seen) ctime(last_seen)
| eval cve_ref="CVE-2026-129968", technique="T1190,T1059,T1027"
```

### Microsoft KQL

```kql
union isfuzzy=true
  (CommonSecurityLog
   | where TimeGenerated > ago(24h)
   | where RequestURL has "litespeedcache" and RequestURL has "pd="
   | project TimeGenerated, Client = SourceIP, Method = RequestMethod, Url = RequestURL, Src = "CommonSecurityLog"),
  (AzureDiagnostics
   | where TimeGenerated > ago(24h)
   | where Category == "ApplicationGatewayAccessLog"
   | where requestUri_s has "litespeedcache" and requestUri_s has "pd="
   | project TimeGenerated, Client = clientIP_s, Method = httpMethod_s, Url = requestUri_s, Src = "AzureDiagnostics")
| extend DecodedUrl = url_decode(url_decode(Url))
| extend PdValue = extract(@"[?&]pd=([^&]*)", 1, DecodedUrl)
| where isnotempty(PdValue)
| extend Marker = case(
    PdValue matches regex @"(?i)(php|file|data|phar|expect|zip|glob)://", "stream_wrapper",
    PdValue matches regex @"[{}$|;]", "template_or_shell_chars",
    PdValue has "../", "path_traversal",
    PdValue matches regex @"(?i)(smarty|eval|system|passthru|shell_exec|base64_decode|exec[(])", "code_keywords",
    Url has "%00", "null_byte",
    Method =~ "POST", "post_with_pd",
    "")
| extend Evasion = iff(Url matches regex @"(?i)%25[0-9a-f]{2}", "double_url_encoding", "")
| where Marker != "" or Evasion != ""
| project TimeGenerated, Client, Method, Url, PdValue, Marker, Evasion, Src
```

### Sigma

```yaml
title: LiteSpeed Cache for PrestaShop pd Parameter Template Injection Attempt (CVE-2026-129968)
id: a3f1c2d4-6b7e-4f08-9c1a-5d2e8b7f4a01
status: experimental
description: Detects requests to the PrestaShop LiteSpeed Cache module carrying a pd parameter with template-injection, stream-wrapper, traversal, code or double-encoding markers. CVE-2026-129968 (CWE-1336) lets an unauthenticated attacker make the server render attacker-supplied content via pd instead of a genuine .tpl file. The exact endpoint and payload are not published, so markers are analyst-derived.
references:
  - https://cert.pl/en/posts/2026/11/CVE-2026-129968/
  - https://www.cve.org/CVERecord?id=CVE-2026-129968
  - https://github.com/litespeedtech/lscache_prestashop/releases/tag/v1.6.2
author: Threadlinqs Team
date: 2026-11-25
tags:
  - attack.initial-access
  - attack.execution
  - attack.defense-evasion
  - attack.t1190
  - attack.t1059
  - attack.t1027
  - cve.2026.129968
logsource:
  category: webserver
detection:
  selection_module:
    c-uri|contains: 'litespeedcache'
  selection_pd:
    c-uri|contains: 'pd='
  selection_markers:
    c-uri|contains:
      - 'php://'
      - 'file://'
      - 'phar://'
      - 'data://'
      - '%7B'
      - '%24%7B'
      - '../'
      - '..%2f'
      - '%252e'
      - '%252f'
      - '%2524'
      - '%257b'
      - '%00'
      - 'smarty'
      - 'system('
      - 'shell_exec'
      - 'base64_decode'
  condition: selection_module and selection_pd and selection_markers
falsepositives:
  - Vulnerability scanners and authorized penetration tests against the store
  - Unusual but legitimate signed ESI values containing encoded characters
level: high

```

**Known false positives:**

- Authorized vulnerability scanners or penetration tests hitting the module endpoint
- Legitimate encoded/signed ESI pd values that contain ';' or '|' characters after URL decoding

**Tuning notes:** Point index/sourcetype at the actual LiteSpeed/Apache access log. Baseline normal pd values on a patched 1.6.2 staging store and tighten markers accordingly; allowlist scanner IPs. Raise to critical if the host is confirmed running a version before 1.6.2 (check modules/litespeedcache/litespeedcache.php version or the e88c9f6 tag commit).

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- LiteSpeed Cache PrestaShop pd Probing and Fuzzing (CVE-2026-129968) — Exploitation (locked: unlock with TL Creds)
- PrestaShop Smarty .tpl Tampering by Web Process — Post-Exploitation Data Manipulation (locked: unlock with TL Creds)
- Web Process Launching Downloader or Reverse-Shell Tooling — Ingress Tool Transfer (locked: unlock with TL Creds)
- LiteSpeed Cache PrestaShop Smarty Template Errors (CVE-2026-129968) — Exploitation (locked: unlock with TL Creds)
- PrestaShop Credential File and Data Collection via Web Process — Post-Exploitation (locked: unlock with TL Creds)
- Web Process Outbound Connection on Non-Standard Port — C2 Activity (locked: unlock with TL Creds)
- PHP Web Shell Written to PrestaShop Writable Paths — Post-Exploitation Persistence (locked: unlock with TL Creds)
- Web Server or PHP Process Spawning Unix Shell or Recon Commands — Execution After Exploitation (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (2 of 15)

Defanged, TLP:CLEAR.

- File hash: `e88c9f6fcea75541afd5b7ef79480b7d8b07753e`
- File hash: `d2b08357f78d2948497f27d9420930bcaebecdca`

Full set of 15 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [CERT Polska: Vulnerability in LiteSpeed Cache Plugin for Prestashop software](https://cert.pl/en/posts/2026/11/CVE-2026-129968/)
- [CVE-2026-129968 CVE record](https://www.cve.org/CVERecord?id=CVE-2026-129968)
- [NVD: CVE-2026-129968](https://nvd.nist.gov/vuln/detail/CVE-2026-129968)
- [CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine](https://cwe.mitre.org/data/definitions/1336.html)
- [CERT Polska Coordinated Vulnerability Disclosure program](https://cert.pl/en/cvd/)
- [LiteSpeed Cache Plugin for Prestashop (vendor GitHub repository)](https://github.com/litespeedtech/lscache_prestashop)
- [LSCPS v1.6.2 release: Emergency Security Update](https://github.com/litespeedtech/lscache_prestashop/releases/tag/v1.6.2)
- [LiteSpeed Cache for PrestaShop module download page (1.6.2)](https://www.litespeedtech.com/products/cache-plugins/prestashop-acceleration/download)
- [LiteSpeed Cache for PrestaShop documentation](https://docs.litespeedtech.com/lscache/lscps/)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6879
