Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.
"https://github.com/pypa/advisory-database/blob/main/vulns/mako/PYSEC-2022-260.yaml"