CVE-2022-21648: Sandbox bypass in Latte templates

high Affects latte/latte. Feed 2026.10.29.1, updated 2026-10-28; published ; advisory modified .

Sandbox bypass in Latte templates

Package
latte/latte Composer
Affected versions
>=2.10.0 and <2.10.8 or >=2.9.0 and <2.9.6 or >=2.8.0 and <2.8.8
Fixed in
2.10.8, 2.9.6, 2.8.8
Severity
high  CVSS 8.2
Exploitation
not on CISA KEV · EPSS 1% (57.8th percentile)
Published
2022-01-06
Source
osv.dev

References

CWE-79
NVD recordlatte/latte advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# one-time install
pip install phpwarden

# then
phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories