CVE-2026-44307 Mako: Path traversal via backslash URI on Windows in TemplateLookup
설명
Mako is a template library written in Python. Prior to 1.3.12, on Windows, a URI using backslash traversal (e.g. \..\..\ secret.txt) bypasses the directory traversal check in Template.__init__ and the posixpath-based normalization in TemplateLookup.get_template(), allowing reads of files outside the configured template directory. This vulnerability is fixed in 1.3.12.
영향 받는 제품 제품 1개
-
해결 버전 있음
sqlalchemy
mako
영향 받는 버전
- 1.3.12 미만
해결 버전
- 1.3.12 이상
참고 자료 4건
- github.com https://github.com/sqlalchemy/mako/commit/72e10c573ca0fbcbddd4455abca8ce92a61780d7 (새 창)
- github.com https://github.com/sqlalchemy/mako/issues/435 (새 창)
- github.com https://github.com/sqlalchemy/mako/releases/tag/rel_1_3_12 (새 창)
- github.com https://github.com/sqlalchemy/mako/security/advisories/GHSA-2h4p-vjrc-8xpq (새 창)