WaratekVRT Sign in

CVE-2019-19899 Pebble Templates

Affected softwarePebble Templates
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in3.1.4
WeaknessMissing authorization (CWE-862)
Published19 Dec 2019
Updated17 Jun 2026

Description

Pebble Templates 3.1.2 allows attackers to bypass a protection mechanism (intended to block access to instances of java.lang.Class) because getClass is accessible via the public static java.lang.Class java.lang.Class.forName(java.lang.Module,java.lang.String) signature.

CWE-20 · Improper input validation

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 6 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.3% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR reflection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's description identifies a Class.forName vulnerability. Matched by description (CWE-862, CWE-20 were assigned, but none settles the class on its own).

How to mitigate CVE-2019-19899

Upgrade Pebble Templates to 3.1.4 or later. Until you can, Waratek RASP blocks exploitation with its reflection rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 7.5 none AV:N/AC:L/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
io.pebbletemplates:pebble-project 0 3.1.4 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv io.pebbletemplates pebble-project generic < 3.1.4
nvd pebbletemplates pebble templates generic 3.1.2

References

URLTags
https://github.com/PebbleTemplates/pebble/issues/493 WEB
https://github.com/PebbleTemplates/pebble/pull/511 WEB
https://github.com/PebbleTemplates/pebble PACKAGE
https://research.securitum.com/server-side-template-injection-on-the-example-of-pebble WEB

Timeline

Published2019-12-19By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.