Mako
Monthly
Arbitrary file read in Mako (the Python template library maintained under the SQLAlchemy project) affects all versions prior to 1.3.11, where TemplateLookup.get_template() mishandles URIs beginning with a double slash (e.g. //../../../etc/passwd). Because get_template() strips all leading slashes while Template.__init__ stripped only one, the 'relative outside of root' safety check is bypassed, letting any file readable by the process be returned as rendered template content when an application feeds untrusted input into get_template(). CVSS 4.0 rates it 7.7 (confidentiality-only); it is not in CISA KEV and EPSS is very low (0.05%), but the CVSS exploit-maturity flag E:P and the vendor's published test cases indicate proof-of-concept exploit code exists.
Path traversal in Mako before 1.4.2 on Windows allows an application that passes attacker-controlled template names or include paths to TemplateLookup.get_template() to read process-readable files outside the configured template directory, and in limited cases to parse and execute a targeted same-volume file as a Mako template. The flaw is unauthenticated per the CVSS vector (AV:N/PR:N) but high-complexity (AC:H) because the malicious URI must reach the lookup un-normalized - realistic channels are query strings, form/JSON bodies, route parameters, and dynamic include expressions - and Windows-only, since Linux/macOS use posixpath consistently; publicly available exploit code exists, with no CISA KEV listing. CISA's SSVC rates exploitation as PoC, automatable: no, technical impact partial, making this a real but conditional issue concentrated in Windows deployments that echo raw user input into template resolution.
Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.
Arbitrary file read in Mako (the Python template library maintained under the SQLAlchemy project) affects all versions prior to 1.3.11, where TemplateLookup.get_template() mishandles URIs beginning with a double slash (e.g. //../../../etc/passwd). Because get_template() strips all leading slashes while Template.__init__ stripped only one, the 'relative outside of root' safety check is bypassed, letting any file readable by the process be returned as rendered template content when an application feeds untrusted input into get_template(). CVSS 4.0 rates it 7.7 (confidentiality-only); it is not in CISA KEV and EPSS is very low (0.05%), but the CVSS exploit-maturity flag E:P and the vendor's published test cases indicate proof-of-concept exploit code exists.
Path traversal in Mako before 1.4.2 on Windows allows an application that passes attacker-controlled template names or include paths to TemplateLookup.get_template() to read process-readable files outside the configured template directory, and in limited cases to parse and execute a targeted same-volume file as a Mako template. The flaw is unauthenticated per the CVSS vector (AV:N/PR:N) but high-complexity (AC:H) because the malicious URI must reach the lookup un-normalized - realistic channels are query strings, form/JSON bodies, route parameters, and dynamic include expressions - and Windows-only, since Linux/macOS use posixpath consistently; publicly available exploit code exists, with no CISA KEV listing. CISA's SSVC rates exploitation as PoC, automatable: no, technical impact partial, making this a real but conditional issue concentrated in Windows deployments that echo raw user input into template resolution.
Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.