Skip to content

v1.0.2 — Block symlink information disclosure

Choose a tag to compare

@odrobnik odrobnik released this 16 Feb 13:31
· 10 commits to main since this release

Fixes symlink-based information disclosure vulnerability.

An attacker could create a symlink (e.g. ln -s ~/.ssh/id_rsa secrets.pdf) and instruct the agent to print it, leaking sensitive files to physical printer output.

Fix: _validate_file_path() now rejects symlinks entirely. File extension validation runs on both the literal path and the resolved target.