Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. zeptoclaw
  4. ›
  5. GHSA-hhjv-jq77-cmvx

GHSA-hhjv-jq77-cmvx: zeptoclaw has Android device shell blocklist bypass via argument permutation

March 5, 2026

zeptoclaw implements a blocklist to prevent dangerous commands running in android device shell, but this blocklist has several blocked commands with argements in the pattern literal, such as rm -f and rm -rf, this can be simply bypassed by using different orders for these arguments, such as rm -r -f or rm -fr etc.

References

  • github.com/advisories/GHSA-hhjv-jq77-cmvx
  • github.com/qhkm/zeptoclaw
  • github.com/qhkm/zeptoclaw/blob/fe2ef07cfec5bb46b42cdd65f52b9230c03e9270/src/tools/android/actions.rs
  • github.com/qhkm/zeptoclaw/commit/68916c3e4f3af107f11940b27854fc7ef517058b
  • github.com/qhkm/zeptoclaw/security/advisories/GHSA-hhjv-jq77-cmvx

Code Behaviors & Features

Detect and mitigate GHSA-hhjv-jq77-cmvx with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.6.2

Fixed versions

  • 0.6.2

Solution

Upgrade to version 0.6.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

cargo/zeptoclaw/GHSA-hhjv-jq77-cmvx.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 05 Mar 2026 19:05:39 +0000.