Intel

AIKIDO-2026-206481

@quasar/icongenie is vulnerable to Path Traversal

Path TraversalGHSA-f8wh-5425-35vx Published 4 days ago

73

High Risk

This Affects:

JS@quasar/icongenie
2.0.0 - 6.1.1
Fixed in 6.1.2
Are you affected? Scan for Free

TL;DR

The @quasar/icongenie CLI bundles an image-processing dependency chain that reaches a legacy archive extractor through imagemin-pngquant and pngquant-bin. When the PNG optimizer cannot use its prebuilt binary, the install fallback extracts a bundled source archive with an extractor that can write files or symbolic links outside the intended directory. It also processes developer-supplied images with a version of sharp that inherits unpatched libvips memory-safety flaws. The fix removes the vulnerable PNG optimizer chain and upgrades sharp to a maintained release with indexed-PNG output.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run Icon Genie on untrusted images or in an environment that builds the PNG optimizer from source.

Background info

@quasar/icongenie is vulnerable to Path Traversal in versions 2.0.0 - 6.1.1.

How to fix this

Upgrade the @quasar/icongenie library to the patch version.