SecurityContext

CVE-2022-37767: Pebble Templates - Remote Code Execution

  • Cve: CVE-2022-37767
  • Name: Pebble Templates - Remote Code Execution
  • Description: Pebble Templates 3.1.5 allows attackers to bypass a protection mechanism and implement arbitrary code execution with springbok. NOTE: the vendor disputes this because input to the Pebble templating engine is intended to include arbitrary Java code, and thus either the input should not arrive from an untrusted source, or else the application using the engine should apply restrictions to the input. The engine is not responsible for validating the input.
  • Impact: Attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  • Remediation: Implement input validation and restrictions on untrusted input to the templating engine, or update to a version with enhanced input handling.
  • Vulnerability type: template_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01509
  • Epss percentile: 0.75093
  • Assignee: [email protected]
  • Published at: 2022-09-12T14:15:09Z
  • Age in days: 1534
  • Modified at: 2026-06-17T04:55:12Z
  • Public exploits total: 2
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-37767
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-863Incorrect Authorization

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://github.com/PebbleTemplates/pebble/issues/625#issuecomment-1282138635nvd2022-09-12
https://github.com/Y4tacker/Web-Security/issues/3nvd2022-09-12

References

UrlSourceTags
https://github.com/PebbleTemplates/pebble/issues/625#issuecomment-1282138635nvdExploit, Issue Tracking, Third Party Advisory
https://github.com/Y4tacker/Web-Security/issues/3nvdExploit, Issue Tracking, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
pebbletemplates:pebble_templates= 3.1.5nonvd/v1/products/pebbletemplates/pebble_templates

Projects

RepositoryLink kindsIndexedUrl
pebbletemplates/pebbleissuesyes/v1/repositories/pebbletemplates/pebble
y4tacker/web-securityissuesyes/v1/repositories/y4tacker/web-security

Index

  • Repositories: 5
  • Repositories high signal: 5
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2022-09-12
  • Remote: yes
  • Hackerone reports: 1
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts