Skip to content

fix: upgrade mako to 1.3.12 (CVE-2026-44307)#9205

Closed
orbisai0security wants to merge 1 commit into
ElementsProject:masterfrom
orbisai0security:fix-cve-2026-44307-mako
Closed

fix: upgrade mako to 1.3.12 (CVE-2026-44307)#9205
orbisai0security wants to merge 1 commit into
ElementsProject:masterfrom
orbisai0security:fix-cve-2026-44307-mako

Conversation

@orbisai0security

Copy link
Copy Markdown

Summary

Upgrade mako from 1.3.11 to 1.3.12 to fix CVE-2026-44307.

Vulnerability

Field Value
ID CVE-2026-44307
Severity HIGH
Scanner trivy
Rule CVE-2026-44307
File uv.lock
Assessment Likely exploitable

Description: Mako vulnerable to path traversal via backslash URI on Windows in TemplateLookup

Evidence

Scanner confirmation: trivy rule CVE-2026-44307 flagged this pattern.

Production code: This file is in the production codebase, not test-only code.

Threat Model Context

This is a web service - vulnerabilities in request handlers are directly exploitable by remote attackers.

Changes

  • pyproject.toml
  • uv.lock

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.


Automated security fix by OrbisAI Security

Automated dependency upgrade by OrbisAI Security
@nGoline

nGoline commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the report, but this CVE does not apply to CLN's usage of Mako.
CLN is not a web service and Mako is used exclusively as a build-time code generation tool in contrib/msggen/, processing static developer-controlled templates. The path traversal via backslash on Windows in TemplateLookup requires user-supplied template paths on a Windows host, neither of which applies here.

@nGoline nGoline closed this Jun 11, 2026
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.

2 participants