Hackers Exploit macOS ß vs ss Filename Trick to Bypass Developer Tool Security Checks

Blog WriterCybersecurity News - Original News Source is cybersecuritynews.com


A Unicode normalization flaw allows attackers to bypass macOS file exclusion checks, affecting Deno, libarchive, HashiCorp go-slug, and Python setuptools across four CVEs.

The flaw comes from two parts of the system disagreeing about what a file name is. Apple File System (APFS) resolves paths in a way that treats different Unicode spellings of one name as the same file.

The affected tools compare paths as raw bytes. A byte comparison sees “ß” and “ss” as different strings, while the file system sends both to the same file on disk.

An attacker uses this gap. They give a tool a path spelled in a form that misses its exclusion rule or deny list. The tool allows the path. APFS then resolves it to the protected file.

CERT/CC says a local attacker can overwrite files anywhere the process has write access. That can lead to data corruption, configuration hijacking, or code execution.

Hackers Exploit ß vs ss macOS Flaw

CVE-2026-45110 affects libarchive. It has a file-overwrite bypass and a directory-exclusion bypass. An attacker can place a look-alike name, such as a variant of “password,” in an archive. APFS treats the entry as /etc/passwd, and the extraction silently overwrites it.

CVE-2026-49401 affects Deno. Its permission system checks a requested path against values passed to –deny-read, –deny-write, –deny-run, and –deny-ffi on macOS, and that check used raw-byte matching. A different Unicode spelling of a denied path could pass the check, even though APFS treats it as the same file.

CVE-2026-14978 affects HashiCorp go-slug. Path matching handled Unicode normalization badly, so an attacker with local filesystem access could bypass .terraformignore rules. Sensitive files could then end up in Terraform slug uploads.

CVE-2026-59890 affects setuptools. Before version 83.0.0, FileList applied MANIFEST.in directives such as exclude, global-exclude, recursive-exclude and prune by matching glob patterns against on-disk names without normalization.

On APFS or HFS+, a file name in NFD form could slip past an exclusion rule written in NFC form. The file would then be packed into a source distribution. Version 83.0.0 fixes it.

CERT/CC also opened a general tracker, VU#604762.8, for a related problem. On case-insensitive or normalization-insensitive file systems, some libraries fail to lock colliding paths like ß and ss. Both paths can then be processed in parallel during archive extraction. That creates a race, and a protected file can be overwritten.

The risk is highest in automated workflows. CERT/CC says backup tools, forensic workflows, and CI/CD pipelines are exposed to unwanted file changes. A poisoned archive or package could corrupt build steps. A weak exclusion rule could also push secrets into a published artifact.

This is not the first time Unicode handling has caused trouble. We covered a DNN Unicode normalization bypass earlier this year. We have also reported on a macOS Gatekeeper bypass that shows how Apple’s security layers can be sidestepped when software trusts a path too much.

CERT/CC advises updating affected software to the latest version. Apple is listed as “Not Affected.” Many other vendors, including Docker, Helm, IBM, and Node.js, show an “Unknown” status for now.

Developers should stop comparing paths as raw bytes. Security filters should normalize paths and fold case the way the operating system does, before they compare anything.

Security teams should check which archive and packaging tools run on macOS build hosts and update them. They should also watch for unexpected file writes during extraction. The attack needs local access, and CERT/CC reports no exploitation in the wild.

Give your SOC the alert context on the latest threats to stop incidents quickly -> Integrate Threat Intel from 16K SOCs

The post Hackers Exploit macOS ß vs ss Filename Trick to Bypass Developer Tool Security Checks appeared first on Cyber Security News.