{
  "id": "cve-2026-82531",
  "title": "Smarty before 4.5.8 and 5.x before 5.8.5 PHP Code Injection via extends: Inheritance Cache",
  "product": "smarty",
  "ai_system": "AISLE AI-native discovery engine (specific model not identified)",
  "organization": "AISLE (self-attributed AI-engine discovery); VulnCheck CNA record",
  "summary": "Smarty before 4.5.8 and 5.x before 5.8.5 contains a code injection vulnerability where the top-level nocache_hash is never restored during extends:/multi-component template inheritance, leaving it null. Attackers can supply assigned data containing a forged SmartyNocache marker that is copied verbatim into the regenerated PHP cache file, executing arbitrary PHP on include for remote code execution.",
  "ai_role": "The primary AISLE CVE-discoveries index explicitly scopes its listed cases as CVEs discovered by its AI-native engine and individually lists CVE-2026-82531. This is AISLE's self-attributed case-specific AI-engine claim. The available sources do not identify a model, establish autonomy or first-discovery priority, or define the human/tool work split.",
  "disclosure_date": "2026-10-06",
  "ai_attribution_date": null,
  "classification": "disclosure",
  "classification_note": "The CNA record gives the public CVE publication date. The checked sources do not establish exploitation in the wild or zero-day status.",
  "cves": [
    "CVE-2026-82531"
  ],
  "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/82xxx/CVE-2026-82531.json",
  "ai_source_url": "https://aisle.com/cve-discoveries/",
  "remediation": "fix documented",
  "remediation_note": "CNA version statements: smarty: 0 < 4.5.8 affected; 5.0.0 < 5.8.5 affected; 4.5.8 unaffected; 5.8.5 unaffected. CNA references a patch: https://github.com/smarty-php/smarty/commit/c0fdd4824aca4f67e814b50703cfee1dfde41414.",
  "advisory_url": "https://github.com/smarty-php/smarty/security/advisories/GHSA-3w63-v7pm-cq9x",
  "checked_date": "2026-11-17",
  "cvss": [
    {
      "cve": "CVE-2026-82531",
      "version": "4.0",
      "score": 9.2,
      "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/82xxx/CVE-2026-82531.json",
      "source_name": "CVE Program CNA record",
      "checked_date": "2026-11-17"
    },
    {
      "cve": "CVE-2026-82531",
      "version": "3.1",
      "score": 8.1,
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/82xxx/CVE-2026-82531.json",
      "source_name": "CVE Program CNA record",
      "checked_date": "2026-11-17"
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2026-82531"
      ],
      "consequences": [
        "code execution"
      ],
      "conditions": "smarty: 0 < 4.5.8 affected; 5.0.0 < 5.8.5 affected; 4.5.8 unaffected; 5.8.5 unaffected",
      "exploitation": "The CNA description establishes the stated technical effect. The checked CNA record does not report exploitation in the wild; no exploitability beyond the description is inferred.",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/82xxx/CVE-2026-82531.json",
      "checked_date": "2026-11-17"
    }
  ]
}
