dependabot[bot] opened a new pull request, #45188: URL: https://github.com/apache/superset/pull/45188
Bumps [mako](https://github.com/sqlalchemy/mako) from 1.4.1 to 1.4.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sqlalchemy/mako/releases">mako's releases</a>.</em></p> <blockquote> <h1>1.4.3</h1> <p>Released: Tue Sep 22 2026</p> <h2>bug</h2> <ul> <li> <p><strong>[bug] [tests]</strong> Fixed regression caused in 1.4.2 where tests added to the suite were unable to run directly on Windows, due to posix mechanics: the tests force <code>os.path</code> to <code>posixpath</code>, whereas <code>TemplateLookup.get_template()</code> converts the configured directory using <code>os.path.sep</code>. These tests are now skipped on that platform, where the traversal check is instead exercised against <code>ntpath</code> natively.</p> <p>References: <a href="https://redirect.github.com/sqlalchemy/mako/issues/441">#441</a></p> </li> </ul> <h1>1.4.2</h1> <p>Released: Tue Sep 22 2026</p> <h2>bug</h2> <ul> <li> <p><strong>[bug] [tests]</strong> Adjusted the test suite to accommodate for a change in Pygments 2.21.0 where the <code>HtmlFormatter</code> now renders <code>"</code> and <code>'</code> characters literally rather than as HTML entities, which caused failures in tests that assert against the rendered output of <code>html_error_template()</code>.</p> <p>References: <a href="https://redirect.github.com/sqlalchemy/mako/issues/440">#440</a></p> </li> <li> <p><strong>[bug] [template]</strong> Fixed issue in <code>TemplateLookup</code> where a URI beginning with a drive designator (e.g. <code>C:/../../secret.txt</code>) could bypass the directory traversal check on Windows, allowing reads of arbitrary files outside of the template directory. The check in <code>Template</code> normalized the URI using <code>os.path</code>, which on Windows is <code>ntpath</code>; as <code>ntpath</code> splits the drive designator off and treats the remainder as rooted, the <code>..</code> segments were absorbed before the check could inspect them. Normalization is now performed with <code>posixpath</code>, which is the same module used by <code>TemplateLookup.get_template()</code> to resolve the URI to a file.</p> <p>References: <a href="https://redirect.github.com/sqlalchemy/mako/issues/441">#441</a></p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/sqlalchemy/mako/commits">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
