Skip to content

fix(data): correct semantic errors in 6 n8n entry annotations#21

Open
xiaobaicai66695 wants to merge 1 commit into
Tencent:mainfrom
xiaobaicai66695:fix-n8n-entries
Open

fix(data): correct semantic errors in 6 n8n entry annotations#21
xiaobaicai66695 wants to merge 1 commit into
Tencent:mainfrom
xiaobaicai66695:fix-n8n-entries

Conversation

@xiaobaicai66695

Copy link
Copy Markdown

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant