fix(data): correct semantic errors in 6 n8n entry annotations#21
Open
xiaobaicai66695 wants to merge 1 commit into
Open
fix(data): correct semantic errors in 6 n8n entry annotations#21xiaobaicai66695 wants to merge 1 commit into
xiaobaicai66695 wants to merge 1 commit into
Conversation
Fix misplaced entry_point, critical_operation, and trace fields for n8n-related entries that were flagged during human review (verify=0). Changes per entry: entry-00099 (CVE-2026-1470, with-statement bypass): critical_operation: expression-sandboxing.ts:244 → expression.ts:472 A sanitizer function declaration is a defense mechanism, not the vulnerability trigger. Moved to the code execution sink where the bypassed expression is compiled and executed. entry-00100 (CVE-2026-1470, __sanitize shadowing bypass): critical_operation: expression-sandboxing.ts:330-336 → expression.ts:472 Same rationale: sanitizer function body → shared RCE sink. entry-00103 (CVE-2026-25051, webhook XSS/CSP bypass): entry_point: webhook-helpers.ts:615 (closing brace '}') → webhook-request-handler.ts:148 (user header injection) critical_operation: html-sandbox.ts:20 (toLowerCase bug line) → webhook-request-handler.ts:153 (CSP bypass decision) Closing brace had no semantic value. CSP skip decision point better represents where the vulnerability manifests. entry-00176 (CVE-2026-27494, Python __objclass__ sandbox escape): critical_operation: constants.py:126 (BLOCKED_ATTRIBUTES = {) → task_analyzer.py:63 (visit_Attribute method) A static set literal is data, not an operation. Moved to the actual security check that uses this incomplete blocklist. entry-00511 (CVE-2026-25049, extend→constructor path A): entry_point: expression.ts:485 (data.extend = extend) → expression.ts:451 (resolveSimpleParameterValue) Internal sandbox capability registration is not an external input boundary. Moved to the user-expression entry point. entry-00512 (CVE-2026-25049, __sanitize overwrite path B): entry_point: expression.ts:524 (renderExpression) → expression.ts:451 (resolveSimpleParameterValue) Internal bridge method is not an external input boundary. All line numbers verified against the 4 vulnerable commits in github.com/n8n-io/n8n. verify flag set to 1 for all 6 entries. SCHEMA.md invariants preserved.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix misplaced entry_point, critical_operation, and trace fields for n8n-related entries that were flagged during human review (verify=0).
Changes per entry:
entry-00099 (CVE-2026-1470, with-statement bypass):
critical_operation: expression-sandboxing.ts:244 → expression.ts:472
A sanitizer function declaration is a defense mechanism, not the
vulnerability trigger. Moved to the code execution sink where the
bypassed expression is compiled and executed.
entry-00100 (CVE-2026-1470, __sanitize shadowing bypass):
critical_operation: expression-sandboxing.ts:330-336 → expression.ts:472
Same rationale: sanitizer function body → shared RCE sink.
entry-00103 (CVE-2026-25051, webhook XSS/CSP bypass):
entry_point: webhook-helpers.ts:615 (closing brace '}')
→ webhook-request-handler.ts:148 (user header injection)
critical_operation: html-sandbox.ts:20 (toLowerCase bug line)
→ webhook-request-handler.ts:153 (CSP bypass decision)
Closing brace had no semantic value. CSP skip decision point better
represents where the vulnerability manifests.
entry-00176 (CVE-2026-27494, Python objclass sandbox escape):
critical_operation: constants.py:126 (BLOCKED_ATTRIBUTES = {)
→ task_analyzer.py:63 (visit_Attribute method)
A static set literal is data, not an operation. Moved to the actual
security check that uses this incomplete blocklist.
entry-00511 (CVE-2026-25049, extend→constructor path A):
entry_point: expression.ts:485 (data.extend = extend)
→ expression.ts:451 (resolveSimpleParameterValue)
Internal sandbox capability registration is not an external input
boundary. Moved to the user-expression entry point.
entry-00512 (CVE-2026-25049, __sanitize overwrite path B):
entry_point: expression.ts:524 (renderExpression)
→ expression.ts:451 (resolveSimpleParameterValue)
Internal bridge method is not an external input boundary.
All line numbers verified against the 4 vulnerable commits in github.com/n8n-io/n8n. verify flag set to 1 for all 6 entries. SCHEMA.md invariants preserved.