Intel

AIKIDO-2026-390308

fonttools is vulnerable to Path Traversal

Path Traversal Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Yesterday

65

Medium Risk

This Affects:

PYTHONfonttools
4.59.0 - 4.63.0
Fixed in 4.64.0
Are you affected? Scan for Free

TL;DR

The vendored fontTools.misc.filesystem module builds filesystem paths from names taken directly from UFO sources without checking that they stay inside the intended root. A malicious UFO can use .. components in its contents.plist to read files anywhere on disk, and a crafted .ufoz archive can create files outside its temporary mirror. This yields path traversal with arbitrary file read and file creation when an application processes an untrusted font source. The fix rejects any member path that resolves outside the filesystem root.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application reads untrusted UFO or .ufoz font sources.

Background info

fonttools is vulnerable to Path Traversal in versions 4.59.0 - 4.63.0.

How to fix this

Upgrade the fonttools library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform