Skip to content

fix(security): Fix security issue in handlebars via minor version upgrade from 4.7.8 to 4.7.9#1708

Draft
aikido-autofix[bot] wants to merge 1 commit intomainfrom
fix/aikido-security-update-packages-22967955-slza
Draft

fix(security): Fix security issue in handlebars via minor version upgrade from 4.7.8 to 4.7.9#1708
aikido-autofix[bot] wants to merge 1 commit intomainfrom
fix/aikido-security-update-packages-22967955-slza

Conversation

@aikido-autofix
Copy link
Copy Markdown
Contributor

Upgrade Handlebars to fix critical RCE via AST injection, medium proto-access bypass, and low TOCTOU property lookup vulnerability.

✅ 3 CVEs resolved by this upgrade, including 1 critical 🚨 CVE

This PR will resolve the following CVEs:

Issue Severity           Description
CVE-2026-33937
🚨 CRITICAL
[handlebars] A vulnerability in Handlebars.compile() allows attackers to inject arbitrary JavaScript through crafted AST objects, enabling Remote Code Execution when the NumberLiteral value field is emitted without sanitization.
GHSA-7rx3-28cr-v5wh
MEDIUM
[handlebars] A prototype method blocklist omits __lookupSetter__ while blocking its symmetric counterparts, allowing prototype pollution when the non-default allowProtoMethodsByDefault: true option is set. This creates an inconsistent security boundary enabling potential code execution or object manipulation through template injection.
GHSA-442j-39wm-28r2
LOW
[handlebars] A Time-of-Check Time-of-Use (TOCTOU) vulnerability in the lookup() function allows prototype pollution and property access bypass when the compat option is enabled, potentially leading to information disclosure or code execution. The security check via lookupProperty() is discarded, and an unguarded property access is performed instead.

@aikido-autofix aikido-autofix Bot added the Aikido Label created by Aikido AutoFix label Apr 13, 2026
@lifi-action-bot lifi-action-bot marked this pull request as draft April 13, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Aikido Label created by Aikido AutoFix AuditNotRequired

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant