SecurityContext

CVE-2022-2636: HestiaCP - Server-Side Template Injection

  • Cve: CVE-2022-2636
  • Name: HestiaCP - Server-Side Template Injection
  • Description: Improper Control of Generation of Code ('Code Injection') in GitHub repository hestiacp/hestiacp prior to 1.6.6.
  • Impact: Attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  • Remediation: Update to version 1.6.6 or later.
  • Vulnerability type: template_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs user interaction or crafted input
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01362
  • Epss percentile: 0.7249
  • Assignee: [email protected]
  • Published at: 2022-08-05T10:15:08Z
  • Age in days: 1572
  • Modified at: 2026-06-17T04:42:15Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-2636
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
https://huntr.dev/bounties/357c0390-631c-4684-b6e1-a6d8b2453d66nvd2022-08-05

References

UrlSourceTags
https://github.com/hestiacp/hestiacp/commit/b178b9719bb2c98cf8a6db70065086f596afad81nvdPatch, Third Party Advisory
https://huntr.dev/bounties/357c0390-631c-4684-b6e1-a6d8b2453d66nvdExploit, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
hestiacp:control_panel< 1.6.6nonvd/v1/products/hestiacp/control_panel

Projects

RepositoryLink kindsIndexedUrl
hestiacp/hestiacpcommit, fixyes/v1/repositories/hestiacp/hestiacp

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-08-05
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 48243
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports